Tag Info

New answers tagged

1

Use the C# following code to modify the web.config: string content; string WebServiceServer = "example.com"; // <=== your host-name here using (TextReader tr = File.OpenText(bindingFilePath)) { content = String.Format(tr.ReadToEnd(), WebServiceServer); } SPWebConfigModification modification = new SPWebConfigModification("system.serviceModel", ...



Top 50 recent answers are included