Developing for SQL Azure offline

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 11:01:17

The Azure SDK includes local versions of the various services so you can work offline from the start. SQL Azure is essentially SQL Server with some limitations, so you can program against a local version of SQL Server Express.

You only need a connection when you have to deploy your application to Azure.

If you check the "Getting Started" tutorial, you'll see that development is done against localhost. The site is deployed to Azure only when you select "Publish Web Site".

An even better tutorial is "Deploy a Secure ASP.NET MVC app with Membership, OAuth, and SQL Database to a Windows Azure Web Site" which includes publishing a database to Azure.

In the "Create a Data Deployment Script" section, the tutorial uses the instance of SQL Server Express installed on the local machine.

I think it needs repeating, SQL Azure is NOT a special database that has to be installed locally. It is actually SQL Server which means you can right the exact same code and use the same tools for SQL Server and SQL Azure.

You can simply use SQL Server Express to create programs that work with SQL Azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!