New Posts New Posts RSS Feed: DiscoverVerifiersFromConfig...
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

DiscoverVerifiersFromConfig...

 Post Reply Post Reply
Author
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Topic: DiscoverVerifiersFromConfig...
    Posted: 14-May-2010 at 10:04pm
We generally recommend that you define your verifiers in code and have them loaded by creating a class that implements the IVerifierProvider interface (which has one method called GetVerifiers).
 
If you still want to load them from xml, you can put them in the app.config/web.config and DiscoverVerifiersFromConfig() will load them from there.  There also used to be a signature to load verifiers from a stream, which could have been sourced from xml in an database.  If you guys still really want these features, we can bring it back, but we found that almost nobody was using it.
 
Back to Top
as123 View Drop Down
Newbie
Newbie


Joined: 27-Apr-2010
Posts: 30
Post Options Post Options   Quote as123 Quote  Post ReplyReply Direct Link To This Post Posted: 14-May-2010 at 10:44am
                  Is DiscoverVerifiersFromConfig(string FileName) method, with a string parameter to accept xml config file name for Verifiers, no longer supported? What is the equivalent method in DevForce 2010 SL version?
 

                  In the documentation it is mentioned that "The engine automatically discovers rules in the code and can acquire rules defined externally in configuration XML, a database, or some other store of rules."  How to define rules in a database and acquire them (using DF 2010 SL version)?

 

Thanks


Edited by as123 - 14-May-2010 at 11:44am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down