Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aelbuz/wpfwithdi
A very very very simple WPF project that uses dependency injection for view-models, options and logging.
https://github.com/aelbuz/wpfwithdi
c-sharp csharp dependency-injection dotnet dotnet-core factory-pattern iconfiguration ifactory ilogger ioptions logging mvvm net6 nlog options-pattern windows-presentation-foundation wpf wpf-application
Last synced: 4 days ago
JSON representation
A very very very simple WPF project that uses dependency injection for view-models, options and logging.
- Host: GitHub
- URL: https://github.com/aelbuz/wpfwithdi
- Owner: aelbuz
- License: mit
- Created: 2023-08-20T09:42:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-28T19:48:36.000Z (over 1 year ago)
- Last Synced: 2024-12-22T00:44:23.238Z (4 days ago)
- Topics: c-sharp, csharp, dependency-injection, dotnet, dotnet-core, factory-pattern, iconfiguration, ifactory, ilogger, ioptions, logging, mvvm, net6, nlog, options-pattern, windows-presentation-foundation, wpf, wpf-application
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WPF with Dependency Injection
A very very very very very simple .NET 6 WPF project that uses dependency injection as an example of the following services:
- `IFactory` service for creating view-models.
- `IConfiguration` and `IOptions` services for application options.
- `ILogger` service with [NLog](https://nlog-project.org/) for application wide logging.