System.Runtime.Serialization.ISerializable Interface
Information   Base Types   Related Resources

Allows an object to control its own serialization and deserialization.

  • Namespace: System.Runtime.Serialization
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • View this type on MSDN
  • View this type on WinFX 247
    Articles (22)Discussions (391)MembersRotorChanges
    Articles

    Page: 1
    .NET Remoting Interception
    C#Today
    With the advent of .NET, Microsoft realized the need for a more flexible approach for building distributed applications. .NET Remoting is the technology that allows remote components to interface and integrate. However, in order for this transparent integration, .NET remoting needs to provide some plumbing wherein it can resolve object references and direct method calls to the specific application hosting the required component, on the specific machine. This concept is based on the principle of Interception. In this article, Kaushal Sangahvi discusses the interception mechanism that is used by remoting, to allow for location transparency of objects.
    A Tree Collection
    The Code Project
    An implementation of a Tree Collection in C#.
    Accessing Message Queues
    MSDN
    This article describes how to use System.Messaging classes in the Microsoft .NET Framework to read and write to MSMQ queues. The information discussed in this article applies to Beta 2 of the .NET Framework and Microsoft Visual Studio .NET.
    C# From a Java Developer's Perspective
    http://www.25hoursaday.com/
    What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Javaâ„¢ 2, Standard Edition (J2SEâ„¢) version 1.4 Beta 2 for the Java snippets.
    Developing A Vector Based C# Drawing Application - Part 3
    C#Today
    In the first part of this series, Budi Kurniawan discussed the specification for a vector based C# drawing application. In Part 2, we looked at the Shape abstract class and the seven classes that inherit it. We also examined how an event handler works in a Windows application and we briefly discussed the System.Collections namespace. In this final part of the project, we will complete the development by discussing the DrawingArea custom control, the Color and Pen classes from the System.Drawing namespace, and object serialization - which is used to persist our drawing to a file, to be restored at a later stage.
    dumping is easy
    The Code Project
    A small method for easy dump an array of Byte
    Encrypt and Hide Sensitive Global Configuration Data
    Egg Head Cafe
    One of the biggest concerns of .NET Developers (and their clients) is protecting sensitive configuration data such as usernames and passwords, database connection strings and other global data that needs to be made easily available application - wide. Of course, web.config doesn't normally get served by IIS, provided the default mappings are set in machine.config and not overriden in a local web.config file. But a lot of people I"ve talked to don't feel comfortable having sensitive data in web.config. So of course, the first step would be that we can encrypt the data for starters.
    Exception Management in .NET
    MSDN
    This document discusses design and implementation guidelines for exception management systems that use .NET technologies. It focuses on the process of handling exceptions within .NET applications in a highly maintainable and supportable manner.
    Extender provider components in ASP.NET: an IExtenderProvider implementation
    The Code Project
    A workaround for the broken Visual Studio support for extender providers in ASP.NET.
    Implementing the Prototype design Pattern
    .NET Xtreme
    In the example I have created an EmpData class that implements ICloneable and ISerializable interfaces, ICloneable interface is required to mark the class as Cloneable and Clone method is implemented. ISerializable interface is used to implement deep copy (clone) for an EmpData Class, the trick I have used it to serialize the EmpData in a file and Deserialize the file and create another EmpData object, that would copy the Emp objects rather then copying their references as Clone method does.
    Microsoft .NET Remoting: A Technical Overview
    MSDN
    Microsoft® .NET remoting provides a framework that allows objects to interact with one another across application domains. The framework provides a number of services, including activation and lifetime support, as well as communication channels responsible for transporting messages to and from remote applications. Formatters are used for encoding and decoding the messages before they are transported by the channel.
    Nine reasons not to use serialization
    The Code Project
    Although .NET provides a number of quick and easy ways to serialize and deserialize data, do not use them. This article explains why.
    Object Serialization in .NET
    MSDN
    Why would you want to use serialization? The two most important reasons are to persist the state of an object to a storage medium so an exact copy can be recreated at a later stage, and to send the object by value from one application domain to another. For example, serialization is used to save session state in ASP.NET and to copy objects to the clipboard in Windows Forms. It is also used by remoting to pass objects by value from one application domain to another. This article provides an overview of the serialization used in Microsoft .NET.
    Object Serialization in Visual Basic .NET
    MSDN
    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.
    Object Serialization using C#
    The Code Project
    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 command which you may provide in your application.
    Object Serialization using C#
    The Code Project
    How to serialize custom created class objects using C#.
    Persisting Datasets in ASP.NET ViewState
    ASPFree
    Persisting data, particularly object state, in a connectionless environment has always been a challenge. There has always been Session variables in traditional ASP, but those tie user sessions to a thread running on a specific computer, nullifying any plans for real scalability. And you could always write a function to serialize an object and try storing that string in a hidden form field, but again, that was clunky. Now we have ASP.NET, which is much better adept to helping us solve this problem; especially the ability to serialize objects.I’ve found that by using only functions provided by the Framework one can easily persist a Dataset as XML in ASP.NET Viewstate.
    Saving and obtaining custom objects to/from Windows Clipboard
    The Code Project
    The code shows how to save (and restore) an instance of your own class to clipboard.
    Serialization
    C#Today
    One of the most fundamental jobs for a piece of software is saving a document and loading it back up again. This process has become known as serialization, and .NET has strong support for this. In this article, Dot Net Guruhew Reynolds takes a look at how to save and load documents for a simple WinForms application. As part of the work, he introduces a reference implementation for properly handling the creating, saving and opening of documents as laid down by the Windows guidelines.
    The Well-Tempered Exception
    MSDN
    A few months ago, I was writing some code and I came across an Exception class that didn't work the way I expected. I wanted to catch an exception and then wrap it in an exception of the same type. However there wasn't a constructor that took an exception, so I couldn't do it. In other words, the class designer hadn't included the (string message, Exception inner) constructor.
    UIPAB Part 2 : MVC, UIPAB Essentails and Demo
    The Code Project
    Part 2 of 3 part series. Examines MVC pattern, UIPAB essentials and architecture; refactoring demo using UIPAB
    Using Remoting Callbacks
    The Code Project
    This article describes how to implement an asynchronous remoting callbacks from different remote objects such as .Net Service (COM+), Web Service and classic .Net object using the C# language.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification