Using Enterprise Library in a tiered application

Topics: Data Access Application Block
Aug 10, 2009 at 9:42 AM

I have a windows form application which uses a class library to get the data. The class library used Data Access application block to access the data. The class is also hosted on another machine with the help of .net remoting. Could anyone please tell me how to add the config file for the data access on the machine on which it is hosted. I dont want to keep the config file on the client pc.

Aug 11, 2009 at 6:24 AM

Your requirement seems weird but anyway, seems like it would require modifying the config during runtime.  However, changes to config file won't take effect unless the application is restarted, (only changes to the logging application block can be read during runtime).  Why don't you just configure the daab section on the hosting application? 


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.