Monthly Archives: July 2011

A potentially dangerous Request.Path value was detected from the client

Posted on

I have a Odata service implementation and started getting errors where one of parameters in query has ‘:’. Solution: <system.web> <httpRuntime requestValidationMode=”2.0″ requestPathInvalidCharacters=””/> <pages validateRequest=”false”> Tweet


IOC- MEF,UNITY reading of a day

Posted on

Couple of good readings regarding MEF usage. MEF introduction article – http://www.informit.com/articles/article.aspx?p=1635818 http://brendanforster.com/mef-import-vs-importingconstructor – article describes difference between [Import] and [ImportingConstructor] attribute usage. Also describing design difference between using property setters and constructor initialization. Recomposition and constructors –http://codebetter.com/glennblock/2009/03/21/recomposition-and-constructors/ Tweet