应用程序池究竟是什么?它的目的是什么?
当前回答
An application pool is like a pond, if I create 2 application pools, first application pool has 100 fishes and another application pool has 200 fishes, here fish is like an application in application pool. They are managed by worker processes. Best advantage is: if pond number-1 has bad water and cases all fish are effected then there is security of fish in pond number-2. Like this if any application pool is affected by any problem but there is not any effect of this problem in application pool 2 so security improves, and another benefit is that is you provide all the necessary authentication and rights to all applications in a single application pool.
其他回答
应用程序池用于分离共享相同配置的IIS工作进程集。 应用程序池使我们能够隔离我们的web应用程序,以获得更好的安全性、可靠性和可用性
假设游泳者在预留给他们的游泳池游泳。如果游泳者游到为他们预留的区域之外会发生什么,整个事情会变得一团糟。类似地,iis使用应用程序池将一个进程与另一个进程分开。
应用程序池是使用IIS (w3wp.exe)相同工作进程的应用程序的集合。使用应用程序池的主要目的是隔离具有不同安全问题的两个不同应用程序,并避免由于工作进程死亡而导致应用程序崩溃。
应用程序池为应用程序提供隔离。并且提高应用程序的可用性,因为每个应用程序池都在自己的进程中运行,所以一个应用程序中的错误不会导致其他应用程序池。我们有一个共享池,在它下面运行多个web应用程序,还有一个专用池,在它上面运行单个应用程序。
应用程序池是由一个或多个url组成的一组,由一个或一组工作进程提供服务。应用程序池用于分离共享相同配置和应用程序边界的IIS工作进程集。
推荐文章
- 无法在Windows 8的IIS中提供WCF服务
- 如何在iis7应用程序池中设置。net Framework 4.5版本
- 如何修改标签文本?
- 我如何使用IValidatableObject?
- ASP。NET身份的默认密码散列器-它是如何工作的,它是安全的?
- 拒绝访问该路径
- Visual Studio - Resx文件默认“内部”为“公共”
- 用c#解析JSON
- ASP是什么?NET Identity的IUserSecurityStampStore<TUser>接口?
- ASP。网网络。config: configSource vs.文件属性
- 在Linq中转换int到字符串到实体的问题
- <system. >之间的差异。web>和<system.webServer>?
- 为什么ASP。NET web表单需要Runat="Server"属性吗?
- 使用不同的Web。在开发和生产环境中进行配置
- 我如何添加双引号的字符串,是在一个变量?