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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:04:53+00:00 2026-06-05T12:04:53+00:00

While searching for the DataContractSerialization I have found various articles which mentions that DataContractSerialization

  • 0

While searching for the DataContractSerialization I have found various articles which mentions that DataContractSerialization is used with WCF. Now I am working on one of desktop application with .net 4.0(not any kind of service). This application have variuos data to serialize.

By looking at the features of DataContractSerialization I want to use DataContractSerialization for my application.

So please tell me whether DataContractSerialization can be used for desktop applications and any guidlines for handling the versioning.

  • 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-06-05T12:04:54+00:00Added an answer on June 5, 2026 at 12:04 pm

    You can use datacontractserializer for desktop applications no problems. As for versioning, you can add new members to an existing data contract, and quite easily handle missing data.

    However, if you want to remove fields or change the meaning of existing fields (e.g. your shoe property “size” used to be a eur size but is now a UK shoesize) then it quickly gets difficult. Then you should create a new contract version. See this question: Simple data file versioning with DataContractSerializer.

    Here is a document from microsoft on versioning strategies

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

Sidebar

Related Questions

Spent a while searching on this and found nothing that related directly. I have
I'm searching a while for this and I can't found something that works for
I have one TextBox and one listbox for searching a collection of data. While
While searching for the solution, I've come across various links which talk about reading
While searching for an answer to this question I found this sample code which
I have a UIButton that when clicked starts searching for data. But while searching,
I am new to spring framework....while searching on google..I found few examples which has
While searching the web, I found this code: $apprequest_url =https://graph.facebook.com/ . /apprequests?ids=USERID_1,USERID_2,USERID_3 . &message='INSERT_UT8_STRING_MSG'
While searching a bug in my code today I found a strange thing. When
While searching for some functions in C++ standard library documentation I read that push

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.