134 references to AspireExport
Aspire.Hosting (74)
Ats\BuilderExports.cs (6)
49[AspireExport("getConfigValue", Description = "Gets a configuration value by key")] 61[AspireExport("getConnectionString", Description = "Gets a connection string by name")] 76[AspireExport("getEnvironmentName", Description = "Gets the environment name")] 87[AspireExport("isDevelopment", Description = "Checks if running in Development environment")] 107[AspireExport("subscribeBeforeStart", Description = "Subscribes to the BeforeStart lifecycle event")] 128[AspireExport("subscribeAfterResourcesCreated", Description = "Subscribes to the AfterResourcesCreated lifecycle event")]
Ats\CollectionExports.cs (18)
33[AspireExport("Dict.get", Description = "Gets a value from a dictionary")] 43[AspireExport("Dict.set", Description = "Sets a value in a dictionary")] 53[AspireExport("Dict.remove", Description = "Removes a key from a dictionary")] 62[AspireExport("Dict.keys", Description = "Gets all keys from a dictionary")] 72[AspireExport("Dict.has", Description = "Checks if a dictionary contains a key")] 81[AspireExport("Dict.count", Description = "Gets the number of entries in a dictionary")] 89[AspireExport("Dict.clear", Description = "Clears all entries from a dictionary")] 98[AspireExport("Dict.values", Description = "Gets all values from a dictionary")] 107[AspireExport("Dict.toObject", Description = "Converts a dictionary to a plain object")] 121[AspireExport("List.get", Description = "Gets an item from a list by index")] 131[AspireExport("List.set", Description = "Sets an item in a list at a specific index")] 145[AspireExport("List.add", Description = "Adds an item to the end of a list")] 155[AspireExport("List.removeAt", Description = "Removes an item at a specific index from a list")] 171[AspireExport("List.length", Description = "Gets the number of items in a list")] 179[AspireExport("List.clear", Description = "Clears all items from a list")] 189[AspireExport("List.insert", Description = "Inserts an item at a specific index in a list")] 204[AspireExport("List.indexOf", Description = "Gets the index of an item in a list")] 213[AspireExport("List.toArray", Description = "Converts a list to an array")]
Ats\CoreExports.cs (2)
79[AspireExport("withVolume", Description = "Adds a volume")] 103[AspireExport("getResourceName", Description = "Gets the resource name")]
Ats\LoggingExports.cs (9)
17[AspireExport("getLogger", Description = "Gets a logger for a resource")] 26[AspireExport("getLoggerByName", Description = "Gets a logger by resource name")] 35[AspireExport("logInformation", Description = "Logs an information message")] 44[AspireExport("logWarning", Description = "Logs a warning message")] 53[AspireExport("logError", Description = "Logs an error message")] 62[AspireExport("logDebug", Description = "Logs a debug message")] 71[AspireExport("log", Description = "Logs a message with specified level")] 91[AspireExport("completeLog", Description = "Completes the log stream for a resource")] 100[AspireExport("completeLogByName", Description = "Completes the log stream by resource name")]
Ats\NotificationExports.cs (6)
16[AspireExport("waitForResourceState", Description = "Waits for a resource to reach a specified state")] 28[AspireExport("waitForResourceStates", Description = "Waits for a resource to reach one of the specified states")] 40[AspireExport("waitForResourceHealthy", Description = "Waits for a resource to become healthy")] 52[AspireExport("waitForDependencies", Description = "Waits for all dependencies of a resource to be ready")] 63[AspireExport("tryGetResourceState", Description = "Tries to get the current state of a resource")] 78[AspireExport("publishResourceUpdate", Description = "Publishes an update for a resource's state")]
Ats\ServiceExports.cs (5)
45[AspireExport("getServiceProvider", Description = "Gets the service provider from the builder")] 56[AspireExport("getResourceNotificationService", Description = "Gets the resource notification service")] 67[AspireExport("getResourceLoggerService", Description = "Gets the resource logger service")] 95[AspireExport("getService", Description = "Gets a service by ATS type ID")] 117[AspireExport("getRequiredService", Description = "Gets a required service by ATS type ID")]
ContainerResourceBuilderExtensions.cs (5)
93[AspireExport("addContainer", Description = "Adds a container resource")] 247[AspireExport("withBindMount", Description = "Adds a bind mount")] 283[AspireExport("withImageTag", Description = "Sets the container image tag")] 314[AspireExport("withImageRegistry", Description = "Sets the container image registry")] 494[AspireExport("withLifetime", Description = "Sets the lifetime behavior of the container resource")]
DistributedApplication.cs (3)
153[AspireExport("createBuilder", Description = "Creates a new distributed application builder")] 217[AspireExport("createBuilderWithOptions", Description = "Creates builder with options")] 473[AspireExport("run", Description = "Runs the distributed application")]
ExecutableResourceBuilderExtensions.cs (1)
29[AspireExport("addExecutable", Description = "Adds an executable resource")]
IDistributedApplicationBuilder.cs (1)
272[AspireExport("build", Description = "Builds the distributed application")]
ParameterResourceBuilderExtensions.cs (3)
26[AspireExport("addParameter", Description = "Adds a parameter resource")] 165[AspireExport("withDescription", Description = "Sets a parameter description")] 245[AspireExport("addConnectionString", Description = "Adds a connection string resource")]
ProjectResourceBuilderExtensions.cs (1)
733[AspireExport("withReplicas", Description = "Sets the number of replicas")]
ResourceBuilderExtensions.cs (14)
33[AspireExport("withEnvironment", Description = "Sets an environment variable")] 89[AspireExport("withEnvironmentExpression", Description = "Adds an environment variable with a reference expression")] 129[AspireExport("withEnvironmentCallback", Description = "Sets environment variables via callback")] 145[AspireExport("withEnvironmentCallbackAsync", Description = "Sets environment variables via async callback")] 339[AspireExport("withArgs", Description = "Adds arguments")] 524[AspireExport("withReference", Description = "Adds a reference to another resource")] 609[AspireExport("withServiceReference", Description = "Adds a service discovery reference to another resource")] 979[AspireExport("withHttpEndpoint", Description = "Adds an HTTP endpoint")] 1013[AspireExport("withExternalHttpEndpoints", Description = "Makes HTTP endpoints externally accessible")] 1058[AspireExport("getEndpoint", Description = "Gets an endpoint reference")] 1476[AspireExport("waitFor", Description = "Waits for another resource to be ready")] 1724[AspireExport("waitForCompletion", Description = "Waits for resource completion")] 1825[AspireExport("withHttpHealthCheck", Description = "Adds an HTTP health check")] 2813[AspireExport("withParentRelationship", Description = "Sets the parent relationship")]
Aspire.Hosting.CodeGeneration.TypeScript.Tests (25)
TestTypes\TestExtensions.cs (25)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 45[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 67[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 372[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 383[AspireExport("getTags", Description = "Gets the tags for the resource")] 392[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 401[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 413[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 424[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 435[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 446[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 457[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 469[AspireExport("withStatus", Description = "Sets the resource status")] 480[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 491[AspireExport("withValidator", Description = "Adds validation callback")] 503[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 514[AspireExport("getEndpoints", Description = "Gets the endpoints")] 527[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 540[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 552[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 563[AspireExport("withEndpoints", Description = "Sets the endpoints")] 574[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 587[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 598[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 609[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")]
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentExtensions.cs (1)
29[AspireExport("addDockerComposeEnvironment", Description = "Adds a Docker Compose publishing environment")]
Aspire.Hosting.JavaScript (6)
JavaScriptHostingExtensions.cs (6)
112[AspireExport("addNodeApp", Description = "Adds a Node.js application resource")] 323[AspireExport("addJavaScriptApp", Description = "Adds a JavaScript application resource")] 499[AspireExport("addViteApp", Description = "Adds a Vite application resource")] 701[AspireExport("withNpm", Description = "Configures npm as the package manager")] 852[AspireExport("withBuildScript", Description = "Specifies an npm script to run before starting the application")] 871[AspireExport("withRunScript", Description = "Specifies an npm script to run during development")]
Aspire.Hosting.PostgreSQL (2)
PostgresBuilderExtensions.cs (2)
43[AspireExport("addPostgres", Description = "Adds a PostgreSQL server resource")] 141[AspireExport("addDatabase", Description = "Adds a PostgreSQL database")]
Aspire.Hosting.Redis (8)
RedisBuilderExtensions.cs (8)
38[AspireExport("addRedisWithPort", Description = "Adds a Redis container resource with specific port")] 61[AspireExport("addRedis", Description = "Adds a Redis container resource")] 229[AspireExport("withRedisCommander", Description = "Adds Redis Commander management UI")] 307[AspireExport("withRedisInsight", Description = "Adds Redis Insight management UI")] 472[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 503[AspireExport("withDataBindMount", Description = "Adds a data bind mount with persistence")] 533[AspireExport("withPersistence", Description = "Configures Redis persistence")] 596[AspireExport("withHostPort", Description = "Sets the host port for Redis")]
Aspire.Hosting.RemoteHost.Tests (18)
CapabilityDispatcherTests.cs (18)
1189[AspireExport("testMethod", Description = "Test method")] 1195[AspireExport("withOptional", Description = "Method with optional parameter")] 1201[AspireExport("asyncVoid", Description = "Async method returning Task")] 1208[AspireExport("asyncWithResult", Description = "Async method returning Task<T>")] 1215[AspireExport("asyncThrows", Description = "Async method that throws")] 1319[AspireExport("withCallback", Description = "Method with callback parameter")] 1330[AspireExport("invokeCallback", Description = "Method that invokes callback")] 1339[AspireExport("invokeTypedCallback", Description = "Method that invokes typed callback")] 1348[AspireExport("withAsyncCallback", Description = "Method with async callback returning value")] 1360[AspireExport("sumArray", Description = "Sums an integer array")] 1366[AspireExport("returnArray", Description = "Returns a string array")] 1372[AspireExport("acceptReadOnlyList", Description = "Accepts a readonly list")] 1378[AspireExport("acceptUnion", Description = "Accepts a union of string or int")] 1384[AspireExport("returnMutableList", Description = "Returns a mutable List<string>")] 1390[AspireExport("returnMutableDict", Description = "Returns a mutable Dictionary<string, object>")] 1416[AspireExport("acceptEnum", Description = "Accepts an enum parameter")] 1422[AspireExport("returnEnum", Description = "Returns an enum value")] 1428[AspireExport("acceptOptionalEnum", Description = "Accepts an optional enum parameter")]