4 implementations of AddResource
Aspire.Hosting (1)
Aspire.Hosting.Azure.Sql (1)
Aspire.Hosting.Testing (2)
212 references to AddResource
Aspire.Hosting (18)
Aspire.Hosting.Azure (5)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.ApplicationInsights (1)
Aspire.Hosting.Azure.AppService (2)
Aspire.Hosting.Azure.CognitiveServices (2)
Aspire.Hosting.Azure.ContainerRegistry (1)
Aspire.Hosting.Azure.CosmosDB (4)
Aspire.Hosting.Azure.EventHubs (3)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.KeyVault (5)
Aspire.Hosting.Azure.Kusto (2)
Aspire.Hosting.Azure.Network (8)
Aspire.Hosting.Azure.OperationalInsights (1)
Aspire.Hosting.Azure.PostgreSQL (2)
Aspire.Hosting.Azure.Redis (2)
Aspire.Hosting.Azure.Search (1)
Aspire.Hosting.Azure.ServiceBus (4)
Aspire.Hosting.Azure.SignalR (1)
Aspire.Hosting.Azure.Sql (2)
Aspire.Hosting.Azure.Storage (9)
Aspire.Hosting.Azure.WebPubSub (1)
Aspire.Hosting.CodeGeneration.Go.Tests (4)
Aspire.Hosting.CodeGeneration.Java.Tests (4)
Aspire.Hosting.CodeGeneration.Python.Tests (4)
Aspire.Hosting.CodeGeneration.Rust.Tests (4)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (4)
Aspire.Hosting.DevTunnels (2)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Foundry (7)
Aspire.Hosting.Garnet (1)
Aspire.Hosting.GitHub.Models (1)
Aspire.Hosting.JavaScript (4)
Aspire.Hosting.Kafka (2)
Aspire.Hosting.Keycloak (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Maui (7)
Aspire.Hosting.Milvus (3)
Aspire.Hosting.MongoDB (3)
Aspire.Hosting.MySql (3)
Aspire.Hosting.Nats (1)
Aspire.Hosting.OpenAI (2)
Aspire.Hosting.Oracle (2)
Aspire.Hosting.PostgreSQL (5)
Aspire.Hosting.Python (3)
Aspire.Hosting.Qdrant (1)
Aspire.Hosting.RabbitMQ (1)
Aspire.Hosting.Redis (3)
Aspire.Hosting.Seq (1)
Aspire.Hosting.SqlServer (2)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Tests (46)
Dcp\DcpExecutorTests.cs (11)
1692builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test");
1696builder.AddResource(nonDebuggableExecutable);
1747builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1783builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1786builder.AddResource(nonDebuggableExecutable);
1825builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1861builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1897builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1939builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
1981builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test");
2351builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>(_ => throw new InvalidOperationException("Test exception from launch configuration producer"), "test");
Aspire.Hosting.Valkey (1)
Aspire.Hosting.Yarp (1)
CustomResources.AppHost (3)
HealthChecksSandbox.AppHost (1)
Publishers.AppHost (1)
Stress.AppHost (2)