Sunday, 30 December 2012 13:55

running application under local IIS server from Visual studio

Written by 
Rate this item
(0 votes)

when you run asp.net application project from visual
studio,visual studio uses their development server.
It's not the right way to develop asp.net appication.

there are many lackings and fault in visual studio
development server than production web server.so when
you publish your application to production web server
you may experience problems.to overcome this
problem you should use local IIS web server instead
VS development server.I show here how -

1.go to project menu and click project properties

2.then go to server section of web tab

3.select the radio button - use local IIS web server.
you will see generated project url.click on
create virtual directory,which creates a virtual
directory in your IIS server to run your application.

4.then press ctrl+s to save settings.

now when you debug your project it will run under
local IIS server.

Read 2855 times
Super User

Email This email address is being protected from spambots. You need JavaScript enabled to view it.

Latest discussions

  • No posts to display.