[英]Web application running in different application pool - how to access website resources
For one of the NPO's that I am designing my application for, there is also a website which is not designed by me. 对于我要为其设计应用程序的NPO之一,还有一个不是我设计的网站。 The website consists of static HTML pages, where as my application (Blood Donor Management System) is designed in ASP.Net MVC.
该网站包含静态HTML页面,在ASP.Net MVC中设计了我的应用程序(献血者管理系统)。 The Blood Donor Management System will be running in a separate application pool.
献血者管理系统将在单独的应用程序池中运行。 Here is how the Site will be organized.
这是网站的组织方式。
IisServer IisServer
----NPO WebSite(root) ---- NPO网站(根)
---------Blood Donor Management System (root/MyAppPath) ---------献血者管理系统(root / MyAppPath)
----Other Websites (not belonging to my NPO). ----其他网站(不属于我的NPO)。
The Blood Donor Management System is a back office application for most of its part. 献血者管理系统大部分是后台应用程序。 The only part that will be exposed to public is the Registration of Blood Donors and viewing their profiles.
公开露面的唯一部分是献血者注册和查看其个人资料。 I am not sure about the following
我不确定以下内容
I suggest you combine your MVC application into one, and use Areas
to separate them and still able to utilize shared resources. 我建议您将MVC应用程序合并为一个,并使用
Areas
将它们分开,并且仍然能够利用共享资源。
Walkthrough: Organizing an ASP.NET MVC Application using Areas 演练:使用区域组织ASP.NET MVC应用程序
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.