How to publish a website with sql local db database to azure using visual studio 2013

后端 未结 2 1584
鱼传尺愫
鱼传尺愫 2021-01-14 04:28

I have my website up and running on local server I want to published it to azure. I searched a lot but unable to do so however succeeded in publishing without database.Can a

相关标签:
2条回答
  • 2021-01-14 04:43

    You can't use localdb with Azure Websites.

    That said, you can use localdb for development, but change the connection string on deployment to use some other database, such as SQL Azure (see http://azure.microsoft.com/blog/2013/07/17/windows-azure-web-sites-how-application-strings-and-connection-strings-work/)

    0 讨论(0)
  • 2021-01-14 05:03

    Try this http://www.asp.net/mvc/overview/getting-started/database-first-development/publish-to-azure and let us know if you need more help. You will just need Visual Studio 2013.

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