A Blazor Server application built on the Northwind starter template, using ASP.NET Core (.NET 10) and Entity Framework Core. It includes customer, employee, order, product, and reporting features, and seeds its data automatically from CSV files on startup.
| Requirement | Version |
|---|---|
| Visual Studio | 2022 v17.x or later |
| .NET SDK | 10.0 or later |
| (Optional) SQL Server | Any edition — only needed if you want a persistent database |
Note: The app works out of the box with an In-Memory database. No SQL Server installation is required for a quick run.
- Launch Visual Studio 2022.
- Select File → Open → Project/Solution.
- Browse to the cloned/downloaded folder and open
VELODemo.sln.
Visual Studio restores packages automatically when the solution loads. If it does not, right-click the solution in Solution Explorer and choose Restore NuGet Packages.
By default the app uses an In-Memory database that is seeded from the CSV files in Data/. If you prefer a persistent SQL Server database:
- Open
Generated_northwindstarteredit-.../appsettings.json. - Fill in the
DefaultConnectionstring:
"ConnectionStrings": {
"DefaultConnection": "Server=YOUR_SERVER;Database=NorthwindDemo;Trusted_Connection=True;TrustServerCertificate=True;"
}- Open the Package Manager Console (Tools → NuGet Package Manager → Package Manager Console) and run:
Update-DatabaseIn Solution Explorer, right-click the project Generated_northwindstarteredit-... and select Set as Startup Project.
Press F5 (Debug) or Ctrl+F5 (Run without debugging).
Visual Studio will build the project, start the Kestrel server, and open a browser automatically.
| Profile | URL |
|---|---|
| HTTP | http://localhost:5267 |
| HTTPS | https://localhost:7193 |
On the first startup the application automatically seeds all tables from the CSV files located in the Data/ folder. No manual database setup is needed when using the In-Memory provider.
VELODemo.sln
└── Generated_northwindstarteredit-.../
├── Components/ # Blazor pages, layouts, and forms
├── Data/ # CSV seed files
├── Models/ # EF Core entity models
├── Services/ # Business logic and data-access services
├── Helpers/ # App-wide constants
├── wwwroot/ # Static assets
├── appsettings.json # App configuration (connection string goes here)
└── Program.cs # Application entry point and DI registration
- Build errors after pulling updates — Run Build → Clean Solution, then Build → Rebuild Solution.
- Port already in use — Change the port in
Properties/launchSettings.jsonunderapplicationUrl. - Data not showing — Ensure the CSV files in
Data/are set to Copy to Output Directory: Always (they are by default in the.csproj).