GuardClauses
CleanArchitecture
Our great sponsors
GuardClauses | CleanArchitecture | |
---|---|---|
8 | 79 | |
2,903 | 15,544 | |
- | - | |
8.0 | 9.0 | |
about 1 month ago | 8 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GuardClauses
-
Why doesn't eager loading work with EF?
You could also use the Ardalis Guard Clause, Ardalis Result and Fluent Validation
-
3 things to avoid when implementing Domain-Driven Design (DDD)
Here is an example how one would make sure our order total is valid. For this purpose I use an amazing library called GuardClauses.
- What your hidden nuget gems ?
-
Implementing a Clean Architecture in ASP.NET Core 6
GuardClauses
-
Announcing .NET Community Toolkit v8.0.0 Preview 1
I'm guessing it's just a port of Ardalis' Guard class since he helped a lot with Microsoft's web projects.
-
How can I avoid IEnumerable multiple iterations? Is it bad to cast IEnumerable --> ICollection --> IEnumerable to perform validation?
The Guard Clauses are from: https://github.com/ardalis/GuardClauses
-
When to explicitly throw ArgumentNullException?
In terms of readability concerns, I definitely hear you on that. Using something like this can cut down on code bloat that comes with param validation and help with readability.
-
What a good Starter Kit for WebAPI for Asp.NET Core
It's made by Ardalis, who wrote Microsoft's architectural guide for ASP.NET Core Web APIs. I like his GuardClauses library too.
CleanArchitecture
- How do you structure large Minimal API Projects?
-
Best .NET Core API project for learning?
https://github.com/jasontaylordev/CleanArchitecture for beginners who want to see what good api projects are like.
-
KwikDeploy - Starting new Docker Deployment Open Source Project
Edit:Bootstrapped the .NET backend using Clean Architecture template (https://github.com/jasontaylordev/CleanArchitecture/tree/net7.0).
-
Why CQRS?
The CleanArchitecture is a typical empty boilerplate for a base line CQRS, but it doesn't come up with any batteries included.
- Advice for the web API app development using clean architecture in .NET 6.
- What are the GitHub repositories or blogs to learn industry-standard coding for Web API
-
DDD Design when it comes is it correct approach
For reference, see how Jason Taylor has his template setup. https://github.com/jasontaylordev/CleanArchitecture
- Are dotnet contracting jobs common?
- ASP.NET Core Web API Best Practices
-
How to use MediatR with query string params and id in the url?
Or… you can just take a command in your controller like this: https://github.com/jasontaylordev/CleanArchitecture/blob/main/src/WebUI/Controllers/TodoListsController.cs
What are some alternatives?
CleanArchitecture - Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
blazor-starter-kit - Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
ASP.NET Boilerplate - ASP.NET Boilerplate - Web Application Framework
modular-monolith-with-ddd - Full Modular Monolith application with Domain-Driven Design approach.
CH.CleanArchitecture - My personal take on Clean Architecture (.NET8)
eShopOnWeb - Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
JHipster.NET - JHipster.NET blueprint
eShopOnContainers - Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
ASP.NET MVC Boilerplate - .NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
nopCommerce - ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.