SQL Azure EF Database First Connection String in Azure Management Portal

后端 未结 1 1685
天命终不由人
天命终不由人 2020-12-20 16:26

I have a site running n Azure, which uses EF Database First model.

If I embed the connection string in the web.config and deploy all is rosy.



        
相关标签:
1条回答
  • 2020-12-20 17:28

    The problem is not the connection string, but the inability to specify the providerName from the portal.

    Try publishing with a local or dummy connection string in place, and overwriting it as you have in the Azure Application Settings. See this answer: https://stackoverflow.com/a/18964294/94853

    0 讨论(0)
提交回复
热议问题