locked
Hosting my WCF/Silverlight App at a WebHoster RRS feed

  • Question

  • I have a website that hosts my WCF service.  The website also has some silverlight pages that call the WCF service.  Everything works fine on my dev system and on other dedicated servers.  However...

    When I deploy to my webhoster shared server it does not work.  If you enter http://www.deanblakely.com/DBAService.svc into  a browser it resolves to http://pennsylvania.ad.safesecureweb.com/DBAService.svc?wsdl which is the host server because I specify "localhost" everywhere in my solution.

    Looking at the deployed website web.config I see that it says...

    <service behaviorConfiguration="ServiceBehavior" name="DBAWCFService.DBAService">
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="myBindingForBigArrays"
         contract="DBAWCFService.IDBAService">
         <identity>
          <dns value="localhost" />
         </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
       </service>

    I tried changing the localhost to www.deanblakely.com but that had no effect.

    What needs to be done to run on a shared server?
    Thanks,
    Gary

    .net Developer
    Thursday, August 6, 2009 5:58 AM

Answers

All replies