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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:10:04+00:00 2026-05-16T11:10:04+00:00

I am trying to improve the performance of a Silverlight 4 WCF RIA application.

  • 0

I am trying to improve the performance of a Silverlight 4 WCF RIA application. As it’s for intranet use only, I figured switching from the default binary HTTP binding to the Net.TCP binding might improve performance a bit.

However, I am having a hard time just getting a simple proof of concept application running. I have:

  • switched the proof of conecpt app from Cassini to IIS (7)
  • added the appropriate bindings and enabled protocols on IIS
  • added a clientaccesspolicy.xml file to my IIS root

Now, when I create a context like so:

var context = new DomainService1(
new Uri(
    "net.tcp://localhost:4502/BusinessApplication/BusinessApplication2.Web/ClientBin/BusinessApplication2-Web-DomainService1.svc"));

… I get the following error:

The provided URI scheme 'net.tcp' is invalid; expected 'http'. Parameter name: via

Now I’m stumped. As far as I can tell, the problem is that the client being created by the auto-generated WCF RIA code needs to be told that it’s to use a Net.TCP endpoint, but I’m unsure how to do that.

I’ve found plenty of blog posts explaining how to get WCF services going over Net.TCP, but I haven’t found a single one talking about WCF RIA, and I can’t find any offical documentation either. All of those explanations involve changes to the web.config file that seem unsuited to a WCF RIA app.

Could some one please either explain to me how to get this configured, or point me at some documentation?

  • 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-16T11:10:04+00:00Added an answer on May 16, 2026 at 11:10 am

    WCF RIA Services depends on HttpContext which is not available with Net.TCP binding.

    As for perf issues, could you elaborate a bit further? What is the bottleneck query/operation? What is the size of data (entity size x entity count)? What is the delta between your perf requirements and current perf?

    Perhaps there are other ways that don’t involve Net.TCP?

    Thanks.

    Dinesh

    (WCF RIA Services Program Manager)

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

Sidebar

Related Questions

I'm trying to improve performance for my application, and I'd like to change from
I am trying to improve the performance of my web-application so I decided to
I am trying to improve the performance of a web application. I have metrics
I am trying to improve the performance of the threaded application with real-time deadlines.
In order to improve performance reading from a file, I'm trying to read the
I am trying to improve performance on an application using Hibernate which is executing
I'm trying to improve performance for an application that does a lot of bit
From an earlier post about trying to improve my sites performance I have been
I'm trying to improve performance in our app. I've got performance information in the
I'm trying to improve performance in a torrent tracker site . But I've been

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.