dotnet --list-sdks
dotnet new webapi --no-https
dotnet new page -n Counter
dotnet new globaljson --sdk-version 6.0.100 --output FirstProject dotnet new mvc --no-https --output FirstProject --framework net6.0 dotnet new sln -o FirstProject dotnet sln FirstProject add FirstProject
dotnet publish
Publish an ASP.NET Core app to IIS | Microsoft Learn
dotnet publish --configuration Release
deploy to fedora
Install .NET on Fedora - .NET | Microsoft Learn
install sdk and runtime
sudo dnf install dotnet-sdk-7.0
sudo dnf install aspnetcore-runtime-7.0
check runtime
dotnet --list-sdks
dotnet --list-runtimes
标签:commands,--,FirstProject,dotnet,new,NET,sdk
From: https://www.cnblogs.com/zyip/p/17305122.html