locked
How to share url Signalr from .net Framework? RRS feed

  • Question

  • User-632387866 posted

    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...

     

    Saturday, May 30, 2020 5:58 PM

All replies

  • User283571144 posted

    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);
    
    

    Best Regards,

    Brando

    Monday, June 1, 2020 6:33 AM
  • User-632387866 posted

    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...

    Monday, June 1, 2020 7:21 AM