Browse by Tags

All Tags » IoC (RSS)

Releasing SocialGoal - Reference Web App for ASP.NET MVC 5, EF 6 Code First, AutoMapper, Autofac, TDD and DDD by shiju

My team at Marlabs , developed and released a sample reference web app for the Microsoft ASP.NET stack, named “SocialGoal” . SocialGoal is a social networking web app for socializing your goals and strategies with people. People can create goals and can...

EFMVC Migrated to .NET 4.5, Visual Studio 2012, ASP.NET MVC 4 and EF 5 Code First by shiju

I have just migrated my EFMVC app from .NET 4.0 and ASP.NET MVC 4 RC to .NET 4.5, ASP.NET MVC 4 RTM and Entity Framework 5 Code First. In this release, the EFMVC solution is built with Visual Studio 2012 RTM. The migration process was very smooth and...

EFMVC App Migrated to Visual Studio 2012 RC and ASP.NET MVC 4 RC by shiju

I have just migrated my EFMVC app from ASP.NET MVC 4 Beta to ASP.NET MVC 4 RC. In this release, the EFMVC solution is built with Visual Studio 2012. The migration process was very smooth and did not made any major changes other than adding AutoMapper...

Dependency Injection in ASP.NET Web API using Autofac by shiju

In this post, I will demonstrate how to use Dependency Injection in ASP.NET Web API using Autofac in an ASP.NET MVC 4 app. The new ASP.NET Web API is a great framework for building HTTP services. The Autofac IoC container provides the better integration...

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...
More Posts Next page »