-
Notifications
You must be signed in to change notification settings - Fork 9
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).
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;
The BaseCommand class for console application commands provides logger, settings, and environment data members.
The BaseController class for a MVC controller provides logger and settings data members.
The BaseHub class for a SignalR hub provides logger and settings data members.
The BaseProgram class provides a standardized main routine setting up a logger instance using an appsettings.json configuration file.
The BaseProgram class provides a standardized main routine for a web application setting up a logger instance using an appsettings.json configuration file.
The BaseService class for a service provides logger, settings, and environment data members.
The BaseStartup class for a console application startup provides logging and configuration.
The BaseStartup class for a web application startup provides logging and configuration.