DotNetShoutout - Stories tagged with Serialization
2
Shouts

Avoiding Circular Reference for Entity in JSON Serialization - Gil Fink's Blog

posted by gilfgilf 586 days, 22 hours, 27 minutes ago
Monday, October 17, 2011 9:20:31 AM GMT
One problem that I was facing yesterday while working on an ASP.NET MVC application was a JSON serialization issue. The problem was a circular reference caused by the DataContractJsonSerializer because of relations between the entity and other entities. In this post I’ll show you how you can use a simple workaround in order to avoid the problem. (more)
category: Web Dev | clicked: 32 | comment | | source: blogs.microsoft.co.il
tags: ASP.NET MVC, JSON, Serialization, Entity Framework, Code first
4
Shouts

Serialization/Deserialization

published 719 days, 12 hours, 29 minutes ago posted by syedtayyabalisyedtayyabali 720 days, 7 hours, 32 minutes ago
Monday, June 06, 2011 7:18:03 PM GMT Monday, June 06, 2011 12:15:47 AM GMT
Serialization is the process of converting object into linear sequence of byte, while deserialization is constructing object from that serialized linear sequence of byte. Serialization allows to store the content of object on file, transmit across network or send to another process. Serialization is used in distributed application. .Net provide clean way to achieve serialization and deserialization in just few lines of code. BinaryFormatter.Serialize/Deserialize methods are used. (more)
category: How To | clicked: 29 | comment | | source: programming360.blogspot.com
tags: .NET, Serialization, deserialization
2
Shouts

Using Protocol Buffers on .Net platform (Part I)

published 737 days, 2 hours, 45 minutes ago posted by slo2olsslo2ols 738 days, 8 minutes ago
Friday, May 20, 2011 5:02:03 AM GMT Thursday, May 19, 2011 7:39:06 AM GMT
Today we will talk about using Protocol Buffers on .Net platform. I will tell  and show you what it is and why it is needed .Net developer. A format of the post is different from the usual format and it is designed as a discussion. What I think should improve the understanding of the material by readers. Hello, what is Protocol Buffers? (more)
category: How To | clicked: 10 | 1 comment | | source: osmirnov.net
tags: Google, Serialization, protocol buffers, Performance
3
Shouts

Entity Framework and T4: Generate Query Objects on the fly, part 1 | Rui Jarimba

posted by http://ruijarimba.wordpress.com/http://ruijarimba.wordpress.com/ 748 days, 8 hours, 39 minutes ago
Sunday, May 08, 2011 11:08:13 PM GMT
Post navigation← PreviousEntity Framework and T4: Generate Query Objects on the fly, part 1Posted on May 9, 2011 by Rui Jarimba Generate Query Objects on the fly for your Entity Framework entities using T4 templates. Don’t worry about LINQ, let the objects do all the work for you. Table of contentsWhat is a Query Object?The Model – MVC Music StoreUsing T4 to generate Query ObjectsString propertiesDatetimes and numeric valuesAssociationsIQueryable (more)
category: Architecture | clicked: 1 | comment | | source: ruijarimba.wordpress.com
tags: .NET, Serialization, T4, Entity Framework, C#, Query Object, Linq, Design Patterns
9
Shouts

Xml serialization using generics | Rui Jarimba

published 753 days, 19 hours ago posted by http://ruijarimba.wordpress.com/http://ruijarimba.wordpress.com/ 755 days, 12 hours, 7 minutes ago
Tuesday, May 03, 2011 12:47:15 PM GMT Sunday, May 01, 2011 7:40:34 PM GMT
Serialize/deserialize your objects using generics. Customize settings like indentation, encoding, namespaces and others. (more)
category: Web Dev | clicked: 10 | 2 comments | | source: ruijarimba.wordpress.com
tags: .NET, Serialization, C#, XML, xmlserializer
7
Shouts

Fluent XML Serialization–Part 3: How Serialization Is Performed

published 763 days, 16 hours, 51 minutes ago posted by Matt_TCFMatt_TCF 764 days, 17 hours, 49 minutes ago
Saturday, April 23, 2011 2:56:38 PM GMT Friday, April 22, 2011 1:59:01 PM GMT
Reflection is a powerful tool when used correctly. In this penultimate chapter of Fluent XML Serialization, I will show you how Fluently-XML uses configuration data built up from a domain-specific language to perform serialization at runtime. (more)
category: How To | clicked: 16 | comment | | source: trycatchfail.com
tags: Fluent API, Serialization, XML, DSL
4
Shouts

