Category SignalR

Getting started with SignalR using ASP.NET Core and Angular

This article shows how to setup a first SignalR Hub in ASP.NET Core 2.0 and use it with an Angular client. SignalR will be released with dotnet 2.1. Thanks to Dennis Alberti for his help in setting up the code example. Code: https://github.com/damienbod/AspNetCoreAngularSignalR Other posts in this series: Getting started with SignalR using ASP.NET Core […]

Visualizing Elasticsearch Watcher events using ASP.NET Core 1.0, SignalR and Angular

This article shows how to display Elasticsearch Watcher events in an Angular UI using SignalR. The Elasticsearch Watcher events are sent to a MVC 6 controller in an ASP.NET Core 1.0 application. The action method in the controller handles the watcher events and sends the data to the Angular UI using SignalR and the SignalR […]

CSV export using Elasticsearch and Web API

This article demonstrates how to export data from Elasticsearch to a CSV file using Web API. The data is retrieved from Elasticsearch using _search with scan and scroll. This API can retrieve data very fast without any sorting. The data is then exported to a CSV file using WebApiContrib.Formatting.Xlsx from Jordan Gray. The progress of […]

SignalR Self Hosting in a Windows Service

This blog provides a simple template or example of a windows service which hosts a SignalR service. Code: https://github.com/damienbod/SignalRWSelfHostingWindowsServiceTemplate The Start and Stop methods used by the Windows Service use a long running Task which can be cancelled. SignalR is self hosted in OWIN. The main method of the service just starts the service. If […]

SignalR Message Buffers with SQLite

This post demonstrates how to set up a very basic message queue using SignalR with SQLite. This could be used to collect data from a measurement system or a client which is not always online but no data messages should be lost or the sequence of the messages. Code: https://github.com/damienbod/SignalRMessagingBuffering Only the client contains a […]

SignalR A complete WPF client using MVVM

In this post, a WPF application using MVVM is created and used to send and recieve SignalR messages. The post continues on from: SignalR Messaging, a more complete server with a Console Application Code: https://github.com/damienbod/SignalRMessagingErrorHandling The application uses 4 different projects: Damienbod.SignalR.IHubSync.Client: This project helps us use the SignalR Hub hosted in the server console […]

The end of WCF is on the horizon

I’m still a great fan of WCF and all it brings with it. This was one of the best developments in the .NET world and made it easy to implement multi process software, distributed systems and SOA. Why will it no longer be required? Web Api 2 and SignalR Great open source frameworks. source code […]