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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:26:02+00:00 2026-05-21T14:26:02+00:00

Why is SerializableAttribute not included in the Silverlight version of FCL? And also, BinaryFormatter

  • 0

Why is SerializableAttribute not included in the Silverlight version of FCL?

And also, BinaryFormatter is not in there either.

I am not looking for an alternative solution, I am just curious about the fact.

Is binary serialization fundamentally against some of Silverlight’s design rules?

  • 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-21T14:26:03+00:00Added an answer on May 21, 2026 at 2:26 pm

    Firstly, Silverlight has different permission rules – much harder to get at the private fields. Of course, for the FCL designers I don’t think this would be a problem – they could just code that into the runtime (but re-creating a potential way of side-stepping the sandbox).

    Perhaps the biggie is that Silverlight doesn’t need (or want) to support “remoting”, which is the main reason it has to exist in the main .NET BCL. Of course, remoting is out of fashion generally, but needs to be in core .NET for backwards compatibility.

    A third reason could well be the very nature of BinaryFormatter; many classes in SL have different implementations inside the SL runtime, to account for different features and available types / security / etc. This makes it virtually impossible to have it wire compatible with the core .NET runtime. So you wouldn’t be able to share it with your server code.

    Overall, then, it makes great sense to just cut it. For app<===>server, contract-based serializers exist; and other (dare I say: better) binary serializers are available that avoid all these problems (i.e. are fully portable).

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

Sidebar

Related Questions

Is there a way to somehow mark Types I do not control as Obsolete?
Based on my understanding, SerializableAttribute provides no compile time checks, as it's all done
It seems there is a known bug in wsdl.exe, the tool that Visual Studio
Is there any way to serialize an anonymous type in .net? Normal XmlSerializer fails
I have a WSDL that the consumer of my web service expects will be
Sometimes I've made a namespace in C# (I don't know if the problem is
I'm having this very odd issue while trying to serialize a class for logging
I ran across this issue today and was able to determine that, when doing
I want to be able to load a serialized xml class to a Soap
The HR-XML 3.0 spec provides WSDL's to generate their entities. I'm trying to deserialize

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.