Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Answers


  1. We'd have to manually configure the database server firewall to allow our services to access the database.

  2. With this technique, we can create our database (or use an existing database) in a tool such as SQL Management Studio using SQL scripts or the designer, then in Visual Studio, we can create an ADO.NET EDM to create entities and map them to existing tables.

  3. The Navigation properties allow us to access related entities through a given entity. We use the virtual modifier on navigation properties.

  4. It extends a normal DbContext with access to the ASP.NET authentication users and roles tables.

  5. Add a navigation property to our user entity in the ApplicationUser entity.

  6. Enter the enable-migrations cmdlet in the NuGet package manager console.

  7. Use the add-migration command with a label to indicate the model change, which will create a new migration with the differences from the previous migration.

  8. update-database.

  9. Azure SQL Server only has Database and Security options, which are a limited subset...