How to Validate a object Using Policy Injection Block

Topics: Policy Injection Application Block, Validation Application Block
Nov 25, 2010 at 4:08 AM

I have configured Policy Injection Application Block. I have added Method Signature Matching rule and member name matching rule but it is not working. I just want to know how it will work as i am creating the object through policy factory class and using it. So by default as i will call the member function and it matches the method it should execute the validation handler. But its not working.

So what should i do for that?

 

I had added a rule with Match : AddRecruiterInformation And added a parameter with Type: BOResumeTracker.RecruiterLoginInformationBO, BOResumeTracker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.

 

I am using MVC Architecture and i have to validate some properties of the BO into this method. So i am passing a BO as a parameter.

 

So how could i do that?

 

 

Nov 25, 2010 at 5:09 AM

Discussion continued in this thread.

 

Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com