dotnet new sln -n [YourSolutionName]
dotnet sln add [yourProjectName]\[yourProjectName].csproj
dotnet new classlib -n [YourProjectName]
dotnet --list-sdks
dotnet new web -h
dotnet new web -o MySimpleWebApp --framework|-f net5.0
dotnet add reference ../../src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.csproj
dotnet add package [PackageName]
Generate a gitignore file from the command line
dotnet new gitignore
You can find the user secrets in following folder: C:\Users\bartv\AppData\Roaming\Microsoft\UserSecrets
dotnet user-secrets init
dotnet user-secrets list
dotnet user-secrets set "AuthorApiKey" "xyz1@3"
dotnet user-secrets remove "AuthorApiKey"
dotnet user-secrets clear
The dotnet dev-certs command manages a self-signed certificate to enable HTTPS use in local web app development. Its main functions are:
- Generating a certificate for use with HTTPS endpoints during development.
- Trusting the generated certificate on the local machine.
- Removing the generated certificate from the local machine.
- Exporting a certificate in various formats so that it can be used by other tools.
- Importing an existing certificate generated by the tool into the local machine.
dotnet dev-certs https --verbose --trust