Skip to content

Microsoft.Azure.WebJobs.Extensions.SignalRService_1.7.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 22 Feb 05:51
40124cf

1.7.0 (2022-02-22)

Following are the all changes in 1.7.0-beta.2 and 1.7.0-beta.1 versions.

Features Added

  • SignalRConnectionAttribute can be used to customize the connection name of strongly typed serverless hub too. Usage:
    [SignalRConnection("SignalRConnection")]
    public class CustomConnectionHub : ServerlessHub<IChatClient>
    {
    }
    {
        "Values":{
            "SignalRConnection":"Your-Connection-String"
        }
    }
  • Added built-in string constants for SignalR trigger: SignalRTriggerCategories.Connections for "connections", SignalRTriggerCategories.Messages for "messages", SignalRTriggerEvents.Connected for "connected", SignalRTriggerEvents.Disconnected for "disconnected".
  • Added strongly typed serverless hub. See sample for more details.
  • Enabled SignalR trigger to use identity-based connection.

Bugs Fixed

  • Fix a ServiceEndpoints binding bug that creating new persistent connections for each request.
  • Fixed the bug that the function host could not be shutdown locally on Functions V3 runtime.
  • Fixed the package restoring issue on .NET 5 and above.