问题
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 any one provide a step by step guide how to published to azure and what tools to download from azure management portal. Thanks.
回答1:
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.
回答2:
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/)
来源:https://stackoverflow.com/questions/27376520/how-to-publish-a-website-with-sql-local-db-database-to-azure-using-visual-studio