Create a resource group in Azure to hold all of the resources you'll be creating:
- Virtual Network
- Virtual Machines
- Don't use 172.* IPs. I used 10.3.0.0/24
| <# | |
| .SYNOPSIS | |
| Install/Upgrade Docker EE (Windows Server). | |
| .DESCRIPTION | |
| This script checks the official Docker EE (for Windows Server) repository and | |
| detects the latest version available to download and install. It also compares | |
| with the version currently installed on the Docker host (WinServer) and asks | |
| you if you wish to proceed or not. |
| using Microsoft.AspNetCore.Identity; | |
| using Microsoft.AspNetCore.Identity.EntityFrameworkCore; | |
| using System.Linq; | |
| namespace My.App.Data | |
| { | |
| public class DbInitializer : IDbInitializer | |
| { | |
| private readonly ApplicationDbContext _context; | |
| private readonly UserManager<ApplicationUser> _userManager; |