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.
- Host: GitHub
- URL: https://github.com/nicholas-hahn/consoleapplicationdemo1
- Owner: Nicholas-Hahn
- Created: 2025-01-19T19:29:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-22T00:48:36.000Z (over 1 year ago)
- Last Synced: 2025-03-23T11:45:38.611Z (over 1 year ago)
- Topics: console-application, csharp, dependency-injection, logging, settings
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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