257 writes to Description
Aspire.Hosting (90)
ApplicationModel\EndpointReference.cs (1)
72
[AspireExport("getValueAsync",
Description
= "Gets the URL of the endpoint asynchronously")]
Ats\BuilderExports.cs (4)
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")]
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 (7)
17
[AspireExport("logInformation",
Description
= "Logs an information message")]
26
[AspireExport("logWarning",
Description
= "Logs a warning message")]
35
[AspireExport("logError",
Description
= "Logs an error message")]
44
[AspireExport("logDebug",
Description
= "Logs a debug message")]
53
[AspireExport("log",
Description
= "Logs a message with specified level")]
73
[AspireExport("completeLog",
Description
= "Completes the log stream for a resource")]
82
[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 (2)
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 (10)
93
[AspireExport("addContainer",
Description
= "Adds a container resource")]
249
[AspireExport("withBindMount",
Description
= "Adds a bind mount")]
269
[AspireExport("withEntrypoint",
Description
= "Sets the container entrypoint")]
286
[AspireExport("withImageTag",
Description
= "Sets the container image tag")]
317
[AspireExport("withImageRegistry",
Description
= "Sets the container image registry")]
339
[AspireExport("withImage",
Description
= "Sets the container image")]
430
[AspireExport("withContainerRuntimeArgs",
Description
= "Adds runtime arguments for the container")]
499
[AspireExport("withLifetime",
Description
= "Sets the lifetime behavior of the container resource")]
514
[AspireExport("withImagePullPolicy",
Description
= "Sets the container image pull policy")]
976
[AspireExport("withContainerName",
Description
= "Sets the container name")]
DistributedApplication.cs (3)
153
[AspireExport("createBuilder",
Description
= "Creates a new distributed application builder")]
217
[AspireExport("createBuilderWithOptions",
Description
= "Creates builder with options")]
478
[AspireExport("run",
Description
= "Runs the distributed application")]
ExecutableResourceBuilderExtensions.cs (3)
29
[AspireExport("addExecutable",
Description
= "Adds an executable resource")]
172
[AspireExport("withExecutableCommand",
Description
= "Sets the executable command")]
202
[AspireExport("withWorkingDirectory",
Description
= "Sets the executable working directory")]
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 (2)
184
[AspireExport("addProject",
Description
= "Adds a .NET project resource")]
734
[AspireExport("withReplicas",
Description
= "Sets the number of replicas")]
ResourceBuilderExtensions.cs (28)
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")]
372
[AspireExport("withArgsCallback",
Description
= "Sets command-line arguments via callback")]
392
[AspireExport("withArgsCallbackAsync",
Description
= "Sets command-line arguments via async callback")]
526
[AspireExport("withReference",
Description
= "Adds a reference to another resource")]
611
[AspireExport("withServiceReference",
Description
= "Adds a service discovery reference to another resource")]
908
[AspireExport("withEndpoint",
Description
= "Adds a network endpoint")]
982
[AspireExport("withHttpEndpoint",
Description
= "Adds an HTTP endpoint")]
1003
[AspireExport("withHttpsEndpoint",
Description
= "Adds an HTTPS endpoint")]
1017
[AspireExport("withExternalHttpEndpoints",
Description
= "Makes HTTP endpoints externally accessible")]
1062
[AspireExport("getEndpoint",
Description
= "Gets an endpoint reference")]
1076
[AspireExport("asHttp2Service",
Description
= "Configures resource for HTTP/2")]
1131
[AspireExport("withUrlsCallback",
Description
= "Customizes displayed URLs via callback")]
1155
[AspireExport("withUrlsCallbackAsync",
Description
= "Customizes displayed URLs via async callback")]
1193
[AspireExport("withUrl",
Description
= "Adds or modifies displayed URLs")]
1255
[AspireExport("withUrlExpression",
Description
= "Adds a URL using a reference expression")]
1311
[AspireExport("withUrlForEndpoint",
Description
= "Customizes the URL for a specific endpoint via callback")]
1358
[AspireExport("withUrlForEndpointFactory",
Description
= "Adds a URL for a specific endpoint via factory callback")]
1487
[AspireExport("waitFor",
Description
= "Waits for another resource to be ready")]
1704
[AspireExport("withExplicitStart",
Description
= "Prevents resource from starting automatically")]
1736
[AspireExport("waitForCompletion",
Description
= "Waits for resource completion")]
1793
[AspireExport("withHealthCheck",
Description
= "Adds a health check by key")]
1838
[AspireExport("withHttpHealthCheck",
Description
= "Adds an HTTP health check")]
1988
[AspireExport("withCommand",
Description
= "Adds a resource command")]
2827
[AspireExport("withParentRelationship",
Description
= "Sets the parent relationship")]
Aspire.Hosting.CodeGeneration.Go.Tests (25)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\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.CodeGeneration.Java.Tests (25)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\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.CodeGeneration.Python.Tests (25)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\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.CodeGeneration.Rust.Tests (25)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\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.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")]
324
[AspireExport("addJavaScriptApp",
Description
= "Adds a JavaScript application resource")]
500
[AspireExport("addViteApp",
Description
= "Adds a Vite application resource")]
702
[AspireExport("withNpm",
Description
= "Configures npm as the package manager")]
931
[AspireExport("withBuildScript",
Description
= "Specifies an npm script to run before starting the application")]
950
[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")]
232
[AspireExport("withRedisCommander",
Description
= "Adds Redis Commander management UI")]
310
[AspireExport("withRedisInsight",
Description
= "Adds Redis Insight management UI")]
475
[AspireExport("withDataVolume",
Description
= "Adds a data volume with persistence")]
506
[AspireExport("withDataBindMount",
Description
= "Adds a data bind mount with persistence")]
536
[AspireExport("withPersistence",
Description
= "Configures Redis persistence")]
599
[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")]
Aspire.Hosting.SqlServer (7)
SqlServerBuilderExtensions.cs (7)
36
[AspireExport("addSqlServer",
Description
= "Adds a SQL Server container resource")]
114
[AspireExport("addDatabase",
Description
= "Adds a SQL Server database resource")]
153
[AspireExport("withDataVolume",
Description
= "Adds a named volume for the SQL Server data folder")]
172
[AspireExport("withDataBindMount",
Description
= "Adds a bind mount for the SQL Server data folder")]
208
[AspireExport("withCreationScript",
Description
= "Defines the SQL script used to create the database")]
225
[AspireExport("withPassword",
Description
= "Configures the password for the SQL Server resource")]
241
[AspireExport("withHostPort",
Description
= "Sets the host port for the SQL Server resource")]
2 references to Description
Aspire.Hosting (2)
Ats\AtsCapabilityScanner.cs (2)
1252
var description = memberExportAttr?.
Description
?? $"Invokes the {method.Name} method";
1312
var description = exportAttr.
Description
;