Only an absolute URI can be used as a base address
问题 Please help getting exception at using (ServiceHost host = new ServiceHost(typeof(HelloService.HelloService))) in the below code Exception : Only an absolute URI can be used as a base address WCF Host Application class Program { static void Main() { using (ServiceHost host = new ServiceHost(typeof(HelloService.HelloService))) { host.Open(); Console.WriteLine("Service Started"); Console.ReadLine(); } } } Contract Implementation public class HelloService : IHelloService { public string