


in the spirit of beating a dead hose (with such a blatently repeatedtopic) and as a result of my CLS (chronic lazyness syndrome) condition:given the following interface:public interface IStatusProvider { void UpdateStatus(StatusArgs e); event EventHander<StatusArgs> StatusRecieved;}I want ...
Hello All!I'm just learning about .Net remoting, and have build some simple apps. Another one that I want to try it to be able to have a countdown clock on the client computer and server. The client only see the countdown clock in action, the server will have control, Start and Stop.Any ...
Using also a very simple implementation of Serialization Surrogate the deserialization fail, if there is a forward reference, with a SerializationException and a message: "The object with ID 1 was referenced in a fixup but does not exist." this is a sample to see the bug: Can anyone tell me if ...
I used XSDObjectGen.exe to generate classes for the RDL.XSD (SQL Server Report services RDL schema) Result was 23,000 lines of vb! m_serializer = New XmlSerializer(GetType(RDL.Report)) Generates an InvalidOperationException (See ex.ToString below) Anybody got any pointers as to how I could fix ...
HiHi have a class generated by the xsd.exe tool (it's the wix.xsd file describing the WiX wxs file structure - not very important). More of the elements in the xsd file have an attribute of the YesNo simple type defined like this: <xs:simpleType name="YesNoType"> ...
We have developed a good bit of code by defining the data to be serialized in an XSD and then creating and using objects base on the classes generated from the XSD. Now it seems that we need to some how define a DataSet and a Guid. Objects with these types are serializable but I am not sure how ...
I have a class. [Serializable] public class TCPCommand{......Ant the flowing method. public byte[] Command() { XmlSerializer sr = new XmlSerializer(typeof(TCPCommand)); MemoryStream mS = new MemoryStream(); sr.Serialize(mS, this); int i = (int)mS.Length; byte[] veri = new byte; mS.Position = ...
I have experienced problems with the XmlSerializer in my application. Instantiating it causes a 10 minute timeout because the csc process seems to be deadlocked. The error is new since .NET 2.0. The problem only occurs in a slave process, not in any of the main processes which are started ...
Hello all, I am attempting to use the XMLSerializer in a rather unique way, and getting some unexpected results. I am wondering (1) why I'm encountering this, (2) if others have seen this, and (3) if there are any official fixes in work. Here's the code: -- private int? x; public int X { get ...
I have created a base class which can be serialized/deserialized as required to an XML file, and which will audit create, update and delete activities relating to the object. That's all quite easy except that the object doesn't know if the activities are "real", or whether its ...
hi i've used XmlSerializer to serialize the object. Then got the output s'th like this. <?xml version="1.0" encoding="utf-8"?><PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...
Hi, after writing my own custom XML saving tool I found XML serialize, which appears that it will do most of it for me :). However I've found a few things I can't work out (the documentation is a little inpenetrable in some cases for me).1.I have a class called "IrcNetwork", and a ...
Help, I'm running into an issue with the XmlSerializer in the .NET 2.0 Compact Framework. I've spent the last couple of days trying to figure it out, but so far I've failed. The line: XmlSerializer xs = new XmlSerializer(typeof(BuggyNamespace.BugType)); is causing an exception in the ...
hey guys,im developing a windows application that uses asynchronous callback as network communication technique with xml serialization for sending complex objects over the network.the problem is that at receiving the buffer to be written to the file is never written fully and in correct ...
hi! I am new to xml serialization so please bear with me. Ilya on the smart device forum gave me a huge hand in guiding me to the right direction. What I want to do is serialize objects so I can transport it across a network (PC to mobile) running .NET 2.0. I have followed: ...
