I have created one basic WCF Service. It thrown an exception at line shown below.
ServiceHost host = new ServiceHost(typeof(MyApplication.ITransactionService1));
An unhandled exception of type 'System.ArgumentException' occurred in System.ServiceModel.dll Additional information: ServiceHost only supports class service types.
ITransactionService1look like?typeof(MyApplication.ConcreteTransactionService)It looks like you are getting the type of an interface and not the implementation.