添加独立ASP.Net应用程序到现有的ASP.Net网站 [英] Add Standalone ASP.Net Application Into Existing ASP.Net Website

查看:129
本文介绍了添加独立ASP.Net应用程序到现有的ASP.Net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我给大家一个奇怪的问题。我目前正在为一个具有现有ASP.Net网站,他们已经失去了所有的源$ C ​​$ C为公司的项目。我需要一些功能添加到网站,但他们都不愿意,现在要支付网站进行重新设计。

I have a weird question for everyone. I am currently working on a project for a company that has an existing ASP.Net website that they have lost all source code for. I need to add some functionality to the site but they are not willing to pay for a site redesign right now.

我可以部署我的web应用程序到他们的网站的子目录,并妥善有它的功能?我必须这样做,因为我需要把它们连接到现有的网站的SSL证书的优势(遗憾的是它不是一个通配符证书)。

Can I deploy my web application to a subdirectory of their website and have it function properly? I have to do this because I need to take advantage of the SSL certificate they have attached to the existing website (unfortunately it is not a wildcard cert).

他们正在运行Windows Server 2008 SR2与IIS 7.5。目前ASP.Net网站使用窗体身份验证。我的web应用程序也使用窗体身份验证。

They are running Windows Server 2008 SR2 with IIS 7.5. The current ASP.Net website uses forms authentication. My web app also uses forms authentication.

这是可行的?我从来没有碰见它,不知道答案。在此先感谢您的帮助。

Is this doable? I have never ran into it and don't know the answer. Thanks in advance for your help.

推荐答案

您可以在网站的根目录下创建子文件夹,然后进入IIS管理器,选择文件夹,右键单击它,然后单击转换为应用程序。这将允许您为文件夹创建一个单独的应用程序,这样,这将是由IIS分别处理。您可以在同一应用程序池作为根网站新的应用程序别名,但你也可以的情况下,运行在一个完全不同的/新应用程序池,你希望它在不同的.NET版本上运行。

You can create a sub-folder under the root of the website, then go into IIS Manager, select that folder, right click on it and then click Convert to application. This will allow you to create a separate application for that folder so that it will be treated separately by IIS. You can create a new application alias in the same application pool as the root website but you can also run it in a totally different / new application pool in case you want it to run under a different .NET version.

这篇关于添加独立ASP.Net应用程序到现有的ASP.Net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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