Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5965225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:34:25+00:00 2026-05-22T19:34:25+00:00

I have a WCF service project defined in my Silverlight solution. The solution consists

  • 0

I have a WCF service project defined in my Silverlight solution. The solution consists of three projects.

  • MySilverLightApplication [the
    Silverlight app]
  • MySilverLightApplication.Web [the web
    project that hosts it]
  • MyWCFService

I want to establish a secure connection between the Silverlight application and the WCF service so I turned on wsHttpBinding on the service side by editing the service project’s web.config file like so:

<services>
    <service name="ExternalWcfService.extService"
        behaviorConfiguration="ExternalWCF">
        <endpoint address="" binding="wsHttpBinding"
            contract="ExternalWcfService.IextService"/>
        <endpoint address="mex" binding="mexHttpBinding" 
            contract="IMetadataExchange"/>
    </service>
</services>

When I add a reference to this service in the SL client I get NO entry made in the ServiceReferences.ClientConfig file in the Silverlight app. Why is this so? And then when I run the application I get an error like so:

Could not find default endpoint
element that references contract
‘ExternalWCFService.IextService’ in
the ServiceModel client configuration
section. This might be because no
configuration file was found for your
application, or because no endpoint
element matching this contract could
be found in the client element.

I have the silverlight.config file in the Silverlight root folder. Why is the endpoint not getting created in the SL project?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:34:25+00:00Added an answer on May 22, 2026 at 7:34 pm

    I think I figured it out. Apparently Silverlight cannot consume a service configured with wsHttpBinding. It needs to be BasicHttpBinding only! I changed the binding to basic and my endpoint was added to the ServiceReferences.ClientConfig file when I updated my reference.

    Strange!!! why doesnt Silverlight support encoding over the wire?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating solution and inside I have three projects: A WCF Service Library
I have a Visual Studio 2010 solution that contains a WCF service project. When
I have added WCF Service Application project type to my VS solution(4.0). Now, the
I currently have a wcf service library project that includes my service contract &
I have a RESTful WCF web service called "Palladium" as a project in my
Say I have a web project which uses a WCF service for behind-the-scenes processing,
I have a Silverlight project (in VB), which uses a (WCF RIA) Domain Service,
In my project I have a Windows Service and a WCF Service doing some
I have a wcf services projects and a second project for consuming these services
I have a WCF service that I have to reference from a .net 2.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.