I am not sure it was ever a good idea to use global.asax, as you have to
recompile to configure (not as much in 2.0, which will recompile single
files on the fly, of course). The config file is still recommended, although
it is a good idea to encrypt on teh machine you are going to run it on.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"djc" <no***@nowhere.comwrote in message
news:ez****************@TK2MSFTNGP05.phx.gbl...
is it still customary to use web.config and global.asax to store
connection strings? For example storing the string in web.config and using
application start procedure in global.asax to declare a global app
variable?
I'm an off and on hobby programmer and this was the last method
recommended to me. As I start new projects I try to find out and follow
the recommended practices of the day.