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.
12
public class AzureSignalREmulatorResource(
AzureSignalRResource
innerResource) : ContainerResource(innerResource.Name), IResource
14
private readonly
AzureSignalRResource
_innerResource = innerResource;
AzureSignalRExtensions.cs (6)
25
public static IResourceBuilder<
AzureSignalRResource
> AddAzureSignalR(this IDistributedApplicationBuilder builder, [ResourceName] string name) => AddAzureSignalR(builder, name, AzureSignalRServiceMode.Default);
34
public static IResourceBuilder<
AzureSignalRResource
> AddAzureSignalR(this IDistributedApplicationBuilder builder, [ResourceName] string name, AzureSignalRServiceMode serviceMode)
76
var
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>.
90
public static IResourceBuilder<
AzureSignalRResource
> RunAsEmulator(this IResourceBuilder<
AzureSignalRResource
> builder, Action<IResourceBuilder<AzureSignalREmulatorResource>>? configureContainer = null)