Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to deploy an ASP.NET application as desktop application (with server component)

Question: I created an ASP.NET web application.

Now it originally was meant for deployment on a webserver.
That is working, so, so far so good.

My question now is: Is it possible to deploy it as a desktop-application, too?

That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?

I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed.

Is there anything like this already out there ? The nonplusultra would be that it only starts the server when you click on the shortcut.

like image 348
Stefan Steiger Avatar asked Jul 07 '10 20:07

Stefan Steiger


People also ask

Can ASP NET application run without Web Server?

Yes it is possible to run Web application with out web. config file. However, it will not allow user to debug, even if you are running it in debug mode. Yes, we can run Asp.Net application without using Web.

Is .NET good for desktop application?

The purpose of . NET Core is to provide a unified platform for all types of applications, which includes Windows, cross-platform, and mobile applications. . NET Standard enables this by providing shared base APIs, which every application model needs, and excluding any application model-specific API.


1 Answers

I'm not sure, but you could use IIS express, when it will be released. Take a look to ScottGu's post Introducing IIS Express.

like image 112
hemme Avatar answered Sep 22 '22 20:09

hemme