Monthly Archives: September 2008

Create an ISession specific cache

Sometimes it is useful to create a cache specific to a particular session. I use this for pre-NH cache in my repositories that I can query with Linq before hitting NH sometimes. You could easily modify this to not be … Continue reading

Posted in Uncategorized | 1 Comment

ModelStateDictionary and ParameterBinding

I laid this out in more detail on the forums here: I thought I’d mention it to this group so that people were aware of this difference between the interaction the old ParameterBinders and Rescues in version 4 and … Continue reading

Posted in ASP.Net, c# | Leave a comment

Mvc Preview 5 Authorization Filters

Looks like the bits were changed some for preview 5 around the action filters. The ‘Cancel’ property was removed from the ActionExecutingContext. It looks like for my purposes I can use IAuthorizationFilter and FilterAttribute to get at an AuthorizationContext which … Continue reading

Posted in Uncategorized | Leave a comment