GithubHelp home page GithubHelp logo

Comments (3)

ryancole avatar ryancole commented on August 16, 2024

Holy cow, I just figured it out. I've been at this for about a week and a half now.

In the binding, when you specify hub name, you have to append hub to the name. I noticed that the @aspnet/signalr JS client was appending hub to the end of the name of my hub that I specify on the browser side of things. In my Functions binding, if I manually add hub to the end of my actual hub name, it works.

I must be doing something out of the ordinary though because I saw no mention of this anywhere, and none of the sample projects seem to do this. I'm unsure what the difference between what I'm doing is, though. I haven't seen any samples of using a local ASP.NET Core SignalR server with Azure SignalR service and Azure Functions. All the Azure Functions samples I've seen go the serverless route, and so I've not yet seen a sample exactly like mine - maybe that's where the difference lies?

from signalr.

ryancole avatar ryancole commented on August 16, 2024

Oh no I see. It's taking the name of the hub from the class name. I don't know why I for some reason thought my hub was named "Functions" but my class is "FunctionsHub". Dang. A week out of the window due to that! haha

from signalr.

BrennanConroy avatar BrennanConroy commented on August 16, 2024

Glad you figured it out!

from signalr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.