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

  • Home
  • SEARCH
  • 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 7043457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:17:31+00:00 2026-05-28T02:17:31+00:00

What steps must I take to convert from RIA Services to plain WCF Services?

  • 0

What steps must I take to convert from RIA Services to plain WCF Services?

Notes:

  • I have one service with 6 methods
  • I am passing large object back & forth and I want more control over them, so I need to switch to WCF
  • I am using Silverlight as my primary client
  • 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-28T02:17:31+00:00Added an answer on May 28, 2026 at 2:17 am

    In brief, if you’re passing a large object back and forth to the service, then you’re probably doing it wrong. Just send your object to the server, do all the required processing on the server, and then simply return the result back to the client. Why should you incur the performance and bandwidth costs of transferring the large object back and forth across the wire (over HTTP)?

    Since you’re using Silverlight as your primary client, then you will be using Asynchronous calls (which is yet another reason to stick to one call to the service). There are several ways you can manage instantiating your WCF service: You can either do it the simplest way by adding a reference of the service to your Silverlight client, or you could write some custom client that can execute methods on your service as follows:

    client.ExecuteAsync<IService, TResult>(String methodName, Action<TResult> complete, Action<Exception> failure, params object[] parameters)

    Then in your service contracts, you should write both versions of your operations: the synchronous and the asynchronous. For that, use a compiler conditional to separate the two:

    #if(SILVERLIGHT)
    [OperationContract(AsyncPattern = true)]
    IAsyncResult BeginMyMethod(Int32 value, AsyncCallback callback, Object asyncState);
    Double EndMyMethod(IAsyncResult result);
    
    //more operations
    
    #else
    [OperationContract]
    Double MyMethod(Int32 value);
    
    //rest of the methods
    
    #endif
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What steps I need to perform in order to convert asp.net 2 application from
What steps do I have to take to configure my sendmail server to implement
What steps do I take? Any gotchas to be aware of or tips to
What steps should I follow to upgrade a Ruby project from 1.8.6 to 1.8.7?
What steps are needed to compile Version Information inside a windows DLL from the
What are some good steps to follow for a smooth migration from PHP4 to
This is my first steps with XML and I must send a XML by
I imagine this must have a simple answer, but I am struggling: I want
Have I missed anything? Are there any additional steps storing passwords to the DB?
I have the following issue: I want to display Tickets from a helpdesk system

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.