Let's Talk Software

Rants about software topics and Method Development news.

Simple Injector ASP.NET MVC & WebAPI

TLDR: Simple Injector is good, use it.

As most developers do, we use IOC in our ASP.NET MVC sites, it cleans up the code and allows for better testing. If you're not familiar with check out this article on Dependency Injection.

One of the longest running IOC libraries is Structure Map, which we originally choose because of it maturity and stability. After running with this for 4 (ish) years (with complete success), I started to look into different possibilities for my Injector library. Knowing that Structure Map has every feature you would ever want leads me to think there might be code that is affecting performance. I only use IOC for a Service Layer & Repository Layer injection and its very simple at that, so I really don't need all of the bells and whistles. I would rather have less features and better performance.

Four Keys to Better Software

Building custom software can be a big undertaking depending on the requirements of the project. Many times businesses begin building software only to have the project fail because the process was not designed or managed properly. Here are 4 key items you should strive towards when starting a software project to get better software.