Skip to main content
Version: Latest

SignalR Feature

Feature NameSignalR
Feature IDOrchardCore.SignalR
Deprecated compatibility feature IDCrestApps.OrchardCore.SignalR
Redis backplane feature IDOrchardCore.SignalR.Redis
Azure backplane feature IDOrchardCore.SignalR.Azure

The SignalR module has been migrated into the Orchard Core framework. Use OrchardCore.SignalR and the framework signalr script resource for new work. The deprecated CrestApps feature only exists as a compatibility feature for sites that still need migration.

Views that need a hub URL can use Html.SignalRHubUrl<T>(). The helper adds the current request path base, so hub links work for tenants that use a URL prefix.

public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider)
{
routes.MapHub<MyHub>(SignalRHubRoutes.GetHubPath<MyHub>());
}
@{
var hubUrl = Html.SignalRHubUrl<MyHub>();
}

<script asp-name="my-script" depends-on="signalr" at="Foot"></script>

Learn more in the Orchard Core SignalR documentation.