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.

Get Learning Microsoft Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.