Browse by Tags

All Tags » IoC (RSS)

Commands, Command Handlers and Command Dispatcher by shiju

In this post, I am trying to add some CQRS principles onto my EFMVC project. EFMVC is a small web app for demonstrating ASP.NET MVC and EF Code First. Please keep in mind that this is not the implementation CQRS patterns, but trying to add some CQRS flavors...

EFMVC 1.0 Preview Released by shiju

A while ago, I have released EFMVC , a demo web app built using ASP.NET MVC 3, EF Code First and Unity. The EFMVC app has demonstrated many architectural patterns and practices such as Generic Repository, Repository pattern, Unit of Work pattern, Dependency...

Autofac - My Choice of IoC Container by shiju

I have been using Unity for dependency injection since the early days of ASP.NET MVC framework. Recently I have evaluated other IoC containers and really impressed with Autofac. The next version of my codeplex project EFMVC will be use Autofac as IoC...

Auto Registration in Microsoft Unity by shiju

Unlike many other .NET IoC containers, Microsoft Unity does not support auto registrations. Auto registration is a very useful feature for any IoC container and it would be very helpful in some specific contexts. The Unity Auto Registration project in...
Filed under: ,

EFMVC – A demo web app using ASP.NET MVC 3 and EF 4.1 Code First by shiju

I have created a demo web app for some of my previous blog posts and can be download from http://efmvc.codeplex.com/ . The following technologies are used for the web app ASP.NET MVC 3 Entity Framework 4.1 Code First Microsoft Unity 2.0 jQuery Mobile...

Dependency Injection in ASP.NET MVC 3 using DependencyResolver and ControllerActivator by shiju

In my previous examples for dependency injection in ASP.NET MVC, I have used an approach where creating a custom controller factory deriving from DefaultControllerFactory and override the GetControllerInstance method for dependency injection. But ASP...

Developing web apps using ASP.NET MVC 3, Razor and EF Code First - Part 2 by shiju

In my previous post Developing web apps using ASP.NET MVC 3, Razor and EF Code First - Part 1 , we have discussed on how to work with ASP.NET MVC 3 and EF Code First for developing web apps. We have created generic repository and unit of work with EF...

Developing web apps using ASP.NET MVC 3, Razor and EF Code First - Part 1 by shiju

In this post, I will demonstrate web application development using ASP. NET MVC 3, Razor and EF code First. This post will also cover Dependency Injection using Unity 2.0 and generic Repository and Unit of Work for EF Code First.You can download the source...

Dependency Injection in ASP.NET MVC NerdDinner App using Unity 2.0 by shiju

In my previous post Dependency Injection in ASP.NET MVC NerdDinner App using Ninject , we did dependency injection in NerdDinner application using Ninject. In this post, I demonstrate how to apply Dependency Injection in ASP.NET MVC NerdDinner App using...
Filed under: , ,

Microsoft Unity 2.0 Released by shiju

Microsoft's dependency injection framework Unity Application Block (Unity) has reached version 2.0. The release available on Codeplex at http://unity.codeplex.com / Unity 2.0 Change Log Release Notes - Unity 2 for Desktop Release Notes - Unity 2 for Silverlight...
Filed under: ,
More Posts Next page »