Two websites with single application pool to share resources

大城市里の小女人 提交于 2019-12-06 05:06:18
Ken Henderson

A quick google search turned up this related question IIS App Pools & Static Classes with the answer that the two web sites will still be in different AppDomains and will not share Static instances.

If you need to share data between your web applications you would be better served by setting up a shared database/service for the two web sites to communicate via. This would also better adhere to best practices.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!