braulio
12-22-2008, 10:29 AM
Hello,
I have just deployed my application into ASP .net discount, and found that there are issues on ASP .net discount and how it handles domain names.
Found this workaround:
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
{
// Specify the exact URL of your web service
Uri webServiceAddress = new Uri("http://dbschemaedi.web140.discountasp.net/WsCommunicator/AuthenticationService.svc");
ServiceHost webServiceHost = new ServiceHost(serviceType, webServiceAddress);
return webServiceHost;
}
<%@ ServiceHost Language="C#" Service="System.Web.ApplicationServices.AuthenticationServi ce" Factory="MainApplicationWebProject.WSCommunicator.Authentic ationHostFactory"%>
But still not working, please, is there any solution or something that I'm missing. In case that ASP .net discount does not support this scenario, could you please point me on other hosting companies that work with WCF services?
Thanks
Braulio
I have just deployed my application into ASP .net discount, and found that there are issues on ASP .net discount and how it handles domain names.
Found this workaround:
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
{
// Specify the exact URL of your web service
Uri webServiceAddress = new Uri("http://dbschemaedi.web140.discountasp.net/WsCommunicator/AuthenticationService.svc");
ServiceHost webServiceHost = new ServiceHost(serviceType, webServiceAddress);
return webServiceHost;
}
<%@ ServiceHost Language="C#" Service="System.Web.ApplicationServices.AuthenticationServi ce" Factory="MainApplicationWebProject.WSCommunicator.Authentic ationHostFactory"%>
But still not working, please, is there any solution or something that I'm missing. In case that ASP .net discount does not support this scenario, could you please point me on other hosting companies that work with WCF services?
Thanks
Braulio