[英]IIS creating two instances of code running in Visual Studio
When you run your website from Visual Studio in debug mode, a browser will open "localhost:55471" and IIS express will host the site on your local machine. 当您从Visual Studio以调试模式运行网站时,浏览器将打开“ localhost:55471”,而IIS express将在您的本地计算机上托管该网站。 If you open a second browser and navigate to the same address "localhost:55471" will IIS express create a second instance of the code running in Visual Studio (kind of like how a regular IIS runs on the server) or will it use the same instance and not create the second instance resulting in only one session for both browsers? 如果打开第二个浏览器并导航到相同的地址“ localhost:55471”,则IIS Express将创建在Visual Studio中运行的代码的第二个实例(类似于常规IIS在服务器上运行的方式),或者将使用相同的实例。实例,而不创建第二个实例,导致两个浏览器只有一个会话?
Both IIS and IIS Express will serve all requests from the same AppDomain. IIS和IIS Express都将处理来自同一AppDomain的所有请求。
Note, however, that this AppDomain can be recycled at any time. 但是请注意,此AppDomain可以随时回收。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.