K
Kele
If you are developing N-Tier applications and in your middle (Business
Logic) Tier you have a Calculate class that performs some function and it
has a app.config and an XML file. The app.config file contains the location
of the XML file and the XML file contains business information for the
class. Then you have a Web Form that uses this class which has a web.config
file.
Is there a way to tell the Calculate class to read the information in from
the app.config class at runtime rather than trying to read the information
from the web.config class? It seems silly that the Web Form should know
about the XML file.
I hope I have explained myself properly.
Cheers Kele.
Logic) Tier you have a Calculate class that performs some function and it
has a app.config and an XML file. The app.config file contains the location
of the XML file and the XML file contains business information for the
class. Then you have a Web Form that uses this class which has a web.config
file.
Is there a way to tell the Calculate class to read the information in from
the app.config class at runtime rather than trying to read the information
from the web.config class? It seems silly that the Web Form should know
about the XML file.
I hope I have explained myself properly.
Cheers Kele.