Last post Jun 01, 2020 07:21 AM by Do Sok Ho
May 30, 2020 05:59 PM|Do Sok Ho|LINK
I have project with .net framework already, So I want to get Url Signalr from .net framework for developer mobile app flutter,
only .net core can shared Url Signalr but .net framework I couldn't share
Could you please how to do...
Jun 01, 2020 06:33 AM|Brando ZWZ|LINK
Hi Do Sok Ho,
According to your description, I couldn't understand your requirement clearly.
Could you please tell me what you mean about share url Signalr? Do you mean the singlar calling url?
If this is your requirement, by default, the route URL which clients will use to connect to your Hub is "/signalr".
.NET client code that specifies the URL
var hubConnection = new HubConnection("http://contoso.com/signalr", useDefaultUrl: false);
Jun 01, 2020 07:21 AM|Do Sok Ho|LINK
Well, first of all thanks for connected my question.
My project is using Asp.Net Framework when I run Signalr by default, the route URL which clients will use to connect to your Hub is "/signalr".
so when I take that url (example: 192.168.1.101:12553/signalr) to develop other framework like mobile flutter it's doesn't working with this Url.
flutter signalr: https://pub.dev/packages/signalr_client#-readme-tab-
but when I use to test Signalr in Asp.net core it's working with example url with flutter mobile app.
The challenge is I cannot change my whole project to asp.net core, I want to keep my project as asp.net framework but I want signalr Url should working with flutter app.
If you have any Idea or solution, please shared, best regard...