Skip to content

BaseClass

Peter Trimmel edited this page Feb 19, 2019 · 1 revision

BaseClass

The BaseClass library provides a set of helper classes to facilitate the implementation of applications by providing standardized implementations in various contexts. An application class is derived from the corresponding base class using the default implementation (constructor, properties, methods).

BaseClass

The BaseClass class provides a standard a logger data member and an optional application settings member.

protected readonly ILogger<BaseClass> _logger;

protected readonly AppSettings _settings;

BaseCommand

The BaseCommand class for console application commands provides logger, settings, and environment data members.

BaseController

The BaseController class for a MVC controller provides logger and settings data members.

BaseHub

The BaseHub class for a SignalR hub provides logger and settings data members.

BaseProgram

The BaseProgram class provides a standardized main routine setting up a logger instance using an appsettings.json configuration file.

BaseProgramWeb

The BaseProgram class provides a standardized main routine for a web application setting up a logger instance using an appsettings.json configuration file.

BaseService

The BaseService class for a service provides logger, settings, and environment data members.

BaseStartup

The BaseStartup class for a console application startup provides logging and configuration.

BaseStartupWeb

The BaseStartup class for a web application startup provides logging and configuration.

Clone this wiki locally