Azure-docs: Azure portal: Missing templates for SignalR Service bindings

Created on 27 Sep 2018  Â·  11Comments  Â·  Source: MicrosoftDocs/azure-docs

Document didn't describe how to install manually an extension for SignalR Service bindings, when the binding (for example output) is declared manually, the following error is displaying:

Error: The binding type(s) 'signalR' are not registered. Please ensure the type is correct and the binding extension is installed.

The question is: How can be installed this extension?

Note, that adding a nuget package to the extensions.csproj like is shown in the following snippet didn't help:

`<Project Sdk="Microsoft.NET.Sdk">  
    <PropertyGroup>    
      <TargetFramework>netstandard2.0</TargetFramework>    
      <WarningsAsErrors />  
    </PropertyGroup>  
    <ItemGroup>    
      <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.EventGrid" Version="2.0.0" />    
      <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.SignalRService" Version="1.0.0-preview1-10002" />    
      <PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="1.0.1" />  
    </ItemGroup>
  </Project>`

Thanks
Roman


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-enhancement functionsvc triaged

Most helpful comment

That's correct. It will be nice to have this workaround in the document.

Btw. Thanks for the SignalR Service extension bindings, it's very useful.

All 11 comments

@romankiss Are you trying this in the portal or locally in VSCode?

It is a portal with a fresh new FunctionApp for version 2. I have successful created an EventGridTrigger function, then the HttpTrigger function with a SignalR output binding.
The function with a SignalR Service binding failed.

But, a few minutes ago, I have installed a storage extension (not a trigger function) and it looks like the problem with the extension SignalR has been resolved. It's working fine. I think, the additional extension (such as storage) triggered an installation process based on the extensions.csproj.

It looks like, the changes (editing) in the extensions.csproj didn't trigger any action.

Thanks
Roman

Yes. There's not a good method of installing extensions that do not appear in the portal. But you should be able to use the console in the Azure Functions portal to manually run func extensions install -p Microsoft.Azure.WebJobs.Extensions.SignalRService -v 1.0.0-preview1-10002 to install it.

Sounds like what happened in your case was that you added the entry to extensions.json, but func extensions install still needed to be run to install the extension. When you added the storage extension, that was run automatically.

That's correct. It will be nice to have this workaround in the document.

Btw. Thanks for the SignalR Service extension bindings, it's very useful.

@ggailey777 What's the best way to add this to docs? We should probably do it centrally across all bindings.

We are working on official documentation for installing binding extensions in the portal manually. In the meantime, you can find the instructions here

@anthonychu The current version of the SignalR Service extension bindings is configured with 5001 port. Based on the azure team notification email, the action is required for updating 5001/5002 ports to the standard https port 443.

My question is: Is there a plan (and when we can expect it) for new version of the Microsoft.Azure.WebJobs.Extensions.SignalRService assembly?

Thanks
Roman

Thanks Anthony

@romankiss the SignalR binding article does link to the instructions for manually installing the binding in the portal, but maybe it got missed:
image
There is a step to build the extension project, which installs the NuGet packages in the function app.

If we are tracking the issue with adding support for the SignalR binding in the portal elsewhere, we should probably #please-close issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bityob picture bityob  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

varma31 picture varma31  Â·  3Comments