forked from MSFTJim/Blaz8Auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.azcli
38 lines (23 loc) · 979 Bytes
/
commands.azcli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dotnet new blazor -int Server -au Individual -o B9Auth1
dotnet new blazor -int Server -au None -o B8Auth2
dotnet package add Microsoft.AspNetCore.Authentication
dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount --version 8.0.8
dotnet tool update -g linux-dev-certs
dotnet linux-dev-certs install
dotnet dev-certs https --trust
dotnet tool install -g dotnet-ef
dotnet ef migrations add InitialAzureSQLDB2
# need public on these fields - properties
# public class ApplicationUser : IdentityUser
# {
# public bool IsPremium { get; set; }
# public bool IsAdmin { get; set; }
# }
dotnet ef migrations add CleanDB
dotnet ef database update
dotnet ef migrations add AddApplicationUsers5 --output-dir Data/Migrations
dotnet ef dbcontext list
sudo apt install sqlite3
dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 8.0.8
dotnet new sln -n B8Auth1
dotnet sln B8Auth1.sln add B8Auth1/B8Auth1.csproj