• About
  • Privacy Policy
  • Utilities
Darchuk.NET

SignalR

Logging in a .NET Core 3 SignalR client

October 18, 2019 by Robert Leave a Comment

SignalR is part of the .NET Core framework that allows for real-time communication between a server and any number of clients.  The traditional example is a JavaScript client that can receive updates directly from a web server asynchronously, but you can also connect to a SignalR hub with a C# client. via GIPHY HubConnectionBuilder To … [Read more…]

Posted in: .NET Core, ASP.NET, C#, SignalR, Web Development Tagged: C#, Csharp, DotNetCore, DotNetCore3, SignalR

SignalR Strongly-Typed Hubs

July 19, 2019 by Robert 3 Comments

Previously I talked about how to set up the server side of SignalR for facilitating real-time communication.  One of the parts that I don’t particularly care for in that default implementation is that the hub methods (the messages that are sent to connected clients) are identified by strings.  Sure, you could create some string constants … [Read more…]

Posted in: .NET Core, ASP.NET, Asynchronous, C#, SignalR, Web Development Tagged: C#, Magic Strings, Realtime, SignalR

ASP.NET Core 2.2 SignalR Server

July 12, 2019 by Robert 1 Comment

SignalR is a technology that allows you to write bi-directional communication between a server and a client.  This can lead to some pretty cool interactions, such as a live-updating dashboard on a website, or the ability to communicate requests to a server without building HTTP endpoints.  SignalR does a lot of heavy lifting behind the … [Read more…]

Posted in: .NET Core, ASP.NET, C#, SignalR, Web Development Tagged: .NET Core, ASP.NET, C#, Realtime, SignalR, Web Development

Callback MemoryStream

June 7, 2019 by Robert Leave a Comment

In the last post I talked about streaming data back via a WebAPI.  On the front end, I had a “download” button that I wanted to disable until the download is complete, so that users don’t inadvertently spam the server with download requests.  When the button is clicked, an iframe is opened to the WebAPI … [Read more…]

Posted in: ASP.NET, C#, SignalR, Web API Tagged: C#, Callback, SignalR, Streams

ASP.NET Core 2–Enabling SignalR logging

April 19, 2019 by Robert 1 Comment

Sometimes you just need some logging to do a sanity check that things are actually working the way that you’re expecting. via GIPHY Here’s how to turn logging on in ASP.NET Core 2 for SignalR: I’ve had to look this up more than twice, and its not exactly easy to find in the Microsoft docs, … [Read more…]

Posted in: .NET Core, ASP.NET, C#, Debugging, SignalR Tagged: .NET Core, ASP.NET, C#, Logging, SignalR

Simple SignalR Environment Status Screen

May 16, 2015 by Robert Leave a Comment

I am a SignalR junkie.  Having an application provide real time updates opens up a ton of opportunities.  I would even go as far as to say it is the way things are supposed to be — its a much more natural experience for the user to have pertinent information show up automatically.  I usually … [Read more…]

Posted in: ASP.NET, SignalR, WPF Tagged: ASP.NET, SignalR, WPF

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall