Skip to content

Error when binding in WebJob #1603

@profnimrod

Description

@profnimrod

I have a webjob using Microsoft.Azure.WebJobs 3.0.32. It contains a function that is bound to a SignalR instance using Microsoft.Azure.WebJobs.Extensions.SignalRService 1.8.0. This is dependent on Microsoft.Azure.SignalR.Management and Microsoft.Azure.SignalR. This web job was running perfectly fine when I was using version 1.16.1 of these libraries. After upgrading to 1.17.0 I started getting the following error for every incoming messages:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: [My function name]
---> System.InvalidOperationException: Exception binding parameter 'signalRMessages'
---> System.MissingMethodException: Method not found: 'Void Microsoft.Azure.SignalR.ServiceEndpoint.set_Name(System.String)'.
at Microsoft.Azure.WebJobs.Extensions.SignalRService.OptionsSetup.Configure(ServiceManagerOptions options)
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)

Basically. it no longer works. Is there a resource that details the breaking changes from 1.16.1 to 1.17.0, or was this unintentional?

The binding expression used within the function signature is:

[SignalR(HubName = "insyshub")] IAsyncCollector<SignalRMessage> signalRMessages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions