Creating a new website on IIS: Application vs. Virtual Directory. Whats the difference?

后端 未结 3 635
暖寄归人
暖寄归人 2020-12-14 00:31

When you create a new website on IIS, you get to choose between an \"Application\" and a \"Virtual Directory\". What is the difference between those two options?

3条回答
  •  情深已故
    2020-12-14 01:27

    A virtual directory is just a pointer to where web pages are stored.

    An Application reserves memory in IIS for your web pages. If you are attempting to run ASP pages and plan to make use of session variables and the such then you must use an application. An Application can make use of a virtual directory or it may just exist within the default web site directory (inetpub/wwwroot/)

提交回复
热议问题