Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > Visual Basic.Net > Serialization


Search:
What's New - What's Hot
Serializable Generic Collection     
Total Hits: 106  |  Today: 0Author: behnam usefy      Rating:  
Read Reviews | Write Review |  Your Rating: 

When we want to made XmlSerializable object we must Implement it from IXmlSerializable. and then we must implement 3 methods (GetSchema,ReadXml,WriteXml). In GetSchema we must return a string that contain XML Schema about this object (We Leave it blank in this version!). ReadXml method will contain statements that deserialize Xml to Objects and finaly in WriteXml we serialize our Collection into Xml....

COM Object Serialization     
Total Hits: 44  |  Today: 0Author: Paul Welter      Rating:  
Read Reviews | Write Review |  Your Rating: 

The ComSerialization component can be used to serializes and deserializes COM objects into and from XML documents. Serialization is the process of converting an object's public properties and fields to a serial format (in this case, XML) for storage or transport. Deserialization restores the object to its original state from the XML output. You can think of serialization as a way of saving the state of an object into a buffer....

Serializing Objects to SOAP     
Total Hits: 763  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When we serialize an object to SOAP we are copying the object state into an XML structure with a SOAP envelope. This provides us an efficient way to transfer this information in a standard way that anyone can read....

Storing Dataset in a file using Object Serialization  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: ClassCoder      Rating:  
Read Reviews | Write Review |  Your Rating: 

in this sample we are storing a dataset object in a binary file using object serializtion , and after serializtion process we will make deserialization to get all inforamtion from tables without connectiing to database...

Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute  Version: 0.00     Price: $0.00  
Total Hits: 45  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Your custom controls will sometimes expose a collection as a property. This walkthrough demonstrates how to use the DesignerSerializationVisibilityAttribute class to control how a collection is serialized at design time. Applying the Content value to your collection property ensures that the property will be serialized....

Defining Default Values with the ShouldSerialize and Reset Methods  Version: 0.00     Price: $0.00  
Total Hits: 30  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

ShouldSerialize and Reset are optional methods that you can provide for a property, if the property does not a have simple default value. If the property has a simple default value, you should apply the DefaultValueAttribute and supply the default value to the attribute class constructor instead. Either of these mechanisms enables the following features in the designer:
* The property provides visual indication in the property browser if it has been modified from its default value....

Using serialization to emulate an assembly     
Total Hits: 133  |  Today: 0Author: Mark Killmer      Rating:  
Read Reviews | Write Review |  Your Rating: 

When working in a team environment, factors such as limited license keys, security, or network access may hinder the creation of a test environment. In a recent project, one of my requirements was to interface with an existing .NET component. The existing component could not be duplicated in my off-site office environment, and existing security policies would not allow network access. Coding and testing the interface was looking very difficult....

Using Serialization to Persist TreeView Control (VB.NET)     
Total Hits: 60  |  Today: 0Author: Tom John      Rating:  
Read Reviews | Write Review |  Your Rating: 

A recent post on a MS group regarding persisting TreeView data to file and apparent lack of VB.Net example lead me to write a solution as it was one of the first problems I faced as a developer and thought it would make for an interesting article for beginners. Additionally, the utilisation of serialisation to persist objects as Xml provides an introduction to a great �free� way of storing data....

Serialize and Deserialize IEnumerable Objects     
Total Hits: 234  |  Today: 0Author: LSteinle      Rating:  
Read Reviews | Write Review |  Your Rating: 

The process of converting the data in an object to XML is called serialization. The reverse of serialization, loading XML into the object, is called deserialization. Shallow serialization converts the public properties and fields into XML while deep serialization converts both public and private members into XML. System.Xml.Serialization.XmlSerializer is used to perform shallow serialization....

Persisting Your Visual Basic .NET Objects with .NET Serialization     
Total Hits: 475  |  Today: 0Author: Jeff Cogswell.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Framework provides classes that let you save your objects to a file easily. This feature, called serialization, lets you create your own file formats. Jeff Cogswell shows you how to get the most out of the .NET serialization features....

Serialize and Deserialize IEnumerable Objects     
Total Hits: 535  |  Today: 0Author: LSteinle.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The process of converting the data in an object to XML is called serialization. The reverse of serialization, loading XML into the object, is called deserialization. Shallow serialization converts the public properties and fields into XML while deep serialization converts both public and private members into XML. System.Xml.Serialization.XmlSerializer is used to perform shallow serialization. As much as I like using the XmlSerializer the limitations it has are enough to drive a man crazy. XmlSer...

