The following are the standard steps for starting an MVC 4 site through iisexpress in the cmd line.
- Register your site through Visual Studio
- Then run the following code "iisexpress / site: [SiteName]"
In our situation, there are several versions of the same MVC 4 site. If I need to switch between different versions. Every time I open VS and register a site, start it from cmdline. It should be easier there, for example, to work without registration.
I found we can use the following cmd line
iisexpress /path:[Site folder] /port:[portnumber]
But accessing the site via browser I get HTTP 500 response.
Am I missing something.
Obaid source
share