Setting Up the .NET SDK, CLI, and Angular Workspace
A solid engineering workflow begins with a clean, automated development environment. Let's set up the required SDKs and folder structure.
1. Prerequisites Installation
- .NET 8/9 SDK: Download from
dotnet.microsoft.com. - Node.js (LTS v20+): Download from
nodejs.org. - Angular CLI: Install globally via npm:
npm install -g @angular/cli@latest
Verify your installations:
dotnet --version
node --version
ng version
2. Creating the Solution Structure
# Create root solution folder
mkdir EnterpriseFullstack
cd EnterpriseFullstack
# Create .NET Solution file
dotnet new sln -n EnterpriseFullstack
# Create backend Web API project
dotnet new webapi -n EnterpriseFullstack.API -controllers
dotnet sln add EnterpriseFullstack.API/EnterpriseFullstack.API.csproj
# Create class libraries for clean architecture
dotnet new classlib -n EnterpriseFullstack.Core
dotnet new classlib -n EnterpriseFullstack.Infrastructure
dotnet sln add EnterpriseFullstack.Core/EnterpriseFullstack.Core.csproj
dotnet sln add EnterpriseFullstack.Infrastructure/EnterpriseFullstack.Infrastructure.csproj
# Create Angular standalone application in client/
ng new client --routing --style=css --ssr=false --standalone

