Index

dotnet

hello world

init hello world console project
dotnet new console
resolve dependencies
dotnet restore
create executable
dotnet build
run executable
dotnet run

new project

create console project
dotnet new console
create rest endpoint project
dotnet new webapi
create class library project
dotnet new classlib
create test project
dotnet new test
add reference to another project
dotnet add reference ..\SuperAwesomeLibrary\SuperAwesomeLibrary.csproj

dependencies

add dependency
dotnet add package Microsoft.ApplicationInsights