private void MoveClientBinding( string instanceNameSource, string instanceNameTarget, string clientName ) { IISBindings bindings = new IISBindings(); ClientManager clientManager = new ClientManager(Path.Combine( ConfigurationManager.AppSettings["InstanceRoot"], instanceNameSource, "App_Data", "Clients.xml" )); Client client = clientManager.GetSingle(clientName); bindings.RemoveBindings( instanceNameSource, client.Host ); bindings.AddBindings( instanceNameTarget, client.Host ); }