9 references to AzureSignalRResource
Aspire.Hosting.Azure.SignalR (9)
AzureSignalREmulatorResource.cs (3)
9/// Wraps an <see cref="AzureSignalRResource" /> in a type that exposes container extension methods. 12public class AzureSignalREmulatorResource(AzureSignalRResource innerResource) : ContainerResource(innerResource.Name), IResource 14private readonly AzureSignalRResource _innerResource = innerResource;
AzureSignalRExtensions.cs (6)
25public static IResourceBuilder<AzureSignalRResource> AddAzureSignalR(this IDistributedApplicationBuilder builder, [ResourceName] string name) => AddAzureSignalR(builder, name, AzureSignalRServiceMode.Default); 34public static IResourceBuilder<AzureSignalRResource> AddAzureSignalR(this IDistributedApplicationBuilder builder, [ResourceName] string name, AzureSignalRServiceMode serviceMode) 76var resource = new AzureSignalRResource(name, configureInfrastructure); 82/// Configures an Azure SignalR resource to be emulated. This resource requires an <see cref="AzureSignalRResource"/> to be added to the application model. Please note that the resource will be emulated in <b>Serverless mode</b>. 90public static IResourceBuilder<AzureSignalRResource> RunAsEmulator(this IResourceBuilder<AzureSignalRResource> builder, Action<IResourceBuilder<AzureSignalREmulatorResource>>? configureContainer = null)