开发者

What to write in "Web location" field when starting an "New website" in Visual Studio 2010?

开发者 https://www.devze.com 2022-12-29 01:46 出处:网络
I want a website to be deployed automatically to a local IIS (built in Windows XP Pro SP3), avoiding VisualStudio-built-in server if possible. I\'d like development source files to be stored in a proj

I want a website to be deployed automatically to a local IIS (built in Windows XP Pro SP3), avoiding VisualStudio-built-in server if possible. I'd like development source files to be stored in a project folder outside wwwroot (I wouldn't mind built files to be copied to wwwroot eac开发者_如何学运维h time I press F5).

I don't store my projects inside default directories inside "My documents". What should I specify as in "Web location" when starting an "New website" in Visual Studio 2010? A deployment path in wwwroot, a folder where I'd like to save my project, or something else?

I want the website to be a part of a complex solution in VS 2010, also icludinc a class libray project, a WinForms application project, a Windows Service project and a common Entitity Framework data model.


Consider using the Publish option in the Build menu to deploy your files to the actual IIS Server, wherever that is located. Undoubtedly you feel that you have strong reasons for doing it the way you described, but:

  1. There is no practical way to install a current version of IIS on Windows XP
  2. Putting development files directly into the wwwroot directory of an IIS Server makes me nervous
  3. The web server that comes with Visual Studio is good enough for development, and is designed specifically for that purpose.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号