我正在使用實體框架和天藍色,我在使用實體框架的項目中使用方法的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