dotnet-codingagent-template
agent
Gecti
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 14 GitHub stars
Code Gecti
- Code scan — Scanned 1 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A template repository for dotnet applications that leverage coding agents
README.md
dotnet-copilot-template
A template repository for dotnet applications that leverage GitHub Copilot (or other agents that respect an instructions file).
Repository Structure
├── src/ # Application source code and projects
├── tests/ # Test projects (unit tests, integration tests)
├── adrs/ # Architecture Decision Records
├── .github/ # GitHub workflows and AI agent instructions
├── Directory.Build.props # Shared MSBuild properties for all projects
├── Directory.Packages.props # Central Package Management configuration
└── Template.slnx # Solution file
Getting Started
Prerequisites
- .NET 10 SDK or later
Building the Solution
# Restore dependencies and build all projects
dotnet build
# Build in Release mode
dotnet build -c Release
Running the Application
# Run the main application project
dotnet run --project src/YourProjectName/YourProjectName.csproj
# Run with specific environment
dotnet run --project src/YourProjectName/YourProjectName.csproj --environment Production
Running Tests
# Run all tests
dotnet test
# Run tests with detailed output
dotnet test --verbosity normal
# Run tests with code coverage
dotnet test --collect:"XPlat Code Coverage"
Configuration
Configuration settings are managed through:
appsettings.json- Default configurationappsettings.{Environment}.json- Environment-specific overrides- Environment variables - Runtime configuration
- User Secrets - Local development secrets (never committed)
Development Guidelines
This repository follows conventions defined in AGENTS.md, including:
- Central Package Management: All package versions managed in Directory.Packages.props
- Code Style: 2-space indentation, file-scoped namespaces, Allman-style braces
- Testing: xUnit framework with Arrange-Act-Assert pattern
- Warnings as Errors: All compiler warnings must be addressed
Run dotnet format to automatically format code according to project conventions.
Contributing
- Create a feature branch from
main - Make your changes following the coding conventions
- Ensure all tests pass (
dotnet test) - Submit a pull request
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi