|
by: Daniel Faensen |
last post by:
As a good OO programmer that I hopefully am I prefer to implement against
interfaces rather than classes. This is especially useful when it comes to
multiple inheritance which is as you know an issue and not supported in
languages as Java or C# - for good reasons.
I have an object graph I want to persist using the XML serialization
features...
|
by: Daniel Lidström |
last post by:
Hello,
how can I control the order of which elements are serialized. For example,
my class looks like:
public __gc class Author {
public:
Author();
// get/set methods
|
by: Andy Searls via .NET 247 |
last post by:
Trying to get business objects to work as return values for webservices. The primary problem is that the business objects arelate bound, requiring interfaces for property types. I tryusing the XmlTypeAttribute to indicate the class to use in placeof the interface, but that doesn't seem to do any good.
Here's the simplified objects in...
|
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 rmi.
Just to keep my question short I am posting trimmed version of my
code.
//file: Serializable.cs
|
by: Art |
last post by:
Hi,
I've got a lot of confusion about XML serialization.
2 specific questions:
I'm using a book by Robin Reynolds-Haertle. In her section on serialization
she starts with binary and follows it up with XML. I did that. Then I
notice, I think, that for the XML part I don't need the <serializable>
attribute, the ISerializable interface...
|
|
by: Joe |
last post by:
I would like to call a method of an object before the object is serialized.
I currently have a surrogate that I use for deserilization and was thinking
I could use one for serialization but that means I have to handle
GetObjectData for each object which I don't want to do unless there is a way
to make a generic one to work with any object.
...
|
by: Zachary Turner |
last post by:
Hello,
I have a situation where I would like to perform custom serialization
and deserialization of an existing .NET framework object (specifically,
System.DateTime). Is there a common paradigm here, for how I can
override the default behavior of DateTime serialization and provide my
own? I want to use this custom serialized DateTime in...
|
by: raj |
last post by:
I know what interfaces are and what they used for etc. Today i am learning
about serilization.
I know to mark the class "serializable" and implement ISerializable
interface, and then implement mthod GetObjectData, etc.
I also know to instantiate a class that is marked "serializable" and use
serialize method of binaryformatter on the...
|
by: mijalko |
last post by:
Hi,
I have inherited my class from System.Drawing.Printing.PrintDocument
and I wish to serialize this object using XmlSerializer. And I get
exception "There was an error reflecting type ...". If I look at
innerException it says: "Cannot serialize member
'System.ComponentModel.Component.Site' of type
'System.ComponentModel.ISite'.
OK it is...
|
by: JosAH |
last post by:
Introduction
Upon hearing the word, "Serialization", the first question which comes to mind is ...
"What is Serialization?" We know that we can create resusable objects in Java. But the lifetime of those objects lasts only as long as the Java virtual machine is running. Once we close the JVM, we lose all those objects.
What if someone...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|