Created
January 15, 2013 02:31
-
-
Save iamggreen/4535526 to your computer and use it in GitHub Desktop.
Publishing WCF-Rest Services On GoDaddy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomWebServiceHostFactory : WebServiceHostFactory | |
{ | |
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) | |
{ | |
return new CustomWebServiceHost(serviceType, baseAddresses); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment