EF Core and Minimal API Claude skills in a Web API
Download an ASP.NET Core Web API that contains Claude skills for creating an Entity Framework Core entity and adding a Minimal API endpoint.
You can learn how to use Claude Code to create these skills, 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.Skills.slnx, and run the application. The Swagger documentation will load at https://localhost:7266/swagger with these endpoints:
/api/products (GET)- Gets all the products that are not deleted/api/categories/test (GET)- A test endpoint created by Claude Code to ensure the Minimal API endpoints are setup correctly
Prompts used
The prompts that were used can be found in Prompts.md.
Plan files
The plans that Claude Code generated before creating the skills can be found in the Plans folder.
Download this code example
Enter your email and we'll send you a download link.
Related code examples
An AI generate .NET app created using Claude Code, featuring projects, unit tests, comments, specifications, as well as the prompts and plans used.
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.