{"repo":"lucadallavalle/template-webapi-aspnet","free":true,"listed":false,"github":"https://github.com/lucadallavalle/template-webapi-aspnet","clone":"git clone https://github.com/lucadallavalle/template-webapi-aspnet.git","description":"Template for ASP.NET WebApi based applications/microservices using CQRS, Mediator pattern, Clean Architecture","language":"C#","stars":14,"topics":["clean-architecture","asp-net-core","mediator","cqrs","asp-net","asp-net-core-web-api","asp-net-web-api","template","template-project"],"license":"MIT","category":"cli-tools","readme_excerpt":"ASP.NET Core WebApi template This template can be used to bootstrap a working full-fledged ASP.NET Web Api project with a single CLI command (see below). It contains what I consider to be best practices/patterns, such as CQRS, Mediator, Clean Architecture. :star: Like it? Give a star If you like this project, you learned something from it or you are using it in your applications, please press the star button. Thanks! Motivation I found implementations of similar samples/templates to often be overly complicated and over-engineered (IMO). This is an effort to create a more approachable, more maintainable solution that can be used as a starting point for the majority of real-world projects while, at the same time, striving to reach a sensible balance between flexibility and complexity. Features - Based on .NET 10 to have access to the latest features - Minimal hosting model (top-level statements in Program.cs ) - CQRS: commands and queries have separate handlers and decorator pipelines (dispatched through a mediator), and the data access is segregated too — read repositories for queries, write repositories behind the unit of work for commands - Simple Mediator abstraction for CQRS and implementation relying on the chosen Dependency Injection container (see HumbleMediator) - Project structure following Clean Architecture principles - Read/write repository split (the data-access half of CQRS) over Entity Framework Core, behind tech-agnostic interfaces — Application / Core never re","default_branch":null,"files":null,"tree":[],"storefront":"/r/lucadallavalle","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lucadallavalle/template-webapi-aspnet/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."}