An open API service indexing awesome lists of open source software.

https://github.com/nicholas-hahn/consoleapplicationdemo1

Basic C# console application exploring Dependency Injection, Logging, and runtime-modifiable Settings files.
https://github.com/nicholas-hahn/consoleapplicationdemo1

console-application csharp dependency-injection logging settings

Last synced: 10 days ago
JSON representation

Basic C# console application exploring Dependency Injection, Logging, and runtime-modifiable Settings files.

Awesome Lists containing this project

README

          

**Console Application Demo 1**

This is a C# console application which demonstrates implementation of the following support features:

- Dependency Injection
- Logging
- Settings

This functionality is implemented using inclusion of the following packages:

- Microsoft.Extensions.Hosting
- Serilog.Extensions.Hosting
- Serilog.Settings.Configuration
- Serilog.Sinks.Console

The execution of the program shocwcases these features at runtime. The "appsettings.json" file is utilized to pass settings for Serilog logging levels as well as influence the execution of the program.

The following intermediate concepts were also tested:

- Lambda Expressions