What makes .NET 6 a critical upgrade for developers?

Domain-Driven Refactoring: Encapsulating data

In the last post, we looked at using a few common refactorings to encapsulate operations and push behavior down into our domain model. While this works to encapsulate operations, we haven’t yet encapsulated our data. Take a look at the current Offer model:...
What makes .NET 6 a critical upgrade for developers?

Domain-driven refactoring: Long methods

In the last post, I walked through the main, immediate code smell we saw of a long method, and I would classify this method as long: public class AssignOfferHandler : IRequestHandler<AssignOfferRequest> { private readonly AppDbContext _appDbContext; private...