G
Guest
In VS.2005 there are three templates for storing application info:
Resource File
Settings File
Application File.
1) What is the purpose of each one? When to use, when not?
2) How does VB's My.Setting map to these files?
3) Can a C# application access data written by VB's My.Setting ?
4) How does the ConfigurationManager class map to these files and is it
relevant to VB.Net coders?
5) I suppose it's bad practice to use config files from class libraries as
the code does not know whether it executes in WinForm or WebForm app.
6) If a user executes the business layer alternatively from WinForms app or
WebForm, it is me, the programmer, who has to synchronize the web.configs and
the Winform configs ?
7) VS.2005 now separates user and app configs. What about machine-specific
data like info about peripheral devices? Does it best go to the registry?
thanks herbert
Resource File
Settings File
Application File.
1) What is the purpose of each one? When to use, when not?
2) How does VB's My.Setting map to these files?
3) Can a C# application access data written by VB's My.Setting ?
4) How does the ConfigurationManager class map to these files and is it
relevant to VB.Net coders?
5) I suppose it's bad practice to use config files from class libraries as
the code does not know whether it executes in WinForm or WebForm app.
6) If a user executes the business layer alternatively from WinForms app or
WebForm, it is me, the programmer, who has to synchronize the web.configs and
the Winform configs ?
7) VS.2005 now separates user and app configs. What about machine-specific
data like info about peripheral devices? Does it best go to the registry?
thanks herbert