AzureSignalRExtensions
AddAzureSignalR(IDistributedApplicationBuilder, String)
AddAzureSignalR(IDistributedApplicationBuilder, String, AzureSignalRServiceMode)
RunAsEmulator(IResourceBuilder<AzureSignalRResource>, Action<IResourceBuilder<AzureSignalREmulatorResource>>)
WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureSignalRResource>, SignalRBuiltInRole[])
net11.0
namespace Aspire.Hosting
{
public static class AzureSignalRExtensions
{
[AspireExport("runAsEmulator", Description = "Configures an Azure SignalR resource to be emulated. This resource requires an Azure SignalR resource to be added to the application model. Please note that the resource will be emulated in Serverless mode.", RunSyncOnBackgroundThread = true)]
public static IResourceBuilder<AzureSignalRResource!>! RunAsEmulator(this IResourceBuilder<AzureSignalRResource!>! builder, Action<IResourceBuilder<AzureSignalREmulatorResource!>!>? configureContainer = null);
}
}
| .NET | 8.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | Aspire.Hosting.Azure.SignalR , Version=13.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Aspire.Hosting.Azure.SignalR , Version=13.3.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
| Referencing | Your project needs a package reference to |
| Package | Aspire.Hosting.Azure.SignalR (13.2.0) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API