You need to add a Serializable
attribute to the class which you want to serialize.
[Serializable]
public class OrgPermission
More Related Contents:
- Determine if a number can be made with prepicked numbers and times
- How to Deserialize XML document
- How do you do a deep copy of an object in .NET? [duplicate]
- Path.Combine for URLs?
- Serialize Class containing Dictionary member
- “Self Referencing Loop Detected” exception with JSON.Net
- Could not find a part of the path … bin\roslyn\csc.exe
- ASP.NET MVC Global Variables
- How do you find out when you’ve been loaded via XML Serialization?
- Printing to a client printer from a web app
- How can I ignore a property when serializing using the DataContractSerializer?
- How to set attributes values using reflection
- How can I remove item from querystring in asp.net using c#?
- ASP.NET MVC Razor render without encoding
- Error Deserializing Xml to Object – xmlns=” was not expected
- ef4 cause Circular reference in web service
- What are the differences between the XmlSerializer and BinaryFormatter
- No authenticationScheme was specified, and there was no DefaultChallengeScheme found with default authentification and custom authorization
- How to serialize an Exception object in C#?
- Encrypting Web.Config
- How can I handle forms authentication timeout exceptions in ASP.NET?
- MEF with MVC 4 or 5 – Pluggable Architecture (2014)
- How do I force full post-back from a button within an UpdatePanel?
- Multiples Table in DataReader
- ThreadStaticAttribute in ASP.NET
- Unable to find the requested .Net Framework Data Provider. It may not be installed
- System.web.mvc missing
- How to convert DataTable to class Object?
- How to implement Security Protocols TLS 1.2 in .Net 3.5 framework
- Best way to restrict access by IP address?