Translate This Page
Translate this page
Networking && Web Services
Tips and Tricks
Windows Communication Foundation
Browse by Tags
Tagged Content List
Quick Tip: Using XPath to find nodes by attribute value
There are some things that I can just remember: phone numbers, locker combinations, and the like. There are others that I have to lookup again and again and again. XPath query syntax is one of the latter items. Today, I'd like to talk a little about XPath queries. The following XML contains a collection...
13 Mar 2007
Quick Tip: Specifying a field's name when using the XmlSerializer
Last month, I wrote about how to instruct the XmlSerializer to create an XML attribute for fields in an object . Today, I'd like to talk about how to specify the name used to represent a field in the resulting XML. By default, when an object is serialized, fields are serialized into nodes with names...
8 Nov 2006
Quick Tip: Serializing an Object Field as an XML Attribute
The addition of the XML Serializer is one of the reasons I really love version 2 of the .NET Compact Framework. I use the XML Serializer in very nearly every application I write; to save application state, data files, etc. By default, the XML Serializer will create a child node for every field in a type...
2 Oct 2006
Simple object remoting using the XmlSerializer
Today, I'm going to talk about how you can use the XmlSerializer, TcpClient and TcpListener classes to create a simple remoting layer to send your custom objects from one device to another. This post requires the .NET Compact Framework version 2 (beta 1) or the .NET Framework for desktop PCs. Since NetCF...
27 Oct 2004
Page 1 of 1 (4 items)
© 2014 Microsoft Corporation.
Privacy & Cookies