Skip to content
Maytham Fahmi

Maytham Fahmi

A Promise of Excellence 💯

  • Home
  • Work samples
  • Services
  • About me

Dependency Injection

How to .NET Core 3.0 Wpf application use Dependency Injection

08-02-202219-10-2019 by Maytham Fahmi

I have recently come across this requirement to a project I am working on that requires Dependency Injection. For this we need to install/add nuget package to our Wpf project: In my case I created a class that I want to use for logging called it LogBase, so in my App.xaml.cs class add following, this….

Share
Tweet
Share
Pin
Categories Article, How to Tags c#, core, core3, Dependency Injection, wpf Leave a comment

Categories

  • .NET
  • Algorithms
  • Article
  • Azure
  • DevOps
  • GitHub
  • How to
  • Internet of Things (IoT)
  • Others
  • Portfolio
  • Projects
  • Research
  • Tools

Disclaimer

Disclaimer
© 2025 Maytham Fahmi • Built with GeneratePress