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 376251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:34:52+00:00 2026-05-12T14:34:52+00:00

My team owns both the WCF service and the Silverlight 3.0 application that will

  • 0

My team owns both the WCF service and the Silverlight 3.0 application that will be consuming it.

We do not want to use svcutil to generate proxies as it adds complexity to the development process. We’ve been down that road before and we’re not doing it again.

I’ve successfully used the ChannelFactory on a WinForms app and I’d like to use it again on this project. The difficulty seems to be that Silverlight expects Begin… and End… methods on the WCF service itself. I can understand that Silverlight might want to make the call asynchronously on a worker thread, but why does my service contract have to change to support this?

I feel like I’m missing something important here, but it’s not obvious to me what it is.

Is it really necessary to change the service contract of a WCF service just so it can be consumed by a Silverlight app?

  • 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-12T14:34:52+00:00Added an answer on May 12, 2026 at 2:34 pm

    Well, you need the ‘Begin’ and ‘End’ methods on the interface so you have something to call.

    That said, the sync v async is a ‘local’ thing, you can have the server have sync contracts (for the implementation) and the clients have the equivalent async contracts (for Silverlight). This means two different interfaces (or two copies of the same interface that just differ in AsyncPattern=true, if you think of it that way). But basically it’s the same “contract” just projected into two different CLR interfaces to provide two different programming models for supply/consumption.

    (Does that ‘help’?)

    (See e.g.

    http://blogs.msdn.com/mjm/archive/2005/05/04/414793.aspx

    which starts with two CLR interfaces that describe the exact same contract, but offer two different programming models for that contract.)

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

Sidebar

Related Questions

Team, I have an ASP.NET MVC application that I'm deploying. When I deploy it
My team and I are currently developing an application for both Android and iOS
I want to AdHoc test an application. My client owns an Apple account and
Team S are remote from team C. Team S create a WCF web service
Our team builds and owns a webservices framework. Other teams which actually build the
Team Foundation Server 2008 allows that every check-in is associated with a work item,
Team: I am building a business rules engine that is contextually aware -- but
Team: I need to invoke a WF activity (XAML) from a WF service (XAMLX)
Team explorer is a real pain to use for some simple tasks, and is
Team I'm creating an iphone application using Sencha Touch. I have registration form ,

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.