Reputation: 49150
There's a requirement of calling an action
or a constructor
of my asp.net MVC5 Web Api
Application whenever I start/restart IIS8
server.
Can it be done (without browsing the site)?
Upvotes: 0
Views: 466
Reputation: 14525
Try the auto start feature of IIS 7.5+: https://www.simple-talk.com/blogs/2013/03/05/speeding-up-your-application-with-the-iis-auto-start-feature/
Upvotes: 1