发新话题
打印

[转载]ASP.Net 2.0安全及运行教程

[转载]ASP.Net 2.0安全及运行教程

原始连接:http://blogs.msdn.com/david.wang ... 0_Side_by_Side.aspx

Question:
how do you setup asp.net 2 along side with asp.net 1.1 in Windows 2003/IIS6? do i need sdk or redistributable package?

Answer:
The Redistributable package allows you to run .Net applications. The SDK just contains additional tools (like ILDASM, SN), samples, documentation, etc necessary for a developer to fully develop with .Net.

Since it sounds like you just want to run different versions of ASP.Net side by side, you just need to:

Download the .Net Framework Redistributable Package from: http://msdn.microsoft.com/netfra ... pdates/default.aspx
Install it on Windows Server 2003
ASP.Net 2.0 will automatically be set up as the default.

Since you cannot load multiple versions of the CLR into the same process, you cannot run applications of different ASP.Net versions in the same Application Pool. For IIS6 in Worker Process Isolation Mode, this means that you must:

Create different Application Pools, one for ASP.Net 1.1 and another for ASP.Net 2.0
Configure your ASP.Net application to use either Application Pool as appropriate
Configure the IIS Scriptmaps of that application to either point to ASP.Net 1.1 ISAPI or ASP.Net 2.0 ISAPI
ASPNET_REGIIS.EXE of .Net Framework 2.0 has several options that you want to explore concerning versioning of .Net applications and appropriate configuration of IIS Scriptmaps. You probably want to head to http://www.asp.net for more community information, or read this topic on MSDN
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

发新话题