Core Commands:

dotnet new Creates a new project, solution, or configuration file based on a specified template.
      →dotnet new console Creates a new console application.
      →dotnet new webapi Creates a new ASP.NET Core Web API project.
      →dotnet new sln Creates a new solution file.

dotnet restore: Restores the dependencies of a project. This command downloads the necessary NuGet packages.
dotnet build: Builds a project and its dependencies into an executable or library.
dotnet run: Builds and runs the application. This is useful for quick testing during development.
dotnet publish: Publishes the application and its dependencies to a folder for deployment.
dotnet test: Runs tests in the specified project.
dotnet add package: Adds a NuGet package reference to a project.
      →dotnet add package Newtonsoft.Json
dotnet remove package: Removes a NuGet package reference from a project.
dotnet add reference: Adds a project-to-project reference.
dotnet remove reference: Removes a project-to-project reference.
dotnet clean: Cleans the build output of a project.
dotnet pack: Creates a NuGet package from a project.
dotnet tool install: Installs a .NET global or local tool.
dotnet tool uninstall: Uninstalls a .NET global or local tool.
dotnet tool update: Updates a .NET global or local tool.
dotnet --info: Displays information about the .NET SDKs and runtimes installed on the system, along with other environment details. 


Common Options:
-o|--output <PATH>: Specifies the output directory for build, publish, or other commands.
-f|--framework <FRAMEWORK>: Specifies the target framework for the command (e.g., net8.0).
-c|--configuration <CONFIGURATION>: Specifies the build configuration (e.g., Debug or Release).
--no-restore: Prevents an implicit dotnet restore during commands like build or run.
--no-build: Prevents an implicit dotnet build during commands like run or publish.