I use IIS7.5 to make my web application load automatically ( startMode="AlwaysRunning" ), and now I want to preload the cache data. I'm a little confused, although the two approaches seem the same:
- use
Application_Start in global.asax - use
serviceAutoStartProviders in IIS configuration files
They seem redundant and do the same. If so, I'd rather use Application_Start than create code dependencies in IIS configuration files. Any tips?
source share