public IWebServerConfigurer AssertApplicationPoolExists(string name) { if (!ServerManager.ApplicationPoolExists(name)) { throw WebExceptions.NoApplicationPoolFoundMatchingName(name); } return(this); }