c# - Programmatically set IIS preloadEnabled -
is possible set preloadenabled="true" application initialization? schema application in servermanager doesn't seem recognize attribute, when set following, no changes occur.
servermanager servermanager = new servermanager(); application = servermanager.sites[0].applications[0]; application.setattributevalue["preloadenabled"] = "true"; servermanager.commitchanges();
is possible through servermanager, or way?
some context: http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization
see this post
as mentioned, need install module first because default not installed iis8. can starup task outlined in sandrino di mattia's answer , blog post (see link).
Comments
Post a Comment