.NET CLI — Build C# & ASP.NET Apps from Terminal
.NET CLI lets you create, build, test, and publish .NET applications without Visual Studio:
Create & Run a Web API:
```cmd
dotnet new webapi -n NexerAPI --use-controllers
cd NexerAPI
dotnet run
`
Essential dotnet Commands:
```cmd
dotnet new list # List all project templates
dotnet new webapi -n MyApi # Create Web API
dotnet new console -n MyCLI # Create console app
dotnet run # Build & run
dotnet build # Build only
dotnet test # Run tests
dotnet publish -c Release # Publish for deployment
dotnet add package PackageName # Add NuGet package
dotnet restore # Restore packages
`
Full Stack with .NET + React:
```cmd
dotnet new react -n FullStackApp
cd FullStackApp
dotnet run
`
Opens both the .NET backend AND React frontend together! 🚀
.NET is used by Microsoft, Stack Overflow, and thousands of enterprise apps worldwide! 💜
