我正在使用实体框架和天蓝色,我在使用实体框架的项目中使用方法的Web角色中获得了WCF ..似乎我我将连接字符串在错误的文件或我错误地定义它。它是如下:在应用程序配置文件中找不到名为“thenameofmyconnection”的连接字符串
<connectionStrings>
<!-- Windows Azure SQL Database Connection String -->
<add name="AMTEntitiesContainer"
connectionString="here goes my connection string"
providerName="System.Data.EntityClient" />
</connectionStrings>
这是我的app.config文件在里面我的实体图书馆project..should它去成我的webrole的配置?或者它应该进入我的WCF服务?
app.config文件应位于与正在使用它的可执行文件相同的目录中。 – 2013-04-05 14:57:30