Author: Dan Lorenz

CQS, SimpleInjector, and the Power of Decorators

CQS, SimpleInjector and Decorators reduce code complexity, force SOLID principals, make unit tests easier, and let you to focus on the code that really matters.

Async, Await, and ConfigureAwait – Oh My!

In .NET Framework 4.5, async/await keywords were added to make async programming easier to work with. However, there are a few gotchas you may not know about.

Register Instances with StructureMap Automatically

Now, every time you add a new class that you want StructureMap to pick up, you just have it implement IStructureMapClass.

Entity Framework 6.0 – Intercepting SQL produced by EF

Whenever Entity Framework is about to call the database, the methods in MyInterceptor will fire, and break points let you see all the data being passed through.

ASP.NET MVC 4: Changing the Maximum Upload and Download JSON Sizes

With ASP.NET MVC, making AJAX calls is now easier than ever, but Microsoft imposed a hard limit on the amount of data that can be uploaded or downloaded.