Browse by Tags

All Tags » IoC » ASP.NET MVC (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...

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 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: , ,

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

In this post, I am applying Dependency Injection to the NerdDinner application using Ninject. The controllers of NerdDinner application have Dependency Injection enabled constructors. So we can apply Dependency Injection through constructor without change...
Filed under: , ,

Introduction to Test-Driven Development with ASP.NET MVC by shiju

One of the greatest advantages of ASP.NET MVC is the support of testability, which enables to Test-Driven Development (TDD) in an easy manner. A testable application should be developed in a loosely coupled manner so that you can test the independent...
Filed under: , , ,

Applying Dependency Injection in ASP.NET MVC NerdDinner.com Application by shiju

ScottGu , Scott , Phil and Rob have announced a free ASP.NET MVC eBook and an open source ASP.NET MVC application Nerddinner.com. The free eBook is a single chapter of the Wrox’s upcoming title Professional ASP.NET MVC 1.0 . The free eBook provides an...
Filed under: , ,
More Posts Next page »