Skip to content

This project is a .NET 9 Minimal API built as part of a workshop to demonstrate advanced concepts in API development using the latest features of C# and .NET 9.

License

Notifications You must be signed in to change notification settings

fkucukkara/minimalAPIPlayground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal API Workshop

Overview

This project is a .NET 9 Minimal API built as part of a workshop to demonstrate advanced concepts in API development using the latest features of C# and .NET 9. The focus is on applying modern architectural patterns and practices while leveraging a variety of tools and frameworks.

Features

Major Features

  • C# .NET 9: Leverages the latest features of .NET 9 for efficient and robust development.
  • CQRS (Command Query Responsibility Segregation): Implements separation of read and write operations for scalability and maintainability.
  • MediatR: Facilitates in-process messaging for decoupling and implementing CQRS patterns.
  • Entity Framework Core: Simplifies database access and management.
  • Generic Repository Pattern: Provides reusable and efficient data access methods.
  • OOP (Object-Oriented Programming): Demonstrates robust design and implementation of object-oriented principles.
  • SOLID Principles: Adheres to SOLID design principles for maintainable and scalable code.
  • Clean Code: Focuses on writing readable, maintainable, and extensible code.

Minor Features

  • Centralized Package Management: Ensures consistent package versions across projects using Directory.Packages.props.
  • Centralized Exception Management: Implements a unified approach to handling exceptions and improving debugging.

Testing and Automation

  • xUnit: Provides a robust testing framework for unit and integration tests.
  • Autofixture: Simplifies test data generation for effective and clean testing.

Prerequisites

  • .NET 9 SDK
  • SQL Server
  • Visual Studio 2022 or a compatible IDE

How to Run

  1. Clone the repository:

    git clone https://github.com/fkucukkara/minimalAPIPlayground.git
  2. Restore dependencies:

    dotnet restore
  3. Apply migrations and update the database:

    dotnet ef database update
  4. Run the application:

    dotnet run

License

MIT License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This project is a .NET 9 Minimal API built as part of a workshop to demonstrate advanced concepts in API development using the latest features of C# and .NET 9.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages