Resource File for often used variables

gdboling

Member
Joined
Jul 11, 2003
Messages
12
Location
Wichita, KS
I come from a J2EE/STRUTS background. With struts there is a "resource" file where I can specify things like common error message, common label values, etc. The purpose in that is so that there is one file to change those values instead of searching through all the code. Also, for international purposes. You simply declare a resource file for each language.

I know that in the web.config file I can specify an <AppSettings> attribute and specify some common things like I mentioned above.

My question is, is this the only "accepted" method of doing this. And also, can you specify a seperate config file that contains only the <AppSettings> and if so, how do I tell my web app to use that as well as the web.config file.

Thanks for any help.

Gregg
 
Back
Top