Skip to content
Maytham Fahmi

Maytham Fahmi

A Promise of Excellence 💯

  • Home
  • Work samples
  • Services
  • About me

core3

How to mock authorize attribute for testing in asp.net core 3.1

03-12-202205-06-2020 by Maytham Fahmi
Bypass Authorization

Why not making it possible to by pass Authorization in development stage in general, so both integration testing and developer can do the development with less frustration?

Share
Tweet
Share
Pin
Categories Article, How to Tags asp.net, attribute, authorize, core, core3, integration test, mock 1 Comment

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