Presentation on theme: "3/25/2017 8:53 AM Windows Communication Foundation (“Indigo”): A Deep Dive Into Extending The Channel Layer Kenny Wolf, Software Development Engineer."— Presentation transcript:
2Channel extensibility is an opportunity for component vendors What’s in it for you?Enable new transports (e.g. SMTP, UDP)Integrate with other systems (e.g. Java RMI)Implement custom infrastructure protocolsChannel extensibility is an opportunity for component vendors
3Endpoints and Channels ServiceHost host = new ServiceHost(typeof(MyService));Uri address = new Uri(“net.tcp://kennyw2/Service/endpoint”);Binding binding = new NetTcpBinding();Type contract = typeof(IMyContract);host.AddEndpoint(address, binding, contract);host.Open();
10Unit of Data Transfer Framing Message Bytes Need to encapsulate certain information outside of the SOAP messageByte Length of DataContent Type & Uri for ChannelMethod: 4 byte size, then datamy.tcp://kennyw2/a/text/xml193868channel.Open()CreateChannel(“my.tcp://kennyw2/a/”)channel.Send(message)
22Please fill out the evaluation We want to know what you think! Key Take AwaysWrite custom channels when you need toChange what goes on the wireIntegrate with arbitrary systemsEnable new transportsChannel extensibility is an opportunity for component vendorsPlease fill out the evaluationWe want to know what you think!