将多个ASP.net应用程序集成到单个应用程序中 [英] Integrate Several ASP.net applications into Single Application
问题描述
你好,我叫Vikas Gohil.
我已经开发了3个ASP.net应用程序,每个都作为IIS中的应用程序安装.
现在,我想将这些应用程序集成到可以从主页访问的单个应用程序中,该页面提供用于选择要登录到哪个应用程序的选项.
我尝试创建一个文件夹并在该文件夹中发布每个应用程序,然后在首页上为每个应用程序的索引页提供路径.
但这给了我与allowDefinition ="MachineToApplication''相关的错误.
谁能指导我该怎么做,任何帮助将不胜感激.
在此先感谢.
Hello, This is Vikas Gohil.
I have developed 3 ASP.net applications each installed as an application in IIS.
Now I want to integrate these applications into a single application that are accessible from home page which gives options for selecting which application to Log into.
I tried creating a folder and publishing each application in that folder and then giving paths for index page of each application on the home page.
but it gives me error related to allowDefinition=''MachineToApplication'' something.
Can anyone please guide me how can i do this, any help would be greatly appreciated.
Thanks in Advance.
推荐答案
由于存在三个Web应用程序,因此我认为这三个Web应用程序具有不同的虚拟目录.
因此,您可以在首页中直接输入这三个Web应用程序的网址
Since there are three web applications and i assume that these three web apps had different virtual directories.
So you can directly enter the url of these three web applications in you home page
Ex.
<a href="http://Mycomputername/Webapp1/home.aspx" runat="server" />
<a href="http://Mycomputername/Webapp2/home.aspx" runat="server" />
<a href="http://Mycomputername/Webapp3/home.aspx" runat="server" />
这篇关于将多个ASP.net应用程序集成到单个应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!