Claude Code .NET app with unit tests, comments & prompts
Download an AI generated .NET application using Claude Code. It features projects, unit tests, comments as well as the specs and plans used.
You can learn more about why AI is better at these .NET tasks than developers, or watch the video:
Download the code example
You'll need to fill out the code example form. We will send you an email where you can download the code example.
Software
This is the software that will need to be installed onto your machine.
Visual Studio 2026. Version 18.0.0 or above. It will work with the free community version.
.NET 10 SDK. Version 10.0.0 or above.
Import the database
This application integrates with a SQL Server database. Inside the Database folder, there is RoundTheCode_Ecommerce.bacpac and RoundTheCode_Ecommerce.bak. Use either of these database backups to import the database to your local SQL Server database server.
The application
Inside Application/Web/Api/appsettings.Development.json, find ConnectionStrings:EcommerceDbContextand point the connection string to your imported database.
Open up RoundTheCode.ECommerce.slnx, and run the application. The Swagger documentation will load at https://localhost:7266/swagger with this endpoint:
/api/products (GET)- Gets all the products that are not deleted
Prompts used
The prompts that were used can be found in Prompts.md.
Specification files
The specification files used with Claude Code to create the project and unit tests as well as adding the comments can be found in the Prompts folder.
Plan files
The plans that Claude Code generated before following and building the rules in the specification files can be found in the Plans folder.
Download this code example
Enter your email and we'll send you a download link.
Related pages
Download the Claude Code .NET currency converter project. Includes the spec.md file used to generate a clean architecture ASP.NET Core app.
Get the CLAUDE.md file and .NET project we used to migrate Controllers over to Minimal APIs using Claude Code prompts.
Get the technical documents and Claude project we used to build a real ASP.NET Core app from scratch using AI. Download and use them yourself.
Download this code example
Enter your email and we'll send you a download link.