posts - 18, comments - 23, trackbacks - 1

My Links

News

This blog has moved to http://shailen.sukul.org

Article Categories

Archives

Post Categories

July 2006 Entries

Things to watch out for when implementing a custom role provider
I recently implemented a custom role provider for an asp.net project and discovered an interesting point. I had to instantiate a role business component in the custom provider class like so: public class MyRoleProvider : RoleProvider { BLRole blRole = null; public MyRoleProvider() { blRole = new BLRole(); } All I could see on at runtime was: Parser Error Message: Exception has been thrown by the target of an invocation. I moved the instantiation code into the Initialize block and hey pretso, the...

Posted On Sunday, July 30, 2006 4:57 PM | Feedback (2) | Filed Under [ ASP.Net 2.0 ]

Powered by: