protobuf-net.ServiceModel.xml

<?xml version="1.0"?>
<doc>
    <assembly>
        <name>protobuf-net.ServiceModel</name>
    </assembly>
    <members>
        <member name="T:ProtoBuf.ServiceModel.ProtoBehaviorAttribute">
            <summary>
            Uses protocol buffer serialization on the specified operation; note that this
            must be enabled on both the client and server.
            </summary>
        </member>
        <member name="T:ProtoBuf.ServiceModel.ProtoBehaviorExtension">
            <summary>
            Configuration element to swap out DatatContractSerilaizer with the XmlProtoSerializer for a given endpoint.
            </summary>
            <seealso cref="T:ProtoBuf.ServiceModel.ProtoEndpointBehavior"/>
        </member>
        <member name="M:ProtoBuf.ServiceModel.ProtoBehaviorExtension.#ctor">
            <summary>
            Creates a new ProtoBehaviorExtension instance.
            </summary>
        </member>
        <member name="P:ProtoBuf.ServiceModel.ProtoBehaviorExtension.BehaviorType">
            <summary>
            Gets the type of behavior.
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.ProtoBehaviorExtension.CreateBehavior">
            <summary>
            Creates a behavior extension based on the current configuration settings.
            </summary>
            <returns>The behavior extension.</returns>
        </member>
        <member name="T:ProtoBuf.ServiceModel.ProtoEndpointBehavior">
            <summary>
            Behavior to swap out DatatContractSerilaizer with the XmlProtoSerializer for a given endpoint.
             <example>
            Add the following to the server and client app.config in the system.serviceModel section:
             <behaviors>
               <endpointBehaviors>
                 <behavior name="ProtoBufBehaviorConfig">
                   <ProtoBufSerialization/>
                 </behavior>
               </endpointBehaviors>
             </behaviors>
             <extensions>
               <behaviorExtensions>
                 <add name="ProtoBufSerialization" type="ProtoBuf.ServiceModel.ProtoBehaviorExtension, protobuf-net, Version=1.0.0.255, Culture=neutral, PublicKeyToken=257b51d87d2e4d67"/>
               </behaviorExtensions>
             </extensions>
             
            Configure your endpoints to have a behaviorConfiguration as follows:
             
             <service name="TK.Framework.Samples.ServiceModel.Contract.SampleService">
               <endpoint address="http://myhost:9003/SampleService" binding="basicHttpBinding" behaviorConfiguration="ProtoBufBehaviorConfig"
                bindingConfiguration="basicHttpBindingConfig" name="basicHttpProtoBuf" contract="ISampleServiceContract" />
             </service>
             <client>
                 <endpoint address="http://myhost:9003/SampleService" binding="basicHttpBinding"
                     bindingConfiguration="basicHttpBindingConfig" contract="ISampleServiceContract"
                     name="BasicHttpProtoBufEndpoint" behaviorConfiguration="ProtoBufBehaviorConfig"/>
              </client>
            </example>
            </summary>
        </member>
        <member name="T:ProtoBuf.ServiceModel.ProtoOperationBehavior">
            <summary>
            Describes a WCF operation behaviour that can perform protobuf serialization
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.ProtoOperationBehavior.#ctor(System.ServiceModel.Description.OperationDescription)">
            <summary>
            Create a new ProtoOperationBehavior instance
            </summary>
        </member>
        <member name="P:ProtoBuf.ServiceModel.ProtoOperationBehavior.Model">
            <summary>
            The type-model that should be used with this behaviour
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.ProtoOperationBehavior.CreateSerializer(System.Type,System.Xml.XmlDictionaryString,System.Xml.XmlDictionaryString,System.Collections.Generic.IList{System.Type})">
            <summary>
            Creates a protobuf serializer if possible (falling back to the default WCF serializer)
            </summary>
        </member>
        <member name="T:ProtoBuf.ServiceModel.XmlProtoSerializer">
            <summary>
            An xml object serializer that can embed protobuf data in a base-64 hunk (looking like a byte[])
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.TryCreate(ProtoBuf.Meta.TypeModel,System.Type)">
            <summary>
            Attempt to create a new serializer for the given model and type
            </summary>
            <returns>A new serializer instance if the type is recognised by the model; null otherwise</returns>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.#ctor(ProtoBuf.Meta.TypeModel,System.Type)">
            <summary>
            Creates a new serializer for the given model and type
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.WriteEndObject(System.Xml.XmlDictionaryWriter)">
            <summary>
            Ends an object in the output
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.WriteStartObject(System.Xml.XmlDictionaryWriter,System.Object)">
            <summary>
            Begins an object in the output
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.WriteObjectContent(System.Xml.XmlDictionaryWriter,System.Object)">
            <summary>
            Writes the body of an object in the output
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.IsStartObject(System.Xml.XmlDictionaryReader)">
            <summary>
            Indicates whether this is the start of an object we are prepared to handle
            </summary>
        </member>
        <member name="M:ProtoBuf.ServiceModel.XmlProtoSerializer.ReadObject(System.Xml.XmlDictionaryReader,System.Boolean)">
            <summary>
            Reads the body of an object
            </summary>
        </member>
    </members>
</doc>