How to run ASP.NET web application without VS2010?

Let's say I have an ASP.NET web application that can be run in a web browser by opening this solution in VS 2010 and then going to Debug -> Start without debugging, or by pressing Ctrl + F5.

I was wondering if it is possible to create a link on my desktop to run the same web application, but without starting VS2010? (Let's say just double-clicking a link like this.)


source to share

5 answers

Create a Windows batch file to run ASP.NET Web Development Server

and point it to the root directory of your application.

Here's my .bat file:

"C:\Program Files\Common Files\microsoft shared\DevServer\10.0\WebDev.WebServer40.exe" /path:"E:\NITIN" /vpath:"/MyApp" /port:2510



Yes, expand the site to local IIS



Here is a great article describing how to set up your ASP.NET website in IIS. So it runs outside of the visual studio development environment.



You can upload the website to the hosting server so that the site is accessible from the Internet, or you can set up IIS on your development machine and deploy your site.

Here is a msdn article with various links on how to do this.



You want to run website, then you need to install IIS 6.0 or above on your computer. And want more guidance, then check out this link ..



All Articles