dotnet-webapi

Scaffold .NET 10 Web APIs with CRUD, EF Core, DI, xUnit, and Docker.

1|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/racar/racar_agent_skills --skill dotnet-webapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-webapi
Source: https://github.com/racar/racar_agent_skills/tree/main/skills/dotnet-webapi
Command: npx skills add https://github.com/racar/racar_agent_skills --skill dotnet-webapi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the time-consuming setup and boilerplate required to build production-ready ASP.NET Core Web APIs, providing a ready-to-use scaffold that follows modern best practices.

Core Features & Use Cases

  • Project scaffolding: Generates a structured solution with API and test projects, ready to customize.
  • CRUD scaffolding: Creates controllers, services, and models with standard CRUD endpoints.
  • EF Core integration & DI: Sets up data access and dependency injection boilerplate for rapid data-driven APIs.
  • Testing & Docker: Includes xUnit tests and Docker-ready configuration for containerized deployments.
  • Use Case: When starting a new microservice or backend API for a RESTful service, launch the template and extend it with domain entities.

Quick Start

Use the provided scripts to scaffold and run a new API:

  • Run: scripts/new_api.sh MyApi
  • Then: cd MyApi
  • Build: dotnet build
  • Run: dotnet run --project MyApi.Api

Frequently Asked Questions about dotnet-webapi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a .NET 10 Web API with CRUD endpoints and EF Core?

You can scaffold a .NET Web API by running the provided new_api.sh script, which generates a structured solution with controllers, services, models, and EF Core dependency injection wiring for rapid data-driven development.

What's the best way to bootstrap a production-ready .NET Web API with Docker and xUnit testing?

Bootstrapping a production-ready .NET Web API involves using a scaffolded template that includes built-in Docker configuration for containerized deployments and an integrated xUnit testing setup to enforce best practices.

Does .NET 10 Web API scaffolding include dependency injection wiring for microservices?

Yes, .NET 10 Web API scaffolding includes dependency injection wiring and EF Core integration setup, providing the necessary boilerplate to quickly launch and extend backend RESTful microservices with domain entities.

How do I set up authentication and data access when creating a new .NET RESTful service?

Setting up authentication and data access for a new .NET RESTful service involves using a scaffolded project template that applies EF Core integration and dependency injection boilerplate alongside standard CRUD endpoints.

Can I customize the generated controllers and services after scaffolding my .NET API?

Yes, you can customize the generated controllers and services after scaffolding your .NET API by navigating into the generated project directory and extending the pre-configured models with your specific domain entities.

What limitations should I expect when using a scaffolded .NET 10 Web API template?

A scaffolded .NET 10 Web API template provides standard CRUD endpoints and boilerplate, meaning you must manually extend the generated solution with custom business logic and specific domain entities beyond the initial setup.