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 > C-Sharp
Search:
What's New - What's Hot
Listings for Applications Applications (66)
Listings for Articles & Samples Articles & Samples (18146)
Listings for C-Sharp Sites C-Sharp Sites (12)
Listings for Errors and Bugs Errors and Bugs (25)
Listings for Introduction Introduction (72)
Listings for Knowledge Base Knowledge Base (234)
Listings for Sample Chapters Sample Chapters (79)
Listings for Support WebCasts Support WebCasts (2)
Listings for Training Training (19)
 


Implementing MFC-Style Serialization in .NET - Part 2 - Reading MFC Serialized Objects into .NET     
Total Hits: 64  |  Today: 0Author: Robert Pittenger      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1, I showed how to implement MFC-style serialization in .NET using an Archive class similar to MFC's CArchive. In Part 2, I will show how Archive can serve as a base class for MfcArchive - a .NET class that allows reading MFC-serialized objects into .NET applications, with proper conversion of CString, COleDateTime, and COleCurrency....

Serialize and Deserialize Objects as XML using Generic Types in C# 2.0     
Total Hits: 53  |  Today: 0Author: farzaneh ansary      Rating:  
Read Reviews | Write Review |  Your Rating: 

This example uses a simple scenario to demonstrate how an instance of an object is created and serialized into a file stream and stored into database using the Serialize method.The XML stream is saved to a file, and the same file is then read back and reconstructed into a copy of the original object using the Deserialize method. Serialization is the process of converting the state of an object into a form that can be persisted or transported. The complement of serialization is deserialization, w...

Exporting a Generic collection based data into Spreadsheet using Serialization     
Total Hits: 73  |  Today: 0Author: Maths      Rating:  
Read Reviews | Write Review |  Your Rating: 

It is very interesting to note the dependency of spreadsheets in any business whatsoever. My opinion is that the Spreadsheet application such as Excel is among the best applications that the IT industry has brought out in the last decade. It takes away millions of man hours in data consolidation and extrapolation, leaving the business users to concentrate upon facts and figures....

Serialize and Deserialize objects as Xml using generic types in C# 2.0     
Total Hits: 108  |  Today: 0Author: farzaneh ansary      Rating:  
Read Reviews | Write Review |  Your Rating: 

This example uses a simple scenario to demonstrate how an instance of an object is created and serialized into a file stream and stored into database using the Serialize method.The XML stream is saved to a file, and the same file is then read back and reconstructed into a copy of the original object using the Deserialize method. Serialization is the process of converting the state of an object into a form that can be ersisted or transported. The complement of serialization is deserialization,whi...

Serialization Version 2.0 - Part 1     
Total Hits: 121  |  Today: 0Author: evmshankar      Rating:  
Read Reviews | Write Review |  Your Rating: 

Serialization is the process of converting the state of an object into a form that can be persisted or transported. The complement of serialization is de-serialization, which converts a stream into an object. Together, these processes allow data to be easily stored and transferred....

Linq to SQL Base Business Class for Serialization and Validation     
Total Hits: 54  |  Today: 0Author: Mysteryx93      Rating:  
Read Reviews | Write Review |  Your Rating: 

Linq to SQL allows us to interact with databases in a much simpler way than before. However, if you tried updating data, you might have got hassles working with DataContexts. If you need to serialize and deserialize entities, hassles get even worse. Although Unidirectional serialization of entity trees is possible with DataContractSerializer, it cannot serialize foreign key relationships and you cannot preserve changes. Imagine that you have an ASP.NET page where you enter general order info, an...

Localization Like the Pros     
Total Hits: 38  |  Today: 0Author: Simon Robinson, Christian Nagel, Karli Watson.      Rating:  
Read Reviews | Write Review |  Your Rating: 

NASA’s Mars Climate Orbiter was lost on September 23, 1999 at a cost of $125 million because one engineering team used metric units, while another one used inches for a key spacecraft operation. When writing applications for international distribution, different cultures and regions must be kept in mind. Different cultures have diverging calendars and use different number and date formats, and also the sort order with the letters A-Z may lead to various results. To make applications fit for glob...

Messages vs. Methods     
Total Hits: 124  |  Today: 0Author: Aaron Skonnard      Rating:  
Read Reviews | Write Review |  Your Rating: 

Q What happens behind the scenes when you call a method on a Web service proxy object?
Q What happens behind the scenes when you call a method on a Web service proxy object?

A Given that most Web services toolkits make heavy use of object-oriented abstractions, it's easy to ignore what's going on behind the scenes when interacting with a service through a generated proxy class. The Microsoft® .NET Framework makes it possible to generate proxy classes from Web Services Description Langu...

Capturing and Analyzing Client Transaction Metrics for .NET-Based Web Services     
Total Hits: 150  |  Today: 0Author: Brian Connolly      Rating:  
Read Reviews | Write Review |  Your Rating: 

The success or failure of IT departments can depend on their ability to deliver a high throughput of requests to the services they support. This is especially important for Web services. In order to ensure adequate throughput, you really need to be able to measure response times. To achieve that goal, this article presents a general-purpose reporting mechanism that can be used in any .NET system that employs HTTP and SOAP....

Simplify Distributed System Design Using the Command Pattern, MSMQ, and .NET     
Total Hits: 138  |  Today: 0Author: Brad King      Rating:  
Read Reviews | Write Review |  Your Rating: 

These days, discussions about distributed computing and the Microsoft® .NET Framework frequently focus on service-oriented architecture (SOA). But when you want to perform processing inside your local network, the Microsoft Patterns & Practices Enterprise Solution Pattern suggests that object-based collaboration may be more appropriate than service-based collaboration. In the local environment, systems generally share a common platform, allowing you to optimize in ways you can't on widely disper...

Serialization of data using binary formatters in C#     
Total Hits: 66  |  Today: 0Author: CodeSmithDotNet      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are two methods to perform serialization knows as binary and soap. In this article I’ll use binary serialization and I’ll try to keep the things simple in this article. So, I’ll just try to serialize text to hard drive and then deserialize it again. In some later article I’ll show you how to serialize application class objects to hard drive....

AltSerializer - An Alternate Binary Serializer     
Total Hits: 357  |  Today: 0Author: neocognitron.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The AltSerializer is a replacement for the binary serializer built in to .NET. I built it to be quick and easy to use, and hopefully, it works exactly like one would expect it to. I've started using it quite a bit now, and I hope that others find it useful, too....

Serializing Objects in C#     
Total Hits: 700  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

In simple words serialization is a process of storing the object instance to a disk file. Serialization stores state of the object i.e. member variable values to disk. Deserialization is reverse of serialization i.e. it's a process of reading objects from a file where they have been stored. In this code sample we will see how to serialize and deserialize objects using C#....

C# Object Serialization     
Total Hits: 456  |  Today: 0Author: Budi Kurniawan      Rating:  
Read Reviews | Write Review |  Your Rating: 

To serialize an object, you need to either mark the object class with the [Serializable] attribute or implement the ISerializable interface. In this article you will find the class that is marked with the [Serializable] attribute. Read the article to learn more!...

C#: A Message Queuing Service Application     
Total Hits: 174  |  Today: 0Author: Carl Nolan      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article outlines a Windows service solution designed to process several message queues, focusing on the application of the Microsoft .NET Framework and C#....

C#: A Message Queuing Service Application     
Total Hits: 130  |  Today: 0Author: Carl Nolan      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article outlines a Windows service solution designed to process several message queues, focusing on the application of the Microsoft .NET Framework and C#....

XML Serialization using C#     
Total Hits: 3010  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Serialization is a process of storing state of an object to some media like disk file or stream. Few weeks back we saw how to serialize objects to disk file in binary format . .NET further provides a way to serialize objects in XML format. Thus objects can be converted into XML documents (serialization) and later on can be constructed back from the XML documents (deserialization). This article demonstrates how to use XML serialization techniques using C#....

A Database Component: Inserting Serializable Objects     
Total Hits: 988  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0....

Object Serialization using C#     
Total Hits: 3069  |  Today: 0Author: omkamal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Writing crucial data to the disk as TEXT is always dangerous. Any anonymous user can open the text file and easily read your data. With Object Serialization, you can reduce this danger to a certain extent. You can write any complex object directly to a filestream without converting values of individual properties into a text. You can make the data written, to the disk, atleast not human readable. In order for the users to read your data files, they have to use your program. Like a File Open comm...

C#: A Message Queuing Service Application     
Total Hits: 2143  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article outlines a Windows service solution designed to process several message queues, focusing on the application of the Microsoft .NET Framework and C#....



Disclaimer - Privacy
© 2002-2015 DevASP.net