Skip to content

mcj-coder/dotnet-starter

Repository files navigation

.NET Starter Template

A best-practice starter template for .NET 10 Web API projects with CI/CD, Docker support, and Claude Code integration.

Features

  • .NET 10 Web API
  • xUnit testing framework
  • GitHub Actions CI/CD
  • Docker support
  • EditorConfig for consistent code style
  • Claude Code ready

Getting Started

Prerequisites

  • .NET 10 SDK
  • Docker (optional, for containerization)
  • Git

Clone and Run

git clone <your-repo-url>
cd <repo-name>
dotnet restore
dotnet build
dotnet run --project src/StarterProject

Run Tests

dotnet test

Docker

docker build -t starterproject .
docker run -p 8080:8080 starterproject

Project Structure

.
├── .github/workflows/    # CI/CD pipelines
├── src/                  # Main application code
├── tests/                # Test projects
├── docs/                 # Documentation
├── .editorconfig         # Code style configuration
├── Dockerfile            # Container definition
└── README.md             # This file

Claude Code Integration

This template is optimized for use with Claude Code:

  1. Code Style: EditorConfig ensures consistent formatting
  2. Git Structure: Standard layout Claude expects
  3. Testing: xUnit setup ready for TDD workflow
  4. CI/CD: GitHub Actions for continuous integration

Contributing

Contributions welcome! Please open an issue or submit a pull request.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •