DbGateBuilderExtensions
Classstaticnet10.0
Provides extension methods for DbGate resources to an
Hosting.IDistributedApplicationBuilder . namespace Aspire.Hosting;
public static class DbGateBuilderExtensions{ // ...}5 members
Methods5
Section titled MethodsIResourceBuilder<DbGateContainerResource> Adds a DbGate container resource to the application.
string Sanitizes a resource name to be used as a connection ID in DbGate environment variables.
IResourceBuilder<DbGateContainerResource> Adds a bind mount for the data folder to a DbGate container resource.
IResourceBuilder<DbGateContainerResource> Adds a named volume for the data folder to a DbGate container resource.
IResourceBuilder<DbGateContainerResource> Configures the host port that the DbGate resource is exposed on instead of using randomly assigned port.