{"repo":"jeangatto/ASP.NET-Core-Vertical-Slice-Architecture","free":true,"listed":false,"github":"https://github.com/jeangatto/ASP.NET-Core-Vertical-Slice-Architecture","clone":"git clone https://github.com/jeangatto/ASP.NET-Core-Vertical-Slice-Architecture.git","description":"ASP.NET Core, C#, Vertical Slice Architecture, CQRS, REST API, DDD, SOLID Principles","language":"C#","stars":161,"topics":["asp-net-core","cqrs","csharp","ddd-architecture","dotnet","dotnet-core","ef-core","solid","solid-principles","vertical-slice-architecture"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ASP.NET Core Vertical Slice Architecture with CQRS and REST API This repository contains a sample blog API built with ASP.NET Core 10 using Vertical Slice Architecture, CQRS, and REST principles. The goal is to show how to keep features self-contained while still applying DDD and SOLID practices in a practical way. Give it a star! ⭐ If you found this project useful, consider giving it a star. It helps more than you might think. Architecture Vertical Slice Architecture organizes the application around business features rather than technical layers. Each feature contains the code it needs, including requests, handlers, validators, responses, and related domain models. This makes the system easier to evolve and avoids forcing unrelated concerns into shared layers. Design goals - Vertical Slice Architecture - CQRS with MediatR - JWT authentication - Domain-driven design concepts - Clean and maintainable code - Automated tests with xUnit and FluentAssertions Project structure - src/Blog.PublicAPI - Data: EF Core context and configuration - Domain: aggregates, entities, and business rules - Features: feature-based controllers, requests, handlers, and responses - Extensions: service registration and infrastructure helpers - test/Blog.PublicAPI.Tests - UnitTests: focused unit tests for helpers and extensions - IntegrationTests: end-to-end API validation scenarios Prerequisites - .NET 10 SDK Getting started 1. Clone the repository. 2. Restore dependencies: 4. Run the API: 6. Open the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jeangatto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jeangatto/ASP.NET-Core-Vertical-Slice-Architecture/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}