N
nfr
WROX's "Professional ADO.NET" makes the following statement on page 54 when
discussing obtaining connection strings from a config file:
"In Web applications this file must be name web.config. In Console
applications, the configuration file also ends in .config, but is prefixed
with application name, such as MyApp.exe.config. Windows Forms applications
do not use configuration files."
I am curious why Windows Forms do not use config files and also what about
Windows Service apps (or they treated as "console" apps?)?
discussing obtaining connection strings from a config file:
"In Web applications this file must be name web.config. In Console
applications, the configuration file also ends in .config, but is prefixed
with application name, such as MyApp.exe.config. Windows Forms applications
do not use configuration files."
I am curious why Windows Forms do not use config files and also what about
Windows Service apps (or they treated as "console" apps?)?