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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With