Unable to browse WCF Service from Server

Discussion in 'ASP.NET 4.0 RC Beta [Closed]' started by robhelle, Mar 1, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Resolved!
     
  2. mjp

    mjp

    What did you do?
     
  3. Feedback on working with WCF and Silverlight

    http://www.user1387.netfx4lab.discountasp.net/Service1.svc , rather than
    http://user1387.netfx4lab.discountasp.net/Service1.svc, was the correct URL - "www" was necessary.

    In web.config -
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" >
    <baseAddressPrefixFilters>
    <add prefix="http://www.user1387.netfx4lab.discountasp.net"/>
    </baseAddressPrefixFilters>
    </serviceHostingEnvironment>

    In ServiceReferences.ClientConfig (on Silverlight Client) -
    <client>
    <endpoint address="http://www.user1387.netfx4 lab.discountasp.net/Service1.svc" binding="customBinding"
    bindingConfiguration="CustomBinding_Service1" contract="ServiceReference1.Service1"
    name="CustomBinding_Service1" />
    </client>
     
  4. mjp

    mjp

    Thanks for the follow-up.
     
  5. robhelle,

    thanks for posting the answer. you tipped me in the right direction and I was able to solve these WCF issues.

    Go DASP!!!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page