Skip to main content
Display Name's user avatar
Display Name's user avatar
Display Name's user avatar
Display Name
  • Member for 14 years, 2 months
  • Last seen more than 1 year ago
Stats
1,945
reputation
639k
reached
0
answers
33
questions
Loading…
About

NET:

  • dotnet --version or dotnet --info
  • dotnet tool list -g
  • dotnet tool install dotnet-ef -g
  • dotnet tool update dotnet-ef -g
  • dotnet tool uninstall dotnet-ef -g

EFCore:

  • dotnet ef migrations add <label> -p <projname>
  • dotnet ef database update -p <projname>
  • dotnet ef database drop -p <projname>

Solution and Projects:

  • mkdir <dirname>
    cd <dirname>
    dotnet new sln
    
  • dotnet new webapi -o <projname>
    dotnet sln add <projname>
    
  • cd <projname>
    dotnet run
    dotnet watch run
    
  • dotnet add <projname> package <Nugetpkg>
  • dotnet add <projname> reference <otherprojname>

Certificate:

  • dotnet dev-certs https --trust
  • dotnet dev-certs https --clean

Node, Npm, Angular:

  • node -v
  • npm -v
  • npm list -g --depth 0
  • npm update -g
  • npm install @angular/cli -g
  • npm update @angular/cli -g
  • npm uninstall @angular/cli -g
  • ng version instead of ng --version
  • ng new <projname> --routing true --style css --skip-git --skip-tests
  • ng g c <compname>
  • ng g class subdir/<classname> --type=model --skip-tests
  • ng serve --open
    ng serve --port <number> --open
    
  • ng add @angular/material
  • ng build --prod
  • npm install now -g
    cd dist/<projname>
    now
    
5
gold badges
25
silver badges
39
bronze badges
0
Score
10
Posts
30
Posts %
0
Score
10
Posts
30
Posts %
0
Score
9
Posts
27
Posts %
0
Score
4
Posts
12
Posts %
0
Score
3
Posts
9
Posts %
0
Score
3
Posts
9
Posts %
Top posts
View all questions and answers