¡@

Home 

c# Programming Glossary: serializing

A circular reference was detected while serializing an object of type 'SubSonic.Schema .DatabaseColumn'.

http://stackoverflow.com/questions/1153385/a-circular-reference-was-detected-while-serializing-an-object-of-type-subsonic

circular reference was detected while serializing an object of type 'SubSonic.Schema .DatabaseColumn'. I am trying..

Has an event handler already been added?

http://stackoverflow.com/questions/136975/has-an-event-handler-already-been-added

tell if an event handler has been added to an object I'm serializing a list of objects into out of session state so we can use SQL..

Serialize a Bitmap in C#/.NET to XML

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

public Bitmap LargeIcon get set I now have found out that serializing the Bitmap with the default XML serializer does not work because.. this seems to me a bit of a hack. There is also a deep XML serializing project on sourceforge. I rather would not like referencing..

XML Serialization and Inherited Types

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

interface this is pretty straight forward but when serializing we need to ensure we write the type of the concrete class to.. concrete class to the XML so we can cast it back when de serializing. It is also important to note it must be fully qualified as.. in the XML differs ' type.Name ' . Read the Data Deserializing based on the now known concrete type. reader.ReadStartElement..

Using Protobuf-net, I suddenly got an exception about an unknown wire-type

http://stackoverflow.com/questions/2152978/using-protobuf-net-i-suddenly-got-an-exception-about-an-unknown-wire-type

for good form Suddenly I receive a ProtoException when deserializing and the message is unknown wire type 6 What is a wire type What.. a field is causing the problem how to debug this Are you serializing to a file The most likely cause in my experience is that you..

What's the difference between using the Serializable attribute & implementing ISerializable?

http://stackoverflow.com/questions/2365152/whats-the-difference-between-using-the-serializable-attribute-implementing-is

at compile time in such a way that when at run time the serializing facilities will know what to serialize based on the attributes.. public class MyFoo The above indicates that the serializing facility should serialize the entire class MyFoo whereas public.. context there would be a finer degree of control over the serializing of the data. See also this example of a custom serialization..

Why XML-Serializable class need a parameterless constructor

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

an object's de serialization the class responsible for de serializing an object creates an instance of the serialized class and then..

Comparison of XSD Code Generators

http://stackoverflow.com/questions/386155/comparison-of-xsd-code-generators

2 and 5 do not generate 2.0 code and I have problems with serializing code from 3 . What do you use when generating code c# xsd code..

Parsing JSON using Json.net

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

find little to no examples of usage for it. It seems like serializing first then using LINQ with my object would be ideal and every.. object would be ideal and every example I find discusses serializing the JSON first but I'm not sure how I would build an object..

When to use struct in C#?

http://stackoverflow.com/questions/521298/when-to-use-struct-in-c

the internal array must be resized. MemSize determined by serializing the dictionary into a MemoryStream and getting a byte length..

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

is the error Error A circular reference was detected while serializing an object of type 'System.Data.Entity.DynamicProxies.Order_83CECF2AA4DE38232F9077D4B26941AB96BC61230419EA8AC42C9100E6072812'... A circular reference was detected while serializing an object of type 'System.Data.Entity.DynamicProxies.Order_83CECF2AA4DE38232F9077D4B26941AB96BC61230419EA8AC42C9100E6072812'...

ef4 cause Circular reference in web service

http://stackoverflow.com/questions/5762135/ef4-cause-circular-reference-in-web-service

the web method A circular reference was detected while serializing an object of type 'System.Data.Entity.DynamicProxies.Reason_24A0E4BBE02EE6BC2CF30BB56CFCB670C7D9D96D03D40AF4D174B89C9D3C5537'..

Omitting all xsi and xsd namespaces when serializing an object in .NET?

http://stackoverflow.com/questions/625927/omitting-all-xsi-and-xsd-namespaces-when-serializing-an-object-in-net

all xsi and xsd namespaces when serializing an object in .NET The code looks like this StringBuilder builder..

