From the course: Exploring Performance and Scale with Data Options in Azure

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Data migrations and SQL Azure

Data migrations and SQL Azure - Azure Tutorial

From the course: Exploring Performance and Scale with Data Options in Azure

Start my 1-month free trial

Data migrations and SQL Azure

- [Instructor] Now that we have explained how you can use Entity framework and data migrations to be able to create the Chores, let's talk about publishing it into SQL Azure. And, in this case, what we want to do is take a look at how this thing ran. First of all our connection string, in appsettings, is running against my local database, using a local database file name. I need to connect it up to my application in the cloud. Fortunately, when I deploy this into Azure, if I go to the portal and I look at the app service, that we deploy this into, under the configuration you'll see that the template automatically created connection strings for me. And I can see that my connection string here is going to go to my DadApp, which is the database server that got created. I also have Cosmos and Azure storage connection strings pre-defined in this as well. But, in order to use that, I need to be able to apply my migrations across…

Contents