Monthly Archives: November 2008

ASP.NET MVC – Using Extension Method to Add Validation Application Block Errors to Controller’s ModelState

I wrote a couple of posts on using the Enterprise Library Validation Application Block with the ASP.NET MVC Framework: ASP.NET MVC and Enterprise Library Validation Application Block ASP.NET MVC Validation using Policy Injection Application Block in Enterprise Library Some of … Continue reading 

Posted in Uncategorized | 1 Comment

ASP.NET MVC: AcceptVerbsAttribute and ActionMethodSelectorAttribute

Earlier I mentioned the ActionNameAttribute that allows one to rename the action a controller method responds to in the ASP.NET MVC Framework. I also mentioned the NonActionAttribute in the MVC Framework which makes sure a controller method does not respond … Continue reading 

Posted in Uncategorized | Leave a comment

ASP.NET MVC: ActionNameAttribute and ActionMethodSelector Class

This past Monday was the ASP.NET MVC Firestarter Event in Tampa Florida. This was a great event with over 140 people registered and the Tampa MPR filled to capacity. I presented  a couple of sessions. One session walked-thru a sample MVC LINQ … Continue reading 

Posted in Uncategorized | Leave a comment

Unity Application Block on .NET Rocks!

Carl and Richard got me talking about Unity, Enterprise Library, and the Software Factories on .NET Rocks! Show #393. I haven’t had a chance to listen to the show, but I remember being pretty excited about Unity, not so much … Continue reading 

Posted in Uncategorized | Leave a comment

Unity and AOP Example

Unity and AOP Example by David Hayden    Let’s use AOP as a replacement of the Decorator Pattern in the previous example, Unity Application Block and Decorator Pattern. We will replace the FilteringLoggerDecorator with a custom HandlerAttribute and ICallHandler. You will need Unity … Continue reading 

Posted in Uncategorized | Leave a comment

Unity Application Block and Decorator Pattern

Unity Application Block and Decorator Pattern by David Hayden   Recently I discussed the Decorator Pattern as well as Array Injection using Unity and I thought I would put concepts from both of these together to clean up the code I … Continue reading 

Posted in Uncategorized | Leave a comment

Array Injection Using Unity Application Block v1.2

Earlier I mentioned the release of Enterprise Library 4.1 and Unity 1.2. One of the new features in Unity is the injection of arrays. The Unity Documentation is pretty good on showing how to do this, but here is a … Continue reading 

Posted in Uncategorized | 1 Comment