Quantcast
Channel: Agile at Work » ASP.NET MVC
Browsing latest articles
Browse All 6 View Live

An Order Processing Pipeline in ASP.NET MVC

Lately, I can’t seem to shake the pipeline pattern. It keeps popping up in all my applications. It’s like when I think about buying a new car and then I start seeing them everywhere on road and think –...

View Article



Image may be NSFW.
Clik here to view.

Unit of Work with Unity and ASP.NET MVC

I was recently asked how I get the context of  “this” in the UoW relating to the current page request. Before I get into the guts, I would like to provide a little context. My application has 20+...

View Article

Image may be NSFW.
Clik here to view.

Custom Model Binder in ASP.NET MVC

The default model binder or DataAnnotationsModelBinder in ASP.NET MVC works well for simple data structures that basically map properties directly to form elements, but it quickly breaks down in a real...

View Article

Image may be NSFW.
Clik here to view.

Inheritance is Evil: The Epic Fail of the DataAnnotationsModelBinder

The DataAnnotationsModelBinder is a pretty neat little class that enforces validation attributes on models like this one: public class Product { public int Id { get; set; } [Required] public string...

View Article

Bolt-on Multi-Tenancy in ASP.NET MVC with Unity and NHibernate

The Mission: Build a web application as though it’s for a single customer (tenant) and add multi-tenancy as a bolt-on feature by writing only new code. There are flavors of multi-tenancy, in this case...

View Article


Bolt-on Multi-Tenancy in ASP.NET MVC with Unity and NHibernate: Part II –...

Last time I went over going from separate web applications per tenant to a shared web application for all tenants, but each tenant still had its own database. Now we’re going to take the next step and...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images