Skip to content

HttpEndpointBehavior

Pedro Felix edited this page Feb 23, 2011 · 1 revision

HttpEndpointBehavior

  • Configures the WCF runtime, namely the service model layer, to behave according to the new HTTP model

Construction

  • Constructor receives an HttpHostConfiguration, which is used for
    • configure the instance provider
    • define the set of request and response processors

ApplyDispatchBehavior

  • Initializes endpoint dispatcher

    • AddressFilter is set to PrefixEndpointAddressMessageFilter
    • ContractFilter is set to MatchAllMessageFilter
  • If configuration provides an IInstanceFactory, set it into the dispatch runtime

  • Set MethodAndUriTemplateOperationSelector as the runtime operation selector

    • ...
  • For each operation in the contract

Clone this wiki locally