Fluent XML Serialization–Part 1: The Domain Specific Language

published 802 days, 19 hours, 25 minutes ago posted by Matt_TCFMatt_TCF 804 days, 5 hours, 15 minutes ago
Tuesday, March 15, 2011 12:22:04 PM GMT Monday, March 14, 2011 2:32:46 AM GMT
Serializing objects to XML is easy in .NET thanks to the XmlSerializer class, but developers will quickly find that the built-in serializer is limited and not easy to extend. A more flexible approach is needed to support complex serialization needs. Today I’ll show you Fluently-XML’s domain-specific language for configuring serialization behaviors, and I’ll dive (a bit) into how it’s implemented. (more)
category: Architecture | clicked: 2 | 1 comment | | source: trycatchfail.com
tags: Serialization, XML, DSL
3
Shouts

Serialization Gotcha on the Windows Phone 7

published 838 days, 13 hours, 37 minutes ago posted by nigel-sampsonnigel-sampson 839 days, 2 hours, 2 minutes ago
Monday, February 07, 2011 6:10:41 PM GMT Monday, February 07, 2011 5:45:29 AM GMT
How to deal with a sneaky performance issue when serializing view models in Windows Phone 7. (more)
category: Metro | clicked: 0 | comment | | source: compiledexperience.com
tags: JSON, Silverlight, Serialization, Windows Phone 7
5
Shouts

Using JSON serialization outside a web context

published 838 days, 13 hours, 37 minutes ago posted by http://jclaes.blogspot.com/http://jclaes.blogspot.com/ 839 days, 16 hours, 37 minutes ago
Monday, February 07, 2011 6:10:41 PM GMT Sunday, February 06, 2011 3:10:48 PM GMT
You usually are in a web context if you are working with JSON, where JSON serialization almost always is encapsulated by the framework. You might accidentally come across scenarios where you want to serialize and deserialize JSON in a non-web context though. (more)
category: Web Dev | clicked: 1 | comment | | source: jclaes.blogspot.com
tags: JSON, Serialization
4
Shouts

Workaround For Non Serializable Types

published 845 days, 13 hours, 40 minutes ago posted by jebarson007jebarson007 849 days, 18 hours, 17 minutes ago
Monday, January 31, 2011 6:07:38 PM GMT Thursday, January 27, 2011 1:30:52 PM GMT
There are many a situations you would have come across when you want to XML serialize an object but since the type is a non - serializable you can't do it, and you could have done a lot of code for getting the functionality done. There is a much simpler and easy way to get this achieved. (more)
category: Web Dev | clicked: 1 | comment | | source: www.jebarson.info
tags: .NET, XmlElement, Serialization, XmlIgnore, C#, XML, Non-Serializable
5
Shouts

Controlling Serialization of XML Elements

published 849 days, 13 hours, 48 minutes ago posted by BlackWaspBlackWasp 851 days, 8 hours, 4 minutes ago
Thursday, January 27, 2011 5:59:34 PM GMT Tuesday, January 25, 2011 11:43:07 PM GMT
When serializing classes to XML, each public property and field value is transformed into an XML element. The name of the element matches the name of the property. The XmlElement attribute allows the names and formatting of XML tags to be modified. (more)
category: How To | clicked: 0 | comment | | source: www.blackwasp.co.uk
tags: Serialization, C#, XML
2
Shouts

Advanced Dotnet Tutorial: Dot Net Remoting : Serialization and It's attributes

published 859 days, 21 hours, 56 minutes ago posted by learndotnet123learndotnet123 861 days, 36 minutes ago
Monday, January 17, 2011 9:51:42 AM GMT Sunday, January 16, 2011 7:11:22 AM GMT
In this article we will explore the importance of the Serialization and it's attributes. For basic example on how to create dot net remoting read the previous article on dot net remoting. Here, we will explore the serialization by creating two-console application one for the server and the other one is for the client.  2. IPurchase Interface for Server First start a console application and then provide reference to the System.Runtime.Remoting reference to your application. Once this is done, right clic... (more)
category: Web Dev | clicked: 3 | comment | | source: advanceddotnettutorial.blogspot.com
tags: Serialization, dotnet remoting, ASP.NET
2
Shouts