Make ASP.NET WCF convert dictionary to JSON, omitting “Key” & “Value” tags

http://stackoverflow.com/questions/7590088/make-asp-net-wcf-convert-dictionary-to-json-omitting-key-value-tags

and wrap the dictionary class then you can override the serializing deserializing methods and be able to do what you want. See example.. dictionary class then you can override the serializing deserializing methods and be able to do what you want. See example below and..

Save and load MemoryStream to/from a file

http://stackoverflow.com/questions/8624071/save-and-load-memorystream-to-from-a-file

and load MemoryStream to from a file I am serializing an structure into a MemoryStream and I want to save and load..

Parse JSON in C#

http://stackoverflow.com/questions/1212344/parse-json-in-c-sharp

GoogleSearchResults json Link Serializing and Deserializing JSON with Json.NET Related C# parsing json.. so you can just call them on the JsonConvert class. Link Serializing and Deserializing JSON with Json.NET Now the reason you're getting..

Serializing .NET dictionary [duplicate]

http://stackoverflow.com/questions/1299071/serializing-net-dictionary

.NET dictionary duplicate Possible Duplicate Serialize Class..

DTOs vs Serializing Persisted Entities

http://stackoverflow.com/questions/1688473/dtos-vs-serializing-persisted-entities

vs Serializing Persisted Entities I'm curious to know what the community feels..

Suppress xsi:nil but still show Empty Element when Serializing in .Net

http://stackoverflow.com/questions/1710107/suppress-xsinil-but-still-show-empty-element-when-serializing-in-net

xsi nil but still show Empty Element when Serializing in .Net I have a c# class that has 20 string properties. I..

Serializing and Deserializing Expression Trees in C#

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

and Deserializing Expression Trees in C# Is there a way to.. I continued work on the library that was mentioned by Serializing and Deserializing Expression Trees in C# It looks like the project..

How to suppress XML tag for list property

http://stackoverflow.com/questions/314242/how-to-suppress-xml-tag-for-list-property

public class FooBar public int MyProperty get set Serializing Foo gives except the comment Foo xmlns xsi http www.w3.org 2001..

How to post an array of complex objects with JSON, jQuery to ASP.NET MVC Controller?

http://stackoverflow.com/questions/320291/how-to-post-an-array-of-complex-objects-with-json-jquery-to-asp-net-mvc-control

JsonConvert.DeserializeObject is from Json.NET Link Serializing and Deserializing JSON with Json.NET share improve this answer..

Serializing anonymous delegates in C#

http://stackoverflow.com/questions/321827/serializing-anonymous-delegates-in-c-sharp

anonymous delegates in C# I am trying to determine what issues..

Parsing JSON using Json.net

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

Foo foo JsonConvert.DeserializeObject Foo json Link Serializing and Deserializing JSON with Json.NET share improve this answer..

deserializing JSON to .net object using NewtonSoft (or linq to json maybe?)

http://stackoverflow.com/questions/4749639/deserializing-json-to-net-object-using-newtonsoft-or-linq-to-json-maybe

with missing object properties like Twitter. Documentation Serializing and Deserializing JSON with Json.NET and LINQ to JSON with Json.NET..

Serializing an array of integers using XmlSerializer

http://stackoverflow.com/questions/553824/serializing-an-array-of-integers-using-xmlserializer

an array of integers using XmlSerializer I'm encountering a..

Serializing dictionaries with JavaScriptSerializer

http://stackoverflow.com/questions/6416950/serializing-dictionaries-with-javascriptserializer

dictionaries with JavaScriptSerializer Apparently IDictionary..

Serializing private member data

http://stackoverflow.com/questions/802711/serializing-private-member-data

private member data I'm trying to serialize an object to XML..

Serializing null in JSON.NET

http://stackoverflow.com/questions/8833961/serializing-null-in-json-net

null in JSON.NET When serializing arbitrary data via JSON.NET..