using (Microsoft.Web.Administration.ServerManager serverManager = new Microsoft.Web.Administration.ServerManager()) { Microsoft.Web.Administration.Site site = serverManager.Sites[0]; site.Bindings.Count(); site.Bindings.Clear(); if (site != null) { site.Bindings.Add("*:80:", "http"); } serverManager.CommitChanges(); }
Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)