Benjamin,
[quoted text, click to view] > I'm passing classes through a web service. There are some properties on
the
> class that I don't need to be serialized and would like to remove them for
> performance (size) reasons so I've marked them with the
> System.Xml.Serialization.SoapIgnore attribute.
>
> I recompiled and checked what was being sent over the wire. The ignored
> property is still showing up in the xml serialization!
SoapIgnoreAttribute is only taken into account if you're using SOAP RPC
encoding, which it seems you're not using. For literal encoding (which is
the default), use [XmlIgnore] instead.
--
Tomas Restrepo
tomasr@mvps.org