¡@

Home 

c# Programming Glossary: serializes

How to record window position in WinForms application settings

http://stackoverflow.com/questions/105932/how-to-record-window-position-in-winforms-application-settings

To reduce the work I created a WindowSettings class that serializes the window location size state and any splitter positions to..

What are the differences between the XmlSerializer and BinaryFormatter

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

object data. This means that when the binary formatter deserializes the object it knows its type builds the correct object and you.. implements. The XML serializer on the otherhand just serializes to a schema and only serializes the public fields and values.. on the otherhand just serializes to a schema and only serializes the public fields and values of the object and no type information..

Is ResponseStatus needed in ServiceStack?

http://stackoverflow.com/questions/11750799/is-responsestatus-needed-in-servicestack

all validation and error handling built into ServiceStack serializes into. i.e. Any C# exceptions that are thrown from inside your..

Serialize C# class directly to SQL server?

http://stackoverflow.com/questions/1212555/serialize-c-sharp-class-directly-to-sql-server

XmlSerializer you may want a helper method somewhere which serializes the class to a string... public static string SerializeToXml..

Public fields/properties of a class derived from BindingList<T> wont serialize

http://stackoverflow.com/questions/1225750/public-fields-properties-of-a-class-derived-from-bindinglistt-wont-serialize

handles collections in a specific way and never serializes the fields or properties of the collection only the items. You..

How to make designer generated .Net application settings portable

http://stackoverflow.com/questions/1382617/how-to-make-designer-generated-net-application-settings-portable

Studio designer generated Settings class which by default serializes user settings to the user's home directory. I'd like to change..

TransactionScope automatically escalating to MSDTC on some machines?

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

to access a remote transactional serviced component. This serializes the transaction object and results in an escalation as when..

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

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

classes if you mark them with Serializable attribute. This serializes all members of a class except those marked as NonSerialized..

How To Test if Type is Primitive

http://stackoverflow.com/questions/2442534/how-to-test-if-type-is-primitive

To Test if Type is Primitive I have a block of code that serializes a type into a Html tag. Type t typeof T I pass T in as a paramter..

JQuery ajax call to httpget webmethod (c#) not working

http://stackoverflow.com/questions/2651091/jquery-ajax-call-to-httpget-webmethod-c-not-working

id li1234 version 1 works var idAsJson ' ' id ' ' string serializes in JSON format .ajax type GET url webmethods.asmx AjaxGet id..

How to create an XPS document?

http://stackoverflow.com/questions/352540/how-to-create-an-xps-document

writer.Write fDoc.DocumentPaginator p.Flush this part serializes the doc to a stream so we can get the bytes ms new MemoryStream..

Saving a Class to disk on dispose: Does my code have bugs?

http://stackoverflow.com/questions/3832911/saving-a-class-to-disk-on-dispose-does-my-code-have-bugs

have bugs I am attempting to make a simple class that serializes itself to disk when it is no longer in use. The code I have..

Can an internal setter of a property be serialized?

http://stackoverflow.com/questions/420662/can-an-internal-setter-of-a-property-be-serialized

string Name get set public int Age get set Code that serializes an instance of the class Person Person person new Person person.Age..

Why does WCF return myObject[] instead of List<T> like I was expecting?

http://stackoverflow.com/questions/493376/why-does-wcf-return-myobject-instead-of-listt-like-i-was-expecting

configure to change it in place. The reason is that WCF serializes Generic lists as arrays to send across the wire. The configuration..

How to flatten an ExpandoObject returned via JsonResult in asp.net mvc?

http://stackoverflow.com/questions/5156664/how-to-flatten-an-expandoobject-returned-via-jsonresult-in-asp-net-mvc

JsonResult so I do this return new JsonResult expando This serializes the JSON into the below to be consumed by the browser Key SomeProp..

Why isn't my public property serialized by the XmlSerializer?

http://stackoverflow.com/questions/575432/why-isnt-my-public-property-serialized-by-the-xmlserializer

then you'll want to deserialize from the same file so only serializes properties that have both a set and a get. c# .net xml serialization..

Deserialization problem with DataContractJsonSerializer

http://stackoverflow.com/questions/596271/deserialization-problem-with-datacontractjsonserializer

The problem comes from the way DataContractJsonSerializer serializes dictionaries. You could use an alternative serializer such as..

Deep cloning objects in C#

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

return T formatter.Deserialize stream The idea is that it serializes your object and then deserializes it into a fresh object. The.. The idea is that it serializes your object and then deserializes it into a fresh object. The benefit is that you don't have to..

SignalR doesn't use Session on server

http://stackoverflow.com/questions/7854663/signalr-doesnt-use-session-on-server

we'd strongly recommend against it as session state access serializes requests for a given client meaning you won't really get the..