var Matt = new Hero();

C#, ASP.NET MVC, MEF, Javascript…and anything else that interests me.

Posted by Matthew Abbott 3 COMMENTS

See also: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part One
Currently reading: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part Two
See also: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part Three

In my previous post I presented an MVC Framework that uses the Managed Extensibility Framework (MEF) to allow for [...]

Categories: .NET
Posted by Matthew Abbott 7 COMMENTS

Building on my previous MEF + MVC example, I present a revised framework for building truly modular ASP.NET MVC websites through MEF.

Categories: .NET, Development
Posted by Matthew Abbott 15 COMMENTS

I’ve recently been introduced to the Managed Extensibility Framework by a colleague at work, and have enjoyed picking it up so much it made me wonder how I could apply the simplicity of composition into my favourite web framework, ASP.NET MVC. There are a few obstacles to overcome initially, namely how instances are composed [...]

Categories: .NET, Development
Posted by Matthew Abbott ADD COMMENTS

I’m not overly keen on hard coding MVC routes in the application, so I’ve come up with a nice way of pulling the routes out of the application, and into a Sql Server table. All nicely wrapped up with Linq-to-Sql.

Categories: .NET, Development
Posted by Matthew Abbott ADD COMMENTS

Why you should check your Url Remapping for Server.Transfer ViewState Invalidation boo-boos!

Categories: .NET, Development
Posted by Matthew Abbott ADD COMMENTS

I was wondering why our logging framework was reporting two 404 messages for each single failed request on our ASP.NET/IIS7 website. Turns out the answer is obvious…

Categories: .NET

Me

Featured Posts

The Magic of IoC

I was bored…
…so I decided to design an IoC Container! This actually turned out to be a lot of fun too. I’d like to firstly state that a) there is no reason for this code, and b) this is not a replacement for established IoC solutions, such as Unity, Castle Windsor, Ninject, Authofac, StructureMap, and [...]

Integrating Regula with ASP.NET MVC and DataAnnotations

Previously I discovered Regula, an annotation-based validation framework used for client-side validation of form elements. I wondered if it was possible to automatically wire up client-side validation using DataAnnotation’s ValidationAttributes on the server side, very similar to how xVal might handle it.
This is by no means usable, its really an experiment to see what [...]

Regula as a jQuery Plugin

Earlier this evening I came across a Stack Overflow question regarding a most excellent new javascript validation framework, called Regula. Regula is an annotation-based validation framework that hides the complexities of binding complex validation events to controls by extending the DOM element itself with annotations about how it should be validated. Here is a [...]

Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part Three

See also: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part One
See also: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part Two
Currently reading: Modular ASP.NET MVC using the Managed Extensibility Framework (MEF), Part Three

Firstly, sorry it’s been so long since my last MVC+MEF post, been a bit busy with life in general. [...]

Javascript Linq Extensions

I love Linq. Linq just makes code awesome. Well, that’s my view on it anyway. I also like Javascript, and through libraries like JQuery we’ve now got a framework whereby you can pretty much do anything, but often I like getting down to the bare-bones of Javascript and just having a go at what [...]

Search my site

Twitter Updates

Links