Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

A .NET 10 Minimal API starter, so you can skip the boilerplate

说明与用途

.NET 10 最小 API 启动模板减少样板代码,提供身份验证、验证、日志、Docker、测试和 CI。

问题

Starting a new .NET API requires repetitive boilerplate for authentication, error handling, validation, logging, Docker, tests and CI.

结果

The template reduces setup time, provides a learning reference, and includes essential infrastructure for a minimal API.

工作流

  • Create a new project from the template via GitHub "Use this template" button
  • Run "docker compose up --build" to start services
  • Run "dotnet test" for integration tests against in‑memory SQLite
  • Add new features by copying existing feature files and updating the DbContext
  • Commit changes and push to trigger GitHub Actions CI

证据

Starting a new .NET API means spending hours on the same setup before you write the first useful line: authentication, error handling, validation, logging, Docker, tests and CI.

来源

I packaged it into a template and put it on GitHub for anyone who wants to skip that part.

来源

Minimal APIs organized by feature with MapGroup

来源

Integration tests that don't need Docker. They run against in-memory SQLite, so dotnet test works on a fresh machine.

来源

Any authenticated user can update or delete any product.

来源

Tokens last 60 minutes with no refresh or revocation.

来源

  • 记录日期: 2026-10-12T16:55:55.532Z