Image: [W3C](https://www.w3.org/html/logo/)

Websockets in Asp.Net Core

An example of creating and using a WebSocket with the new ASP.NET Core. The example code is available on GitHub here. Background WebSockets were introduced as part of the draft HTML5 specification in 2008, and the first browser to provide support was Google Chrome in 2009. At this time (July 2016), the following browsers fully support the WebSocket standard (RFC 6455): Internet Explorer 10 Firefox 11 (PC,Android) Chrome 16 (PC,Mobile) Safari 6 (Mac,iOS) Opera 12.10 (PC,Mobile) Android Browser 4.4 Websockets Unlike the HTTP protocol, a WebSocket provides fully bi-directional (full-duplex) communication, enabling a event based model of programming using a message passing protocol. Since there is not the constant overhead of re-establishing the connection, the passing of multiple small messages is extremely efficient and lends itself well to client/service interactions with low latency. ...

July 28, 2016 · 5 min · Brad Merrill

WcfLib - WCF services, clients, and routers

Describes the WcfLib component, for easily creating Wcf services, clients, and routers. These are useful for creating and communicating with WCF services, particularly in Azure environments which require WCF routing capabilities. Available as a (WcfLib NuGet Library) Background I’ve been working with a customer who was looking to re-host one of their existing applications in the Microsoft Azure Service Fabric environment. This particular application uses Windows Communication Foundation (WCF) framework for communication between clients and services. However when hosting applications in Azure Service Fabric, clients typically do not directly connect to services, but utilize a router or gateway to talk to the services (see next article on a Fabric router). ...

October 19, 2015 · 4 min · Brad Merrill