Azure / azure-signalr

Azure SignalR Service SDK for .NET
https://aka.ms/signalr-service
MIT License
421 stars 99 forks source link

Support default mode in SignalR Service emulator #1990

Open ADH-LukeBollam opened 1 month ago

ADH-LukeBollam commented 1 month ago

Is your feature request related to a problem? Please describe.

Our application consists of a main web app, and several supporting function apps. Users connect to signalr from the web app where they are assigned groups etc. The function apps send notifications to these groups when things complete.

This means that

  1. You have to write two different solutions for the same functionality.
  2. You aren't debugging the same workflow as when you are running live so it's harder to validate that your code is working as expected.

Describe the solution you'd like

A local emulator that could run in place of the SignalR Service which supported default mode would allow apps to run exactly the same whether local or in Azure. A perfect example of this is Azurite, where you simply change the connection string and you have a fully working blob storage for debugging.

Additional context

vicancy commented 1 month ago

How about creating a free tier SignalR service for your local runs?

ADH-LukeBollam commented 1 month ago

It's an okay option, but a fully local development environment is preferable for a number of reasons.