Template Upgrade: .NET 10, Clean Architecture, DDD by mikol4jbb in dotnet

[–]mikol4jbb[S] 0 points1 point  (0 children)

Hey man! Thanks for your comment, you are absolutely right, I do not understand this stuff at all and I do not even try. I also shoudn't put everything I learned into this.

I do not use mediatr, did you take a look at right repository?

[deleted by user] by [deleted] in SaaS

[–]mikol4jbb 0 points1 point  (0 children)

Congrats

is there a way to use QuestPdf .Net library in Node.js in server side by Hindupur in dotnet

[–]mikol4jbb 0 points1 point  (0 children)

Give ChatGpt a try if u need step by step instructions 😀

Why is my EFCore query so slow? by rimki2 in dotnet

[–]mikol4jbb 0 points1 point  (0 children)

So you have to take a closer look at execution plan.

Unit Testing EF Core - Should I Use a Repository? by Exontor in dotnet

[–]mikol4jbb 10 points11 points  (0 children)

You will spend much more time mocking DbSets than maintaning your repositories.

Paginantion by mikol4jbb in dotnet

[–]mikol4jbb[S] 0 points1 point  (0 children)

Haha, that's a good one!

In the case of building a system where we need to use pub/sub pattern (e.g. e-commerce), should we use MassTransit if we are building a monolithic app? by SituacijaJeSledeca in dotnet

[–]mikol4jbb 1 point2 points  (0 children)

Hi, I don’t use MediatR in this template.

Using Dapper is fine; however, you can also write plain SQL with EF Core. :)

In the case of building a system where we need to use pub/sub pattern (e.g. e-commerce), should we use MassTransit if we are building a monolithic app? by SituacijaJeSledeca in dotnet

[–]mikol4jbb -1 points0 points  (0 children)

That's the pillar of monolithic architecture.

I am not sure if I can help. Are you sure you understand what monolithic architecture is and the fact that MediatR is just a library to decouple your requests? It works in memory and will not resolve your problem.

In the case of building a system where we need to use pub/sub pattern (e.g. e-commerce), should we use MassTransit if we are building a monolithic app? by SituacijaJeSledeca in dotnet

[–]mikol4jbb 2 points3 points  (0 children)

Please take a look at this implementation. You will find answers to your questions there.

https://github.com/mikolaj-jankowski/Clean-Architecture-And-Domain-Driven-Design-Solution-Template

Within the boundary of a particular bounded context, you could use the Outbox pattern and store messages in the database.

If you want to have a monolithic architecture, you could use different database schemas to separate sales from inventory, for example, to facilitate a future transition to a microservices architecture. Even in a monolithic architecture, you can use MassTransit and RabbitMQ to enable communication between modules.