| Chapter: 4
Implementing serialization and input/output functionality in a .NET Framework application |
|---|
| Formatter class
The Formatter class is used to provide base functionality for the common language runtime serialization formatters. |
| Serialize
By default, a property or a field that returns an object or array of objects is automatically serialized. |
| SerializableAttribute
The SerializableAttribute attribute specifies whether or not a class can be serialized. The Marshal-by-value objects are remotable objects that implement the ISerializable interface. |
| Namespace property
The Namespace property of the DataSet class is used to specify the namespace of a DataSet object. |
| WriteXml method
The WriteXml method of the DataSet class is used to write XML schema and data from a DataSet object in XML format. |
| Load method
The Load method of the XmlDocument class is used to load the XML document in the memory stream. |
| ImportNode method
The ImportNode method of the XmlDocument class is used to import the node from another XML document. |
| SoapFormatter
SoapFormatter is a simple, modular, extensible, and XML-based protocol. It is used to exchange messages between remoting applications. |
| RPC-Based Body Formatting
RPC-Based Body Formatting is used to refer to the section 7 of the SOAP specification. In this formatting, all the parameters are contained within the single element in a SOAP message body. |
| BinaryFormatter and SoapFormatter class
The BinaryFormatter and SoapFormatter classes implement the IRemotingFormatter interface to support remote procedure calls (RPCs), and the IFormatter interface to support serialization of a graph of objects. |
| CDRom
CDRom is used to specify that a drive is an optical disc device, such as a CD or DVD-ROM. Removable is used to specify that a drive is a removable storage device, such as a floppy drive or a USB flash drive. |
| FileInfo class
The FileInfo class contains methods to create, delete, copy, and move files and properties related to a file. |
| FileStream, MemoryStream, and StreamReader classes
Use the FileStream, MemoryStream, and StreamReader classes to perform the following operations:
|
| FileStream class
The FileStream class is used to specify write, read, and other file-related operations either in synchronous or asynchronous manner. |
| NegotiateStream class
The NegotiateStream class of the System.Net.Security namespace is used to provide a stream that uses the Negotiate security protocol for a client authentication and use the SslStream class of the System.Net.Security namespace to provide a stream that uses the Secure Socket Layer (SSL) security protocol to authenticate the server and optionally a client. |
| Marshal class
Use the Marshal class to allocate unmanaged memory, copy unmanaged memory blocks, and convert from managed to unmanaged types. |
| StreamReader and StreamWriter classes
The StreamReader class is used to read characters from a byte stream. The StreamWriter class is used to write characters to a stream. |
| Path class
Use the Path class to get the file extension using the GetExtention() method and to change the file extension using the ChangeExtention() method. |
| Trace class
Implement the Trace class to log any errors thrown by an application and direct the Trace output to a local log file. |
| StreamReader class
The StreamReader class implements a TextReader that reads characters from a byte stream in a particular encoding. The System.IO.File.OpenText method creates a StreamReader that reads from an existing text file having the specified path. |
| GZipStream class
When you inherit from the GZipStream class, you must override the three properties: CanSeek, CanWrite, and CanRead. |
| Isolated storage
Use the following to perform the isolated storage tasks:
|
| GZipStream class
The GZipStream class is used to provide methods and properties used to compress and decompress streams. It represents the GZip data format. This data format uses the same algorithm as the DeflateStream class, but can be extended to use other compression formats also. |
Hi, perhaps this post may be off topic but anyhow, I’ve been surfing around your blog and it seems really cool. It is obvious that you know the subject and you are fervent about it. Thanks
I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.
I want to thank the blogger very much not only for this post but also for his all previous efforts. I found thesimpleyoga.com to be greatly interesting. I will be coming back to thesimpleyoga.com for more information.
Of course, what an incredible web page in addition informative posts, I will add backlink – bookmark this web site? Regards, Reader.
I really like this site and 70-536 Chapter: 4 Implementing serialization and input/output functionality in a .NET Framework application | MCPD Certification . I read about you on another site I found on Yahoo and thought they had great views as well.
hey, amicable blog…de facto like it and added to bookmarks. room up with admissible work!
I am thoroughly invariable they choice assume from lots of unorthodox articles in your blog than anybody else!
Ha, that? Surely a Genuinely high-minded suggestion. Numerous thanks so much conducive to this!
I be aware like I’m constantly looking for interesting things to read close by a number of topics, but I manage to classify your install develop into my reads every day because you organize compelling entries that I look impudent to.
Here’s hoping there’s a an enormous number more top-notch material coming!
Very quaint text. I have been searching for such help. I am fond of your unconventional style and hope you will write more often.