【发布时间】:2016-07-27 14:29:57
【问题描述】:
一般情况下,注册会员连接时默认连接。但我的数据库在 Azure 中。如何连接到 SQL Azure?我试图改变连接字符串,像这样
<add name="DefaultConnection" connectionString="data source=[azuresercername].database.windows.net;initial catalog=[azuredatabasename];user id=[userid];password=[userpassword];" providerName="System.Data.EntityClient"/>
失败了。所以想问问怎么解决。请。谢谢。
【问题讨论】:
标签: c# asp.net entity-framework azure azure-sql-database