Serializing & Deserializing Objects Using Standard and Binary Formatter in VB.Net     
Total Hits: 2465  |  Today: 0Author: DevASP      Rating:  
Read Reviews | Write Review |  Your Rating: 

This Article demonstrates how to serialize and deserialize an object to/from a stream. This Article defines how we can allow the user to serialize two classes, standard/binary serialization. This Article defines how we can allows the user to serialize two classes, one with standard serialization, and one with custom serialization. The six grouped command buttons are for serializing and deserializing. The bottom two buttons allow the user to view the SOAP envelopes for the serialized objects. The...

Object Serialization in Visual Basic .NET     
Total Hits: 529  |  Today: 0Author: Rockford Lhotka      Rating:  
Read Reviews | Write Review |  Your Rating: 

When building applications using objects, we are often faced with the requirement to treat all the various data within an object as a single unit. This comes into play, for instance, when you want to pass an object across the network—since you don't want to send each individual bit of object data one at a time across the network, but rather, all at once. It is also very useful if you want to implement an 'undo' function in our object; that is, the ability to reset all the object's data back to s...

Using Serialization to Persist TreeView Control (VB.NET)     
Total Hits: 644  |  Today: 0Author: Tom John      Rating:  
Read Reviews | Write Review |  Your Rating: 

A recent post on a MS group regarding persisting TreeView data to file and apparent lack of VB.Net example lead me to write a solution as it was one of the first problems I faced as a developer and thought it would make for an interesting article for beginners. Additionally, the utilisation of serialisation to persist objects as Xml provides an introduction to a great ‘free’ way of storing data....

Object Serialization in Visual Basic .NET      
Total Hits: 2746  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When building applications using objects, we are often faced with the requirement to treat all the various data within an object as a single unit. This comes into play, for instance, when you want to pass an object across the network—since you don't want to send each individual bit of object data one at a time across the network, but rather, all at once. It is also very useful if you want to implement an 'undo' function in our object; that is, the ability to reset all the object's data back to ...

Object Serialization in VB .NET     
Total Hits: 2194  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Serialization is the process of converting a graph of objects, into a linear sequence of bytes. That sequence of bytes can be sent elsewhere (for example, to a remote computer) and Deserialized, thereby making a clone in that remote memory of the original graph of objects. The process of serialization is very easy with .NET and its open too. Every VB 6 programmer have used this feature of Serialization knowingly or unknowingly. When any class in ActiveX dll or ActiveX exe is created , there are ...

COM+ and MTS, DCOM and MSMQ, Serialization in .NET  Version: 0.00     Price: $0.00  
Total Hits: 32  |  Today: 0Author: Ken Spencer      Rating:  
Read Reviews | Write Review |  Your Rating: 

Developers frequently ask me for clarification on Microsoft's strategy for the future with regard to COM+, Microsoft® Transaction Services (MTS) with its features of JIT activation and object pooling, Microsoft Message Queuing (MSMQ), and DCOM. What's in store for Web farms versus app servers versus ASP and component integration? Since everybody's clamoring for answers, let's take these questions one at a time. First, I'll deal with the COM+ and MTS issue....

Demonstration of Serialization in VB.NET  Version: 0.00     Price: $0.00  
Total Hits: 43  |  Today: 0Author: Initiotech      Rating:  
Read Reviews | Write Review |  Your Rating: 

Serialization is the Process of objects getting transformed to stream of bytes to be stored in a File, Memory or a Database. The Main Purpose of Serialization is to Save the State of the object in order to recreate it when needed. The reverse of this Process is called as De-Serialization....

Defining Default Values with the ShouldSerialize and Reset Methods  Version: 0.00     Price: $0.00  
Total Hits: 26  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

ShouldSerialize and Reset are optional methods that you can provide for a property, if the property does not a have simple default value. If the property has a simple default value, you should apply the DefaultValueAttribute and supply the default value to the attribute class constructor instead. Either of these mechanisms enables the following features in the designer:
*The property provides visual indication in the property browser if it has been modified from its default value.
...

How to: Serialize Messages in WCF Applications  Version: 0.00     Price: $0.00  
Total Hits: 39  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Compact Framework version 3.5 adds support for the XmlObjectSerializer class, which can be used to implement support for serialization and deserialization of messages in Windows Communication Foundation (WCF) applications....


1  2  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net