Skip to content
Maytham Fahmi

Maytham Fahmi

A Promise of Excellence đź’Ż

  • Home
  • Work samples
  • Services
  • About me

asp.net

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 add extra configuration to web.config for Release environment

08-02-202224-03-2018 by Maytham Fahmi
File Transformations Web.Config

As you are aware of that you might need to added extra configuration to web.config when you release your ASP.NET project. You can easily do this using File Transformations concept. The key point here is to add xdt:Transform=”Insert” in the root tag hierarchy you want to be added for the respective environment. By default you have your Web.config….

Share
Tweet
Share
Pin
Categories Article, How to Tags asp.net, file transformations, web.config 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