Owneat Technical Guide main Help

Class AppBuilderExtensions

Namespace: Payment.API.Extensions
Assembly: Payment.API.dll

Application builder extension to define behaviors on run time.

public static class AppBuilderExtensions

Inheritance

object ← AppBuilderExtensions

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Methods

ConfigureEnvironmentServices\(IApplicationBuilder\)

Determine the behavior to apply depending on the running environment.

public static void ConfigureEnvironmentServices(this IApplicationBuilder app)

Parameters

app IApplicationBuilder

Application builder of the app.

Exceptions

Exception

Returned when the running environment is unknown.

ConfigureSelfSignedSsl\(WebApplicationBuilder\)

Configure Payment to use a self-signed SSL certificate.

public static void ConfigureSelfSignedSsl(this WebApplicationBuilder app)

Parameters

app WebApplicationBuilder

The webapp builder of the microservice.

Last modified: 21 May 2024