可以在IIS中为不同的.NET框架托管应用程序 [英] Possibility for hosting application in IIS for different .NET framework

查看:79
本文介绍了可以在IIS中为不同的.NET框架托管应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



假设我创建了正常的asp.net Web应用程序,说它是在3.5 .net框架中开发的,然后我创建了MVC 5应用程序与.Net framework 4.5.2相同的解决方案。



现在我想在同一个域中的IIS7中托管这个应用程序。这可能吗?

我可以运行asp.net&来自同一域的MVC应用程序?请帮助



我尝试过:



看起来像是Visual Studio它工作正常。但是我无法正确测试它。



Suppose i have created normal asp.net web application say it was developed in 3.5 .net framework and then i have created MVC 5 application with in the same solution say with .Net framework 4.5.2.

Now i want to host this application in IIS7 with in the same domain. Is this possible?
can i run both the asp.net & MVC applications from same domain? Please help

What I have tried:

It looks like in Visual Studio it works fine. but i couldn't test it properly.

推荐答案

是的,较新版本的.Net框架仍支持旧版本。只需安装IIS并试用即可。不会有任何问题。



或者,升级你的其他项目以确定。
Yes, the newer versions of .Net framework still support the older versions. Just install IIS and try it out. Won't likely have any problems.

Or, upgrade your other project to be sure.


这篇关于可以在IIS中为不同的.NET框架托管应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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