Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Consider the CQRS pattern as a replacement to repository/service. Because it's not that complicated, I ended up rolling my own implementation (ICommand, ICommandHandler, ICommandDispatcher, equivalents for Query, and then some DI to tie them together.) There are quite a few Nuget CQRS packages and lots of example implementations on the web. I also just heard about Brighter and Darker but I haven't had a chance to try them out yet. Sounds pretty interesting.
Consider the CQRS pattern as a replacement to repository/service. Because it's not that complicated, I ended up rolling my own implementation (ICommand, ICommandHandler, ICommandDispatcher, equivalents for Query, and then some DI to tie them together.) There are quite a few Nuget CQRS packages and lots of example implementations on the web. I also just heard about Brighter and Darker but I haven't had a chance to try them out yet. Sounds pretty interesting.
Related posts
- Should I null-check every database get by id calls?
- What can I use as a simple message bus with persistence in .NET?
- Opinions regarding move to TDD-focused employer
- Boosting Productivity with HangFire: Streamlining Background Job Processing
- How do you save a file at the end of the day within a function that is only called at certain times?