如何嵌套ASP.NET网站 [英] How to nest ASP.NET websites

查看:118
本文介绍了如何嵌套ASP.NET网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在另一个巢1 ASP.NET网站,例如:

Is it possible to nest one ASP.NET website within another, for example:

http://example.com 是应用程序根目录
http://example.com/differentsite 也是一个应用程序根目录

http://example.com is an application root http://example.com/differentsite is also an application root

如果有可能,我应该在父网站prevent它与子站点干扰的的web.config 文件被卡住?

If it is possible, what should be stuck in the web.config file of the parent website to prevent it interfering with the child site?

注:这是.NET 4.0共享托管IIS7

在此先感谢

推荐答案

是的,你可以嵌套网站通过文件夹的应用程序,或添加指向另一个应用程序的虚拟文件夹。

Yes, you can nest web sites by making folder an application, or adding a virtual folder that points to another application.

您需要访问服务器上的管理IIS做到这一点,虽然。

You need access to manage IIS on the server to do that, though.

这篇关于如何嵌套ASP.NET网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