hi guys,
I need your help on this.....
which is the fastest way to access global vars? (performance-wise)
#1. Applcation State
#2. <appSettings>
#3. Static public variable (global.asax)
(are there any other means?)
Thanks,
> #2. <appSettings>
This is a disk read
> #3. Static public variable (global.asax)
straight read.
You aren't looking at much difference here so that it would matter. What are
you trying to accomplish.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
<rgh...@unionbankph.com> wrote in message
news:40415fbf...@news.microsoft.com...
-mike
MVP
<rgh...@unionbankph.com> wrote in message
news:40415fbf...@news.microsoft.com...
btw, on #2 as I understand it, appsettings will not be considered as a disk read (unless it's read for the 1st time) because it is cached.