gitignore dotnet razor pages code example Example: gitignore dotnet mvc # same command for all dotnet applications dotnet new gitignore