DotnetProgramResourceBuilderExtensions
Classstaticnet10.0
Provides publishing configuration for resources backed by .NET programs.
namespace Aspire.Hosting;
public static class DotnetProgramResourceBuilderExtensions{ // ...}5 members
Methods5
Section titled Methods Configures the .NET program to omit automatic forwarded-header configuration when publishing.
WithDotnetProgramBuildEnvironment(IResourceBuilder<T>, Func<EnvironmentCallbackContext, Task>) extensionats ignored Adds a callback that configures build-only environment variables for .NET SDK container publishing.
Configures a .NET program resource to publish a container image through the .NET SDK.
Configures which endpoints contribute environment variables for the .NET program.
Configures the .NET program to run the specified number of replicas.