Click or drag to resize

HoarderConfigSection Class

This class maps to a configuration section. The property values are loaded from the confi providers in the expected order of last-one-wins. The whole Hoarder suite is controlled by these config values.
Inheritance Hierarchy
SystemObject
  Orthogonal.Hoarder.StdLibHoarderConfigSection

Namespace: Orthogonal.Hoarder.StdLib
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.17
Syntax
C#
public sealed class HoarderConfigSection

The HoarderConfigSection type exposes the following members.

Constructors
 NameDescription
Public methodHoarderConfigSectionInitializes a new instance of the HoarderConfigSection class
Top
Properties
 NameDescription
Public propertyBackupContainerName Name of the Azure Container that contains backup files.
Public propertyBlobPathSeparator Path separator for virtual directories in Azure blob containers.
Public propertyDatabaseCollectionId The Cosmos database collection Id as defined in the Azure portal.
Public propertyDatabaseEndpoint The Uri endpoint of the Cosmos database containing the collections database.
Public propertyDatabaseId The Cosmos database Id as defined in the Azure portal.
Public propertyJwt A config subsection for JSON Web Token secret values.
Public propertyPartitionKey The Partition Key for the collection database. Because the collection only contains several thousand documents and multi-partition high-performance queries are not needed, the PK is set to the constant value "P1".
Public propertyPhotosContainerName Name of the Azure Container that contains original full-size photo image blobs.
Public propertyPhotosContainerUri Public Uri of the original full-size photo blobs Azure Container.
Public propertyPicExtensions A set of file-system file extensions (with leading dot) that the app recognises as containing parsable images.
Public propertyPicMetaExtensions A set of Azure blob file extensions (with leading dot) that the app recognises as containing parsable images.
Public propertySecrets A config subsection for application secrets that will be read from UserSecrets in development and environment variables in Azure hosting.
Public propertyThumbnailExtension The extension (with leading dot) to be used on thumbnail files and blobs. Every thumbnail currently has a '.jpg' extension because they are the easier to create with the .NET media and image classes.
Public propertyThumbnailQuality JPEG image encoder quality for thumbnail images.
Public propertyThumbnailsContainerName Name of the Azure Container that contains thumbnail photo image blobs.
Public propertyThumbnailsContainerUri Public Uri of the thumbnail photo blobs Azure Container.
Public propertyThumbnailSize The default thumbnail image width and height constraint size square. Images are proportionally resized to fit inside the width and height size constraints.
Public propertyTruthPhotosFolder The file-system folder containing 'master' images (aka the source of 'truth' images).
Public propertyTruthThumbnailsFolder The file-system folder containing thumnail images.
Public propertyWebPictureColumnCount Number of columns in tables of images inserted into web pages.
Public propertyWebRootFolder The file-system root folder of the website containing pages that contain special delimiters that accept data exported from the collections database.
Public propertyWebServiceBaseAddress The Cosmos database Id as defined in the Azure portal.
Top
Methods
 NameDescription
Public methodGetRolesForKey Gets the role names that are associated with a given API Key.
Top
Fields
See Also