简体   繁体   English

Windows Server 2008是否支持.net 1.1

[英]Is .net 1.1 supported on Windows Server 2008

We're having an issue. 我们遇到了问题。

We have the majority of our code written in .net 1.1 (including asp.net). 我们的大多数代码都是用.net 1.1(包括asp.net)编写的。

We're told that Microsoft do not support .net 1.1 on Windows Server 2008. 我们被告知,Microsoft在Windows Server 2008上不支持.net 1.1。

The bit we're really confused on is that it's apparently it's only Asp.Net 1.1 that isn't supported on Server 2008. 我们真正感到困惑的一点是,Server 2008不支持仅Asp.Net 1.1。

Our question is, what signifies Asp.net 1.1 is it just the System.Web namespace? 我们的问题是,什么表示Asp.net 1.1仅仅是System.Web命名空间?

We'd like to get onto Server 2008 (well IIS7 really) asap and if we only have to re-write the Asp.net stuff and not all our business layer and data access layer it'd be much easier. 我们希望尽快使用Server 2008(确实是IIS7),如果我们只需要重写Asp.net内容,而不是全部重写我们的业务层和数据访问层,那就容易多了。

It can be done as described in this article . 可以按照本文中的描述进行操作。 But, there are not that many breaking changes to migrate to 2.0 and beyond. 但是,要迁移到2.0及更高版本并没有太多重大更改

ASP.net 1.1 is not configured out of the box, but it can be done. ASP.net 1.1并非开箱即用地配置,但是可以做到。 Its really an IIS7 thing, not so much of a Windows Server 2008 thing. 它确实是IIS7,而不是Windows Server 2008。

Here is an article about how to configure it: http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx 这是有关如何配置它的文章: http : //blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and- Windows-2008.aspx

As far as upgrading to 2.0. 至于升级到2.0。 It all depends on you code and if you used any features that have been depreciated. 这完全取决于您的代码以及是否使用了已贬值的功能。 If you were developingin VS2003, opening the projects in VS2008 can converrt it, and then you can easily target .net fx 2.0. 如果您在VS2003中进行开发,则在VS2008中打开项目可以将其转换,然后可以轻松地将.net fx 2.0作为目标。 Most issues will be seen at compile time. 大多数问题将在编译时看到。 Most changes are trivial, and can be changed in a few lines of code. 大多数更改都是微不足道的,可以在几行代码中进行更改。 There are also web.config changes that you may need. 您可能还需要更改web.config。

We're running ASP.NET 1.1 applications on Windows Server 2008, so it's certainly possible. 我们正在Windows Server 2008上运行ASP.NET 1.1应用程序,因此这肯定是可能的。 I believe you just need to install .NET 1.1 manually, but I can't give details as I didn't handle that. 我相信您只需要手动安装.NET 1.1,但由于无法处理,因此我无法提供详细信息。

Why do you think you're going to have to rewrite anything? 为什么您认为必须重写任何内容? It's pretty much just "convert and test". 它几乎只是“转换并测试”。


.NET 1.1 Redistributable Package : .NET 1.1可再发行组件包

ASP.NET is supported only on the following platforms: Microsoft Windows 2000 Professional (Service Pack 3 recommended), Microsoft Windows 2000 Server (Service Pack 3 recommended), Microsoft Windows XP Professional, and Microsoft Windows Server 2003 family. 仅在以下平台上支持ASP.NET:Microsoft Windows 2000 Professional(建议使用Service Pack 3),Microsoft Windows 2000 Server(建议使用Service Pack 3),Microsoft Windows XP Professional和Microsoft Windows Server 2003家族。

Unfortunately, sometimes, its not just a "convert and test". 不幸的是,有时,它不仅是“转换和测试”。 For example, we have a "legacy" .NET 1.1 app that uses Web Service Enhancements 1.0 (WSE 1.0). 例如,我们有一个使用Web Service Enhancements 1.0(WSE 1.0)的“旧版” .NET 1.1应用程序。 WSE 1.0 is not supported in .NET 2.0 and above. .NET 2.0及更高版本不支持WSE 1.0。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM