473,403 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

serialization in .net.very urgent

Dear sir;

I want ur Help in serialization.I know serialization.I Know binary,soap and xmlserialization also.But i want ur help in following topics.pls help me as soon as possible.I have search in site but only basics serialization is there.

Topics:
1) serialize a nested object in mutiple files by maintaining the relation on parent level.

ie, let say object1 containts object2 and object2 contains object3 , while serializing the object1, object2 and object3 will be saved 3 different files which is maintained by a service or a program. and when it is deserailizing the object1 it should automatically deserialize the object2 and object3 and for that the service or program should know where it is saved ( you can maintain that attributes on concerned parent object level)
or
class a
{
private class b ;
private class c;
};
in this case class a contain class b and class c, it may contain some other classes. right. so when you are serializing an object of class A you need to serialize the internal object of Class B and Class C. But the question how you will serialize this , and where you will serialize. for the question of how , we can do it any format which is supported by the framework, but for the question of where is little tricky , we can save the information into the same file ( one file ) or we can serialize this into multiple files. if you are serializing this into mutiple files then your program should know in which file you saved it. In this scenario we need a program or class which can control the entire serialization process. The features of the new program will be if you are passing an object for serialization or deserailization it will read / write the data from /to different files. so the files id's to be created autoamtically and managed properly. Another thing the program should be generic program so, it can serialize or deserialize any object which is supporting the serialization. In a generic level you can identify / get the details of the properties through the reflection methods.

2) try to create a separate service which can serialize any object which is implemented serialize attribute , for this probably you need to use reflection also.

3) save an object in normal ascii format through serialization.
From
Nobin
Jan 30 '07 #1
0 1177

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: David K | last post by:
we are having a problem when trying to serilalize and deserialize DataTable When replacing the container to be ListArray or HashTable everything works fine The code is very straight forward (...
4
by: Jeff T. | last post by:
Hello, I have an existing set of C# classes that encapsulate our application data. They are in a heirachy with each subclass defining more specific types of data. I would like to serialize these...
1
by: Mountain Bikn' Guy | last post by:
We have an app that computes a lot of numeric data. We would like to save to disk about 1-2 gigabytes of computed data that includes ints, doubles, strings and some complex objects that contain...
6
by: Uttam | last post by:
Hello, We are at a very crucial decision making stage to select between .Net and Java. Our requirement is to download a class at runtime on the client computer and execute it using remoting or...
8
by: sandhya | last post by:
How can i serialize an Excel charting Object to XML using XmlSerializer IN .Net? I tried serializing it ..but comes with an error "Cannot Serialize Interface Excel.chart" Let me know how we...
8
by: vinay | last post by:
Hi Guys I want to understand Serialization. What is serialization. When do we need to use?? What are advantages and Disadvantages. Also please diret me to some good sites on serialization....
0
by: Goethals Frederik | last post by:
Hi, I have some questions that are a little difficult to explain, so I give it a try... I have an application (aSP.NET with VB.NET codebehind) and I would like to store my data on disk...
6
by: John Glover | last post by:
I'm having a very strange problem with XML serialization. I'm writing web services which pass instances of various classes back and forth as parameters and return values of web methods. The...
4
by: camarkco | last post by:
Why does C# go out of it's way to prevent this? Mark
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.