May 17, 2010

Public Interfaces of WCF in Silverlight 4

Microsoft seems to have added some more interfaces to System.ServiceModel in Silverlight 4 (came across a blog post from Dominick Baier). These can be used as WCF extensibility points.

Here is a list of all the public interfaces I found reflecting the assembly:

System.ServiceModel.IDefaultCommunicationTimeouts
System.ServiceModel.ICommunicationObject
System.ServiceModel.Channels.IChannel
System.ServiceModel.Channels.IChannelFactory
System.ServiceModel.Channels.IChannelFactory`1[TChannel]
System.ServiceModel.Channels.IInputChannel
System.ServiceModel.Channels.IOutputChannel
System.ServiceModel.Channels.IDuplexChannel
System.ServiceModel.Channels.ISession
System.ServiceModel.Channels.IInputSession
System.ServiceModel.Channels.IOutputSession
System.ServiceModel.Channels.IDuplexSession
System.ServiceModel.Channels.ISessionChannel`1[TSession]
System.ServiceModel.Channels.IDuplexSessionChannel
System.ServiceModel.Channels.IInputSessionChannel
System.ServiceModel.Channels.IOutputSessionChannel
System.ServiceModel.Channels.IRequestChannel
System.ServiceModel.Channels.IRequestSessionChannel
System.ServiceModel.Channels.IHttpCookieContainerManager
System.ServiceModel.Description.IEndpointBehavior
System.ServiceModel.IExtensionCollection`1[T]
System.ServiceModel.Description.IContractBehavior
System.ServiceModel.IExtensibleObject`1[T]
System.ServiceModel.IExtension`1[T]
System.ServiceModel.Description.IOperationBehavior
System.ServiceModel.IContextChannel
System.ServiceModel.IClientChannel
System.ServiceModel.Dispatcher.IClientOperationSelector
System.ServiceModel.Dispatcher.IParameterInspector
System.ServiceModel.Dispatcher.IClientMessageFormatter

System.ServiceModel.Dispatcher.IClientMessageInspector
System.ServiceModel.Dispatcher.IDispatchMessageFormatter

System.ServiceModel.Channels.IMessageProperty

generated (without Reflector) using

IList<Type> types = typeof(IClientMessageInspector).Assembly

    .GetTypes()

    .Where(t => t.IsInterface && t.IsPublic)

    .ToList();

 

I have not tried them, but the bold ones are interesting for WCF extensibility.

No comments:

Post a Comment