Azure .NET 4.5 支持 [英] Azure .NET 4.5 support

查看:39
本文介绍了Azure .NET 4.5 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我在网上找不到明确的答案,所以我想我会就这个问题向社区提问..NET 4.5 上周已经使用 RTM,并且正在考虑升级我们的产品以使用它.在我们实现这一飞跃之前,我首先需要检查这是否会影响我们产品的任何 Azure 部署(ASP.NET MVC 东西)Azure 平台的最新生产版本是否在其 Web 和辅助角色中支持 .NET 4.5?我知道可以在 VM/角色预热期间使用启动 power shell 脚本安装框架的 RC,但我不希望这个负担给我的应用程序,我只是想知道它是否安全在 Azure 的当前状态下使用 .NET 4.5 和 MVC 4 等?

OK, I can't find a definitive answer on this online so I thought I'd ask the community on this one. .NET 4.5 has gone RTM last week and were looking at upgrading our products to use it. Before we make this leap, I first need to check if this will impact any Azure deployments with our product (ASP.NET MVC stuff) Does the latest production version of the Azure platform support .NET 4.5 in its web and worker roles yet? I'm aware that the RC of the framework could be installed using a startup power shell script during the VM/role warm up but I don't want this burden on my application, I'm just looking to know of its safe to go live with .NET 4.5 and MVC 4 etc... in Azure's current state?

推荐答案

Azure SDK v1.8(2012 年 10 月)可供下载:http://www.microsoft.com/en-us/download/details.aspx?id=35448

The Azure SDK v1.8 (October 2012) is out for download: http://www.microsoft.com/en-us/download/details.aspx?id=35448

支持:.NET 4.5、Windows Server 2012 和 IIS 8.0:http://msdn.microsoft.com/en-us/library/windowsazure/ff683673.aspx#BK_October2012

Supports: .NET 4.5, Windows Server 2012 and IIS 8.0: http://msdn.microsoft.com/en-us/library/windowsazure/ff683673.aspx#BK_October2012

要使用支持 .NET 4.5 的 Windows Server 2012,请将 Azure 角色 .cscfg 文件中的 osFamily="2" 更改为 osFamily="3".

To use Windows Server 2012 which supports .NET 4.5, change osFamily="2" to osFamily="3" in your Azure role .cscfg file.

我昨晚将我的两个站点更新到了 Windows Server 2012/.NET 4.5,它们运行起来非常出色.所以,这就是等待公告的所有 RTM/稳定代码(也许是 BUILD 2012?).如果您使用的是 Windows Server 2012,则需要启用 .NET 3.5 功能以向后兼容 .NET 2.0-.NET 3.5 应用/模块.

I updated my two sites last night to Windows Server 2012/.NET 4.5 and they work like a champ. So, this is all the RTM/stable code just waiting for the announcement (maybe BUILD 2012?). If you are using Windows Server 2012, you need to enable .NET 3.5 features for backward compatibility with .NET 2.0-.NET 3.5 apps/modules.

Edit2:昨天在 BUILD 2012 会议上宣布了 Azure 4.5 支持:) http://channel9.msdn.com

Azure 4.5 support was announced yesterday at the BUILD 2012 conference :) http://channel9.msdn.com

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

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