How to setup IIS Express from a script the way Visual Studio does it? -


when configure web application run in iis express there things vs does, like:

  1. creating application host configuration file in iisexpress subfolder of user documents folder.
  2. creating dedicated site section each web application in solution, including ours.

maybe more things done, unaware of.

i replicate same process script, running web application script equivalent running vs. including first time.

right start iisexpress /port , /path flags, because how used run cassini. however, cassini supported additional flag - /vpath. removed iisexpress, meaning have use set of flags - /config, /site, /siteid. suspect must done in conjunction appcmd.exe utility.

this second approach still haven't managed master. so, question - suppose given port, path , vpath of web application (i.e. no need read them web application's csproj file, vs does). command sets right application host configuration file , how run iisexpress take advantage of it?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -