Design
Why You Should Avoid Command Handlers Calling Other Commands? Paid Members Public
One of the patterns that I keep coming back to when building ASP NET Applications is the Command Query Separation (CQS) pattern. Fundamentally, the pattern separates the code to read (Query) and the write (Command) to the data store. By separating the Commands and Queries, the code is more focused
Generating a Large PDF from Website Contents Paid Members Public
Dynamically generate a PDF file for a CMS Website.
Being Explicit About Time when Handling Multiple Timezone Paid Members Public
This article is to put my thoughts together on a possible solution. Challenges of real world implementation are yet to be discovered. Handling date/time in application's that affect different time zones is tricky! The general recommendation is that all dates be saved in UTC time and convert
Thinking Beyond Primitive Values: Value Objects Paid Members Public
When modelling objects for our application, we use primitive values to represent their attributes or properties. By primitive values, I refer to all the primitive types (like Byte, Boolean, Int, Date) and the in-built types (String etc.) that the language supports. These are the most basic types of the programming
When your Architecture Screams Technology! Paid Members Public
In todays world the problem's that are solved by technology are innumerous and it is not just a single system that the customer is looking for. They usually need multiple systems solving different problems around their core domain. But as developers, we usually get carried away by the
Using Repository Pattern for Abstracting Data Access from a Cache and Data Store Paid Members Public
A Repository abstracts the persistence logic from the core business logic and allows the data to be accessed as it would have been from an in-memory object collection. Repository Pattern is useful when you want your domain objects(or entities) to be persistence ignorant but yet have the flexibility to