¡@

Home 

c# Programming Glossary: serialization

JavaScriptSerializer.Deserialize - how to change field names

http://stackoverflow.com/questions/1100191/javascriptserializer-deserialize-how-to-change-field-names

Can it be done at all c# json parsing serialization javascriptserializer share improve this question I took..

How do you do a deep copy an object in .Net (C# specifically)?

http://stackoverflow.com/questions/129389/how-do-you-do-a-deep-copy-an-object-in-net-c-specifically

In Java this was easy but how do you do it in C# c# .net serialization share improve this question I've seen a few different approaches..

Generating an Xml Serialization assembly as part of my build

http://stackoverflow.com/questions/134224/generating-an-xml-serialization-assembly-as-part-of-my-build

It appears that the framework automatically generates the serialization assembly if it isn't found. I can generate it manually using.. On setting doesn't appear to do anything. c# xml xml serialization share improve this question This is how I managed to do..

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

domain or different process is invoked. For example the serialization of the transaction object across an application domain boundary... domain boundary even in the same process results in serialization of the transaction object. You can pass the transaction objects..

XML Serialization and Inherited Types

http://stackoverflow.com/questions/20084/xml-serialization-and-inherited-types

would be a real maintenence headache c# xml inheritance serialization xml serialization share improve this question Problem Solved.. maintenence headache c# xml inheritance serialization xml serialization share improve this question Problem Solved OK so I finally..

Serializing and Deserializing Expression Trees in C#

http://stackoverflow.com/questions/217961/serializing-and-deserializing-expression-trees-in-c-sharp

Expressions in a Database and load them at run time. c# serialization expression trees share improve this question I continued..

Why XML-Serializable class need a parameterless constructor

http://stackoverflow.com/questions/267724/why-xml-serializable-class-need-a-parameterless-constructor

a parameterless constructor I'm writing code to do Xml serialization. With below function. public static string SerializeToXml object.. there be a parameterless constructor in order to allow xml serialization to succeed EDIT thanks for cfeduke's answer. The parameterless.. constructor can be private or internal. c# .net xml serialization share improve this question During an object's de serialization..

Proper way to implement IXmlSerializable?

http://stackoverflow.com/questions/279534/proper-way-to-implement-ixmlserializable

Stop 8589246976854775808 MyCalendar c# xml xml serialization share improve this question Yes GetSchema should return null..

Deserialize JSON into C# dynamic object?

http://stackoverflow.com/questions/3142495/deserialize-json-into-c-sharp-dynamic-object

order to use the DataContractJsonSerializer. c# .net json serialization dynamic share improve this question Unfortunately the blog..

How to Deserialize XML document

http://stackoverflow.com/questions/364253/how-to-deserialize-xml-document

return cars that don't seem to work c# asp.net xml serialization xml deserialization share improve this question Here's a.. don't seem to work c# asp.net xml serialization xml deserialization share improve this question Here's a working version. I changed..

Parsing JSON using Json.net

http://stackoverflow.com/questions/401756/parsing-json-using-json-net

luck. Hopefully this all makes sense any ideas c# parsing serialization json.net share improve this question I don't know about JSON.NET..

.NET XML serialization gotchas? [closed]

http://stackoverflow.com/questions/67959/net-xml-serialization-gotchas

XML serialization gotchas closed I've run into a few gotchas when doing C# XML.. closed I've run into a few gotchas when doing C# XML serialization that I thought I'd share You can't serialize items that are.. Any other XML Serialization gotchas out there c# xml serialization share improve this question Another huge gotcha when outputting..

Why is Multiple Inheritance not allowed in Java or C#?

http://stackoverflow.com/questions/995255/why-is-multiple-inheritance-not-allowed-in-java-or-c

complexity impacts casting layout dispatch field access serialization identity comparisons verifiability reflection generics and probably..

What are the differences between the XmlSerializer and BinaryFormatter

http://stackoverflow.com/questions/1154198/what-are-the-differences-between-the-xmlserializer-and-binaryformatter

interfaces the type implements . Here is a good post .NET Serialization comparing the BinaryFormatter SoapFormatter and XmlSerializer..

How do you find out when you've been loaded via XML Serialization?

http://stackoverflow.com/questions/1266547/how-do-you-find-out-when-youve-been-loaded-via-xml-serialization

do you find out when you've been loaded via XML Serialization I'm trying to load a tree of objects via XML serialisation.. to implement IXmlDeserializationCallback using System.Xml.Serialization namespace Custom.Xml.Serialization public interface IXmlDeserializationCallback.. using System.Xml.Serialization namespace Custom.Xml.Serialization public interface IXmlDeserializationCallback void OnXmlDeserialization..

Generating an Xml Serialization assembly as part of my build

http://stackoverflow.com/questions/134224/generating-an-xml-serialization-assembly-as-part-of-my-build

an Xml Serialization assembly as part of my build This code produces a FileNotFoundException.. exception. How do I get visual studio to generate the XML Serialization assembly automatically Update The Generate Serialization Assembly.. Serialization assembly automatically Update The Generate Serialization Assembly On setting doesn't appear to do anything. c# xml xml..

Using StringWriter for XML Serialization

http://stackoverflow.com/questions/1564718/using-stringwriter-for-xml-serialization

StringWriter for XML Serialization I'm currently searching for an easy way to serialize objects..

.net XML Serialization - Storing Reference instead of Object Copy

http://stackoverflow.com/questions/1617528/net-xml-serialization-storing-reference-instead-of-object-copy

XML Serialization Storing Reference instead of Object Copy In .Net C# Application.. instance xmlns z http schemas.microsoft.com 2003 10 Serialization Person z Id 2 Friend z Id 3 Friend i nil true Name z Id 4..

Serialize a Bitmap in C#/.NET to XML

http://stackoverflow.com/questions/1907077/serialize-a-bitmap-in-c-net-to-xml

posted here http www.dotnetspider.com resources 4759 XML Serialization C Part II Images.aspx . However since this includes adding another..

Best way to store data locally in .NET (C#)

http://stackoverflow.com/questions/1941928/best-way-to-store-data-locally-in-net-c

writer class for files because it is easily serialized. Serialization in C# Serialization known as pickling in python is an easy way.. files because it is easily serialized. Serialization in C# Serialization known as pickling in python is an easy way to convert an object..

XML Serialization and Inherited Types

http://stackoverflow.com/questions/20084/xml-serialization-and-inherited-types

Serialization and Inherited Types following on from my previous question.. using System.Text using System.Xml.Serialization namespace Utility.Xml public class AbstractXmlSerializer AbstractType.. summary DO NOT USE This is only added to enable XML Serialization. summary remarks DO NOT USE THIS CONSTRUCTOR remarks public..

XML Serialization and namespace prefixes

http://stackoverflow.com/questions/2339782/xml-serialization-and-namespace-prefixes

Serialization and namespace prefixes I'm looking for a way with C# which..

EF 4.1 - Code First - JSON Circular Reference Serialization Error

http://stackoverflow.com/questions/5588143/ef-4-1-code-first-json-circular-reference-serialization-error

4.1 Code First JSON Circular Reference Serialization Error I am getting an a Circular Reference Serialization Error.. Serialization Error I am getting an a Circular Reference Serialization Error although to my knowledge I do not have any circular references...

When should i use [Serializable] in C#? [closed]

http://stackoverflow.com/questions/5877808/when-should-i-use-serializable-in-c

format. This conversion is called SERIALIZATION. Uses for Serialization Serialization allows the developer to save the state of an object.. conversion is called SERIALIZATION. Uses for Serialization Serialization allows the developer to save the state of an object and recreate..

.NET XML serialization gotchas? [closed]

http://stackoverflow.com/questions/67959/net-xml-serialization-gotchas

using System.Text using System.Xml.Serialization XmlRoot dictionary public class SerializableDictionary TKey.. writer.WriteEndElement Any other XML Serialization gotchas out there c# xml serialization share improve this..

Deep cloning objects in C#

http://stackoverflow.com/questions/78536/deep-cloning-objects-in-c-sharp

using System using System.IO using System.Runtime.Serialization using System.Runtime.Serialization.Formatters.Binary summary.. using System.Runtime.Serialization using System.Runtime.Serialization.Formatters.Binary summary Reference Article http www.codeproject.com.. a method for performing a deep copy of an object. Binary Serialization is used to perform the copy. summary public static class ObjectCopier..