【发布时间】:2014-04-09 11:25:36
【问题描述】:
是否可以使用 azure storage 和 azure sql 发布网站?我不想要云应用。
我在我的网站的 webconfig 中获得了连接字符串,它似乎也保存了我的 sql 数据库的连接字符串,但 azure 存储没有任何内容(?)
当我没有 webrole 时,如何使用 azure 存储发布?
我的网站已将资源与 SQL 和存储链接。
谢谢
【问题讨论】:
-
不清楚你在问什么。是否要将网站发布到不与 SQL Server 集成而仅与 Azure 表存储集成的 azure?
-
我想将 mvc 项目发布为使用 azure storage/sql 的网站,而不是 cloudapp。这是我的 webconfig 中的连接字符串:
-
我还在 appsettings 中添加了一个键:
这里是 cloudStorageaccount CloudStorageAccount storageAccount = CloudStorageAccount.Parse( RoleEnvironment.GetConfigurationSettingValue("StorageConnectionString")); -
@user3276084 - 请使用任何其他信息编辑您的问题;不要以 cmets 的身份发帖。