CleanArchitecture
Mapster
CleanArchitecture | Mapster | |
---|---|---|
18 | 15 | |
15,030 | 4,184 | |
- | 1.8% | |
8.7 | 5.5 | |
7 days ago | 6 months 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.
CleanArchitecture
-
Dotnet.World.News(Wednesday, September, 20, 2023)
🔴 [CleanArchitecture] (Learning Template + Docs): A starting point for Clean Architecture with ASP.NET Core. Clean Architecture is just the latest in a series of names for the same loosely-coupled, dependency-inverted architecture.
- Advice for the web API app development using clean architecture in .NET 6.
- Не знаю где задать этот вопрос
- Where can I learn more about Design Patterns & Clean Architecture in .NET?
-
Learning .NET core as a front-end developer
Here’s a few: - complex domain driven example using vertical slice - another DDD example - clean architecture template by Jason taylor - clean architecture template by ardalis
-
Ask HN: Examples of Top C# Code?
This repository is a good place to start with modern c# code, specifically ASP.NET
https://github.com/ardalis/CleanArchitecture
-
API’s in ASP.NET
If you want to try clean architecture, you can check out Steve smith’s repo or Jason Taylor’s repo.
- Tips to develop a Blazor Server app that’s easy to migrate to WASM in the future
-
Measuring maintainability metrics with NDepend
🔗 Clean Architecture repository | GitHub
-
Confused on how to structure my API with Entity Framework
Overall i now use a DDD style approach with Mediatr based on https://github.com/ardalis/CleanArchitecture/tree/main/src as well as snippets from Microsofts https://github.com/dotnet-architecture/eShopOnWeb
Mapster
-
Dotnet.World.News(Wednesday, September, 20, 2023)
🔴 [Mapster] A fast, fun and stimulating object to object Mapper! Mapster was designed to be efficient on both speed and memory. You could gain a 4x performance improvement whilst using only 1/3 of memory.
- Mapster and IFormFile exception
-
Object Mapping in .NET
Mapster
-
Help with an ASP.NET Core API and Mapster
Have you read this part in their documentation? https://github.com/MapsterMapper/Mapster/wiki/Data-types
-
Is Automapper the most hated library?
Which is the main reason I don't use it anymore. I can still stand behind why it was created and what it was trying to solve. If you still want to use a mapper I would recommend Mapster as it supports source generation so you can see all code and it's references.
-
When using the DTO pattern and rolling your own mappers, is there a shorter way to write the mapping functions?
Gotta add a shoutout to Mapster which does pretty much the same thing also using source generation.
-
AutoMapper's open source code of conduct
I highly recommend Mapster (https://github.com/MapsterMapper/Mapster)
-
What C# tools would you like to use that don't exist today?
We use Mapster coupled with FastExpressionCompiler and have been very happy with it.
-
Looking for alternative solution to Deep Clone for 10,000+ iterrations
Try Mapster
-
Unit Tests Done Right (Part 2)
I hope I managed to convince you and proved the value of unit tests for mappings, so let's move on to the next example. We're going to use AutoMapper, but from a testing standpoint, the choice of mapper makes no difference. For instance, we can replace AutoMapper with Mapster and it won't affect our tests in any way. Moreover, the existing tests will indicate whether our mapping refactoring was successful or not, which is one of the points of having unit tests 🙂
What are some alternatives?
CleanArchitecture - Clean Architecture Solution Template for ASP.NET Core
AutoMapper - A convention-based object-object mapper in .NET.
mapperly - A .NET source generator for generating object mappings. No runtime reflection.
blazor-starter-kit - Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
Mapping Generator - :arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
MassTransit - Distributed Application Framework for .NET
AgileMapper - A zero-configuration, highly-configurable, unopinionated object mapper with viewable execution plans. Flattens, unflattens, deep clones, merges, updates and projects queries. .NET 3.5+ and .NET Standard 1.0+.
JHipster.NET - JHipster.NET blueprint
ExpressMapper - Mapping .Net types
Havit.Blazor - Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
mapr - A simple object to object mapper.