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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:58:06+00:00 2026-05-14T14:58:06+00:00

I have a Silverlight 4 app which pulls entities down from a database using

  • 0

I have a Silverlight 4 app which pulls entities down from a database using WCF RIA services. These data objects are fairly simple, just a few fields but one of those fields contains binary data of an arbitrarily size. The application needs access to this data basically asap after a user has logged in, to display in a list, enable selection etc.

My problem is because of the size of this data, the load times are not acceptable and can approach the default timeout of the RIA service.

I’d like to somehow partially load the objects into my local data context so that I have the IDs, names etc but not the binary data. I could then at a later point (ie when it’s actually needed) populate the binary fields of those objects I need to display.

Any suggestions on how to accomplish this would be welcome.

Another approach which has occurred to me whilst writing this question (how often does that happen?!) is that I could move the binary data into a seperate database table joined to the original record 1:1 which would allow me to make use of RIA’s lazy loading on that binary data.

again.. comments welcome! Thanks.

  • 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-14T14:58:06+00:00Added an answer on May 14, 2026 at 2:58 pm

    Don’t change your database. Change your delivery method.

    Create a seperate WCF RIA Service for your quick list of items and use a POCO (plain old clr object) to send down a summary of the data you need. Then, when you’re ready for the big guy, you can download one at a time triggered from data from your POCO.

    Brad Abrams and Nikhil Kothari have talked about using POCO for a while. Look at their MIX speeches for more information.

    Create a new service for your quick list items:

    public class QuickListService : LinqToEntitiesDomainService<MyEntities> 
    {
        private IQueryable<QuickList> GetQuickList() 
        {
            return from t in ObjectContext.Table
                  select new QuickList 
                   {
                          ID = t.ID,
                         Title = t.Title
                  };
        }
    }
    

    Your POCO is simply an object on the server, like this:

    public class QuickList
    {
        public string Title;
        public long ID;
    }
    

    Good luck!

    p.s. Nikhil’s BookClub app does this a lot. If you need to see a real application doing this, download his app: http://www.nikhilk.net/Content/Presentations/MIX10/BookClub.zip

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

Sidebar

Ask A Question

Stats

  • Questions 510k
  • Answers 510k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Take a look at -ftrapv and -fwrapv: -ftrapv This option… May 16, 2026 at 4:53 pm
  • Editorial Team
    Editorial Team added an answer Yes, there are. The following may suit you best: LimeSurvey… May 16, 2026 at 4:53 pm
  • Editorial Team
    Editorial Team added an answer I think the best way (other than working w/ the… May 16, 2026 at 4:53 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a Silverlight App which gets its data from a database. My Silverlight
We have a Silverlight app which we wrote which calls a Silverlight-enabled data service.
I have silverlight 2.0 application and which uses WCF service to get data and
I have a small Silverlight app which downloads all of the images and text
I have a simple Silverlight app which simply sets a DataGrid's ItemsSource to the
I have a Silverlight web app which uses ASP.net Website administration tool for user
I'm writing a silverlight app which does some real-time charting. Basically, I just have
I have built a WCF Service that is being consumed by a Silverlight app.
I have a Silverlight app that displays a number of pages. Each page is
Basically I have a silverlight web App that resides within an IFrame. and that

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.