How to make integration test for Azure Storage in C# – Part 3 15-11-202219-01-2022 by Maytham Fahmi So in the previous article part 2, we covered how to make a simple integration test of our Azure Blob Storage methods, and I assume the developers are as happy with the achievement as far as the office guys are. But, this integration test we made has 2 drawbacks: It requires fire-up Azurite docker and…. ShareTweetSharePin
How to make integration test for Azure Storage in C# – Part 2 15-11-202211-01-2022 by Maytham Fahmi In the first part and previous article, we covered how to install Azurite, an Azure Storage Emulator. We have also learned how to fire up a local emulator for testing. Now we will build a small storage app that can do basic stuff like, read, write and delete, and then we will test it with…. ShareTweetSharePin
How to make integration test for Azure Storage – Part Main 15-11-202205-01-2022 by Maytham Fahmi When I started programming, and before the age of moving solutions to Azure Cloud, I was not concerned about where to save my data. Because in most cases I used the same storage space where the code was hosted on. In most cases, the solution was on-premise within the same domain and there were no…. ShareTweetSharePin
How to manage secrets in .NET locally and on GitHub? 08-02-202202-01-2022 by Maytham Fahmi A lot of software development requires secrets to interact with other systems, database, api keys etc. It is ultimate important to secure these secrets, in a way that you are less concern who can access or se these secrets. IMO, a best practice is to have different secrets for each environments. For example for Local…. ShareTweetSharePin
Range and Reverse: New LINQ extensions series 08-02-202224-12-2021 by Maytham Fahmi Since .NET 6 is released recently, it is a good opportunity to mention some of the new LINQ extensions methods. I will post a series of small articles focused on some these new or maybe less known LINQ methods. In this article I am going to take some examples of others new Linq features with…. ShareTweetSharePin
MaxBy and MinBy: New LINQ extensions series 08-02-202221-12-2021 by Maytham Fahmi MaxBy and MinBy are both part of .NET 6. Since .NET 6 is released recently, it is a good opportunity to mention some of the new LINQ extensions methods. I will post a series of small articles focused on some these new or maybe less known LINQ methods. In this article I am going to…. ShareTweetSharePin
How to encrypt and decrypt in .NET using CryptoNet 08-02-202220-12-2021 by Maytham Fahmi Few years back I wrote an encryption and decryption code for protecting sensitive person data for fin-tech business. Since that time, I wished I could have time to putted all together in a library that can befit the community. I succussed upon Christmas 2021 holiday time to brush it up and re-write it and make…. ShareTweetSharePin
TryGetNonEnumeratedCount: New LINQ extensions series 08-02-202219-12-2021 by Maytham Fahmi TryGetNonEnumeratedCount is part of .NET 6. Since .NET 6 is released recently, it is a good opportunity to mention some of the new LINQ extensions methods. I will post a series of small articles focused on some these new or maybe less known LINQ methods. In this article I am going to take TryGetNonEnumeratedCount LINQ…. ShareTweetSharePin