Part 1: Environment Setup
Before we start coding, we need to install the necessary tools on your computer.
The .NET SDK is the toolkit that allows you to build C# applications.
Download: Go to dotnet.microsoft.com/download
Install: .NET 8.0 SDK (not the Runtime β you need the SDK)
Verify: Open PowerShell and run:
You should see 8.0.0 or higher.
For this guide, we'll use SQL Server Developer Edition (free and full-featured).
Download: https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Install: Choose Developer Edition, accept defaults. When prompted for features, ensure:
- Database Engine (selected by default)
- SQL Server Management Studio (SSMS)
After Installation:
- Open SSMS
- Connect to your local SQL Server (Server name: typically
(localdb)\MSSQLLocalDBorYOUR_COMPUTER_NAME) - Verify you can see "Databases" folder in Object Explorer
If you see this, SQL Server is ready.
Download: https://visualstudio.microsoft.com/
Install: Community Edition (free)
Workload Selection: When prompted, select:
- β ASP.NET and web development
- β .NET development (optional, but recommended)
After Installation:
- Launch Visual Studio
- Skip the sign-in (or sign in if you prefer)
- You're ready to create projects