DbGateBuilderExtensions
Class static net10.0
Provides extension methods for DbGate resources to an
Hosting.IDistributedApplicationBuilder. namespace Aspire.Hosting;
public static class DbGateBuilderExtensions{ // ...}Methods4
Section titled MethodsAddDbGate(IDistributedApplicationBuilder, string, int?)extensionIResourceBuilder<DbGateContainerResource> Adds a DbGate container resource to the application.
WithDataBindMount(IResourceBuilder<DbGateContainerResource>, string, bool)extensionIResourceBuilder<DbGateContainerResource> Adds a bind mount for the data folder to a DbGate container resource.
WithDataVolume(IResourceBuilder<DbGateContainerResource>, string?, bool)extensionIResourceBuilder<DbGateContainerResource> Adds a named volume for the data folder to a DbGate container resource.
WithHostPort(IResourceBuilder<DbGateContainerResource>, int?)extensionIResourceBuilder<DbGateContainerResource> Configures the host port that the DbGate resource is exposed on instead of using randomly assigned port.