protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
{
return base.CreateServiceHost(serviceType, new Uri[] { new Uri("http://www.yoursite.com/Service.svc") });
}
Service sınıfınıda ServiceHostFactory sınıfından türetin.
No comments:
Post a Comment