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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:57:29+00:00 2026-05-11T19:57:29+00:00

I have a legacy dot net application (now migrated to .net 2.0). We need

  • 0

I have a legacy dot net application (now migrated to .net 2.0).

We need to convert this application to silverlight.

Problem here is the datalayer. All the methods from the datalayer return datasets.
The entire web application is using datasets for databinding.

Now the questions are:

  1. Can I use the same datasets for silverlight pages also?
  2. Or do I have to create a wrapper around the datalayer?
  3. Or do I have to change the entire datalayer architecture (like returning collections etc)?

Please suggest the best possible way.

Thanks,
SNA

  • 1 1 Answer
  • 3 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-11T19:57:30+00:00Added an answer on May 11, 2026 at 7:57 pm

    Unfortunately, DataSets aren’t supported in Silverlight 2 (and afaik aren’t coming in Silverlight 3).

    I’m going to assume that your current data layer has methods like GetTopCustomers that return DataSets, then the client application can modify that data and re-submit it to a data layer function like UpdateCustomers that takes a DataSet as a parameter and then submits changes to a database. If this is the case I think you’ll have a tough time writing a wrapper because you’ll be on your own for enforcing referential integrity and tracking changes on the client side. It’s certainly possible but I think it’ll be more pain than its worth. So imo creating a wrapper around your data layer would be equivalent to changing the entire data layer architecture to return collections, etc.

    You best bet for a data layer is .NET RIA Services, which ships sometime in the Silverlight 3 timeframe. It’s a huge leap over the current technology, ADO.NET Data Services, in that it adds change tracking and a DataSet-like “context” for the client. It also allows direct sharing of code between ASP.NET (or any part of the full .NET Framework) and Silverlight so your business rules can be run on both the client side and server side. Rewriting your data layer may not sound appealing, but I think it’ll spare you much pain and you’ll get a huge return if you choose .NET RIA Services. If that choice doesn’t fit the other option is to use ADO.NET Data Services to ship the data back and forth (combined with a wrapper for your current data layer) or to write your own custom WCF services to provide CRUD operations (again with a wrapper on your current data layer).

    Good luck!

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

Sidebar

Related Questions

I have a legacy C++ application that uses DDS for asynchronous communication/messaging. I need
I have a legacy stylesheet that is now full of unused styles. The problem
I have a legacy ASP.NET application in which there are some session/concurrency related issues
I have a legacy database with 3 tables like this: (source: bilder-hochladen.net ) The
I have legacy asp.net 1.1 website. It has a very poor VB layered achitecture.
I have a legacy VB6 application that was built using MSDE. As many client's
I have a legacy WinForms Mdi App in VB.Net 2.0 which I am adding
We have a legacy ASP.net powered site running on a IIS server, the site
I have this legacy code base (Compaq PERL) , about 1500 lines of code,
I have a legacy ASP application which - at some point soon - needs

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.