New answers tagged

1 vote

Interfaces vs abstract classes for immutable DTOs

There's not much in it, either way. The consistency you gain from picking one and sticking with it is likely to be more benefit than any potential drawbacks of either option. That said, there are ...
just me's user avatar
  • 638
1 vote

Where to store a props type declaration on a DDD project?

Some options: Domain Layer: If IBackendUser is a core domain concept, put it in the domain folder. Application Layer: If it's specific to the application logic, place it in an interfaces subfolder ...
Jimmy Kurian's user avatar
1 vote

Why aren't mandatory options requested in the signature of ASP.NET Core "AddXXX" methods?

I share your frustrations with this design pattern. I guess the reasoning is that it makes everything "easy" for a default setup. I think what happens is the developers take a section of ...
Ewan's user avatar
  • 70.9k

Top 50 recent answers are included