Controlling XML Serialization of the Root Element

posted by BlackWaspBlackWasp 872 days, 8 hours, 3 minutes ago
Tuesday, January 04, 2011 11:45:01 PM GMT
Every XML document includes a root element that contains all of the other information held. When serializing objects to XML the root element's construction is linked to the name of the class or structure unless modified with the XmlRoot attribute. (more)
category: How To | clicked: 0 | comment | | source: www.blackwasp.co.uk
tags: Serialization, C#, XML
4
Shouts

[RIA Services] Why the client extended entities won't use the default backing store value ?

published 918 days, 5 hours, 20 minutes ago posted by jmix90jmix90 918 days, 16 hours, 29 minutes ago
Saturday, November 20, 2010 2:28:02 AM GMT Friday, November 19, 2010 3:18:58 PM GMT
The title may not be clear but I am talking about the entities that you extends on the client side using the fact that they are partial class. You may think as I was that if you add properties in them with backing store field, the properties will get initialed nicely : this is not the case and the property will always use the default value for the property type. In this post we’ll discover how to perform our goal : create a property with the correct default value. (more)
category: Metro | clicked: 6 | comment | | source: blog.lexique-du-net.com
tags: Silverlight, Serialization, RIA Services, How-To, RIA Service, Properties, How
5
Shouts

jQax – A Simple jQuery Ajax Wrapper with Loading Notification | Benjii Me

published 1014 days, 21 hours, 27 minutes ago posted by BenjiiBenjii 1016 days, 16 hours, 1 minute ago
Sunday, August 15, 2010 10:20:17 AM GMT Friday, August 13, 2010 3:46:13 PM GMT
If you just want a simple way of connecting your web page to a .NET web service or page method using ajax, then the following snippet of javascript is for you. By the way, if you place a div with an id of “divLoader” somewhere on your page, it will automatically fade in during loading and fade out when its complete. (more)
category: Web Dev | clicked: 3 | comment | | source: benjii.me
tags: JSON, Serialization, Ajax
8
Shouts

Deep Cloning Using Binary Serialization

published 1084 days, 17 hours, 27 minutes ago posted by BlackWaspBlackWasp 1086 days, 10 hours, 26 minutes ago
Sunday, June 06, 2010 2:21:02 PM GMT Friday, June 04, 2010 9:21:36 PM GMT
Cloning is the process of creating copies of objects or object graphs. The .NET framework provides methods for creating shallow copies, where a single object is cloned. Deep cloning can be achieved in several manners, including using serialization. (more)
category: How To | clicked: 0 | comment | | source: www.blackwasp.co.uk
tags: Serialization, C#
7
Shouts

Binary Serialization (C#)

published 1097 days, 19 hours, 7 minutes ago posted by BlackWaspBlackWasp 1098 days, 13 hours, 34 minutes ago
Monday, May 24, 2010 12:40:04 PM GMT Sunday, May 23, 2010 6:13:09 PM GMT
A standard problem with object-oriented languages is that of persisting object state. Binary serialization allows single objects or complex models to be converted to binary streams, which may be stored in files or transported to other systems. (more)
category: How To | clicked: 0 | 1 comment | | source: www.blackwasp.co.uk
tags: Serialization, C#
6
Shouts

Make your XML strongly-typed: Because you can, and its easy

published 1112 days, 22 hours, 24 minutes ago posted by http://www.google.com/profiles/dougrathbonehttp://www.google.com/profiles/dougrathbone 1114 days, 18 hours, 18 minutes ago
Sunday, May 09, 2010 9:23:22 AM GMT Friday, May 07, 2010 1:29:05 PM GMT
Earlier in the week i posted a Twitter post commenting on how if your not using the XMLSerializer class to you advantage, well, as Scott Hanselman puts it now and then: Your doing it wrong. I use the XML Serializer classes on a daily basis to refer to my XML in a strongly typed manner and often wonder why i see people go to so much effort in creating hard to maintain code just to get data from or to an XML file. (more)
category: Architecture | clicked: 1 | comment | | source: www.diaryofaninja.com
tags: Serialization, C#, XML, ASP.NET