Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    MiddleTierClientBuilder<TDbContext> Methods

    Configures a client for a Middle Tier server with a specified DbContext type.
    Name Description
    Build() Creates an immutable Middle Tier client object.
    ConfigureDbContext(Action<DbContextOptionsBuilder<TDbContext>>) Configures DbContext options for the Middle Tier client.
    ConfigureObjectSpaceProvider(Action<EFCoreObjectSpaceProviderOptionsBuilder>) Configures EFCoreObjectSpaceProvider<TDbContext> for the Middle Tier client.
    ConfigureOptions(Action<EFCoreMiddleTierSecurityOptions>) Configures client connection options to the Middle Tier server.
    ConfigureServices(Action<IServiceCollection>) Allows you to replace default services or register additional custom services used in a Middle Tier client.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    UsePasswordAuthentication(Action<IAuthenticationStandardLogonParameters>) Configures the client to use authentication with login and password specified in a delegate.
    UsePasswordAuthentication(String, String) Configures the client to use authentication with the specified login and password.
    UseServer(String) Specifies the base Middle Tier server address.
    UseTokenAuthentication(String, Func<String>) Configures the client to use a custom authentication based on the specified authentication scheme name and a JSON web token (JWT) identified through a delegate.
    UseTokenAuthentication(String, Func<Task<String>>) Configures the client to use a custom authentication based on the specified authentication scheme name and a JSON web token (JWT) identified through an async delegate.
    UseTokenAuthentication(String, String) Configures the client to use a custom authentication based on the specified JSON web token (JWT) and authentication scheme name.
    UseWindowsAuthentication() Configures the client to use Windows authentication. The login of the Windows user account under which the client application is launched will be used for authentication on the server.
    See Also