Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Configuration.dll Namespace: CloudNimble.EasyAF.Configuration Inheritance: CloudNimble.EasyAF.Configuration.ConfigurationBase

Syntax

Summary

An extended configuration class that includes both public and administrative endpoint configuration. Inherits from ConfigurationBase and adds support for administrative APIs and applications.

Remarks

This configuration class should be used for applications that need both customer-facing and administrative functionality, such as multi-tenant applications with separate admin interfaces or applications that need to communicate with both public and private APIs.

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

AdminApiClientName

The name of the HttpClient that will be used to hit the Admin (Private) API.

Syntax

Property Value

Type: string

AdminApiRoot

The root of the Admin (Private) API.

Syntax

Property Value

Type: string

Remarks

Most Blazor apps will call at least one API. If you need to call more than one, just inherit from ConfigurationBase and add your own properties.

AdminAppClientName

The name of the HttpClient that will be used to hit the Admin Blazor Controllers.

Syntax

Property Value

Type: string

AdminAppRoot

The website your Administrative Blazor app is being served from.

Syntax

Property Value

Type: string

Remarks

Sometimes you will need to get information about the app’s deployment before it has been fully-initialized in Program.cs. This is the place to do it.

ApiClientName Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase
The name of the HttpClient that will be used to hit the app’s Public API.

Syntax

Property Value

Type: string

ApiRoot Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase
The root of the API that your Blazor app will call.

Syntax

Property Value

Type: string

Remarks

Most Blazor apps will call at least one API. If you need to call more than one, just inherit from ConfigurationBase and add your own properties.

AppClientName Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase
The name of the HttpClient that will be used to hit the Blazor App’s Controllers.

Syntax

Property Value

Type: string

AppRoot Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase
The website your Blazor app is being served from.

Syntax

Property Value

Type: string

Remarks

Sometimes you will need to get information about the app’s deployment before it has been fully-initialized in Program.cs. This is the place to do it.

HttpHandlerMode Inherited

Inherited from CloudNimble.EasyAF.Configuration.ConfigurationBase
Determines how HttpClient message handlers are configured when registering HTTP clients. Controls whether handlers are added to existing handlers or replace them entirely.

Syntax

Property Value

Type: CloudNimble.EasyAF.Core.HttpHandlerMode

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?