WCF- Dispatcher graphics

trying to understand WCF extension model, I have reconstructed ServiceModel.Dispatcher namespace with most important information related to ChannelDispatcher, EndpointDispatcher and dispatchRuntime plus operation Runtime. This is first version, the diagram is layout to reflect message passing from up to bottom.

Full picture [400KB]
message dispatcher thumbnail

Follow-up of this model for ServiceDescription can be found here

Following sequence is how it flows in WCF model when executing an operation (not exhaustive):

1. reached EndpointAddress
2. performing EndpointAddressMessageFilter : Match operation returned: True
3. performing TrackContractFilter : Match operation returned: True
4. called OperationSelection: Method to call: MyMethod
5 called AfterReceiveRequestEvent for binding http://tempuri.org/:BasicHttpBindingEndpoints: 1
6. Constructor of Service MyService called : class instantiated
7. called AllocateInputs
8. called ParameterInspectionBeforeEvent
9. called InvokeOperationEvent
10. Method/operation MyOperation is executing…
11. called ParameterInspectionAfterEvent
12. called BeforeSendReplyEvent

This entry was posted in WCF and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s