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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:22:02+00:00 2026-05-18T11:22:02+00:00

After doing some thorough web browsing, I’ve seen two methods for serializing stuff in

  • 0

After doing some thorough web browsing, I’ve seen two methods for serializing stuff in Windows Phone 7 to enter it into IsolatedStorage. I’m using VisualStudio 2010, with the November update for Silverlight, and this is a typical WP7 app, Panorama-based, not that this matters. They both need a couple of “using” clauses, then go through serialization and store the files.

In one of these methods, the one that seems easier and involve less meddling with the class I’m trying to serialize, I’m facing problems at the serialization part. XMLSerializer seems to not be there in the System.Xml.Serialization namespace. Is this something that used to be there and is no more? Here’s an example of page that seems to assume that XmlSerializer is there:

http://fatsweb.blogspot.com/2010/11/tombstoning-in-phone-7-xna-games.html

Note that this is a November post, so it’s fairly new. Is it that maybe it’s there for XNA apps and not for Silverlight apps? In any case, in my VS2010 XmlSerializer gives me the dreaded “type or namespace cannot be found” error and no options for resolving even after adding “using System.Xml.Serialization;” by hand. Any ideas where the heck this is?

One alternative answer seemed to be using the DataContractSerializer, but that would involve lots of meddling with my custom classes, entering all kinds of information for serialization in the class itself. I’d rather avoid that if possible.

  • 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-18T11:22:02+00:00Added an answer on May 18, 2026 at 11:22 am

    In Silverlight (and therefore on the Phone too) this class is in a different assembly (not referenced by default).

    You’ll need to add a reference to System.Xml.Serialization.dll to be able to use it.

    However, be aware that XML serialization is slow. Strongly consider using something else.

    A quick summary of the performance of the different options available:
    – Binary is best for large data. Much faster than JSON and XML.
    – JSON.NET is faster than the JSON serializer in the framework.
    – XML is the slowest.

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

Sidebar

Related Questions

I have a windows service doing some repetitive work (wcf calls) after logging programmaticaly
After doing some work with Ruby, Rails, and RSpec last summer and I learned
I want to convert a string into a double and after doing some math
I'm writing a wizard for an Eclipse RCP application. After doing some processing on
You are doing contract first development of web services in a SOA world. After
I have a program that returns a comma-separated string of numbers after doing some
Context PHP 5.3.x Overview After doing a code-review with an associate who uses both
Alright, after doing a ton of research and trying almost every managed CPP Redist
I'm creating a fast application with ruby on rails, and after doing a lot
I'm just getting back into C++ after a couple of years of doing a

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.