How static are static variables in ASP.NET?
This is not a real example, but it's good enough to make the point. Say I
have a custom control with a dictionary. The dictionary is composed of
10,000 strings read from a file and hashed. Obviously I don't want/need to
rebuild the data structure for each page render.
If it were a traditional application, I would use a static constructor and
hashtable. Can I expect this to work in IIS?
I ask because .net seems to rebuild projects on key file changes (like
global.asax). Does this feature destroy the usefullness of static
variables?
Thanks,
Brian