Azure / azure-functions-signalrservice-extension

Azure Functions bindings for SignalR Service. Project moved to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService .
MIT License
97 stars 48 forks source link

Possible to add steps to debug locally? #147

Open DarrenWainwright opened 4 years ago

DarrenWainwright commented 4 years ago

This document is the only one i found after a few days trying to get bi-directional communication working; in particular invoking a function method via signalR. Thank you!

I'd like to ask if it's possible to add some steps on how to debug locally?

I'm using postman and another MSFT Employee pointed me here https://docs.microsoft.com/en-us/azure/azure-signalr/concept-upstream#serverless-protocols for information on forming a post to the locally running function - I'm not winning though and unsure why.

I think this extra information might be valuable to other devs too.

thank you

Y-Sindo commented 3 years ago

Although this issue was created a long time ago, I'd still try to answer the question in case someone wants it later. Do you mean making Azure SignalR trigger your local SignalRTrigger functions by "invoking a function method via signalR"? If so, you could try ngrok. Please see https://hackernoon.com/using-ngrok-with-azure-functions-7e209e96538c for reference.