asp.net-mvc - ASP.NET MVC 无法在 Windows Azure 上部署

标签 asp.net-mvc azure cloud

我正在尝试将 ASP.NET MVC 3.0 应用程序上传到 Windows Azure。上传正常,但配置(上传后自动操作)失败。

有什么想法吗? (我是 Windows Azure 新手)

enter image description here

enter image description here

最佳答案

在新门户中,您必须明确选中一个复选框以允许部署少于两个实例:

enter image description here

绝对没有义务使用 2 个实例。仅当您有 2 个或更多实例时,SLA 才会生效。我拥有 1 个实例的生产角色,并且我很高兴使用 Windows Azure 服务。

更新

刚刚注意到第一个答案的“链接资源”评论。所以这也是我的 2 美分:链接资源功能只是我们开发人员快速概述我们的应用程序并在组件之间快速导航的一种方式。与我们应用程序的配置文件无关。您可以像平常处理常规应用程序一样设置 Windows Azure SQL 数据库连接字符串 - 在 web.config (web.release.config) 中

关于asp.net-mvc - ASP.NET MVC 无法在 Windows Azure 上部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11559364/

相关文章:

c# - 从 vm azure c# 分离磁盘

cloud - 顾客值(value)选择

spring - Spring Cloud 合约gradle每次都运行测试

android - 设备重新联机后,Google 云消息传递 (GCM) 无法传送

c# - 升级 ASP.NET MVC 2 项目后,如何在 System.Web.dll 中查找 StackOverflowException 的原因?

asp.net-mvc - WebGrid中具有模型IEnumerable <T>和T.boolValue的CheckBoxFor

jquery - 如果在 ASP.NET MVC 中不使用 cassini 进行 jQuery 帖子,则无法成功发布

c# - 如何 "BindTo"Kendo Grid 自动完成到 Razor MVC 模型列表

azure - AppServices 不允许设置名称中包含 ":",但 linux 环境变量需要使用 0x104567910

azure - 使用 Azure Key Vault 证书解密返回错误