Commandes
dotnet command
- dotnet run
- dotnet run --configuration Release ( dotnet run -c Release )
- dotnet run -c Release --framework net8.0
- dotnet build
- dotnet clean
- dotnet test
- dotnet tool install -g dotnet-ef
Créer un projet
- dotnet new console -n MonProjet
- dotnet new wpf -n MonProjetWpf
- dotnet new webapi -n MonApi
- dotnet new classlib -n MaLibrairie
- dotnet new mvc -n MonSiteMvc
- dotnet new console -n MonProjet -f net8.0
- dotnet new list
Tester la vulnaribilité des packages
- dotnet restore
- dotnet build
- dotnet test
- dotnet list package --vulnerable
links