Zip: New LINQ extensions series 08-02-202208-12-2021 by Maytham Fahmi Zip is part of .NET 3.1. 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 Zip LINQ….
Chunk: New LINQ extensions series 08-02-202205-12-2021 by Maytham Fahmi .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 Chunk LINQ method with some examples so it is….
How to mock authorize attribute for testing in asp.net core 3.1 03-12-202205-06-2020 by Maytham Fahmi 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?
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….
How to Create Thumbnail with ImageMagick in .net 08-02-202216-09-2019 by Maytham Fahmi For web and desktop application it is often required to auto generate thumbnails of single image or multiple image. It is possible to write a code to scale/resize image, but with few lines of code you can use ImageMagick library to make this happen. Create Visual Studio 2017/2019 project, get ImageMagick nuget pakcage. ImageMagick has….
Merge Multiple PDF files to One PDF file in C# 22-11-202226-08-2019 by Maytham Fahmi Merging pdf in C# is not straight forward task without using 3rd party library. I have seen and used many libraries and NuGet packages that are free but have a limitation or are free only for private use. Now what to do if you are a little business and want to use a library without….
How to convert AI, EPS, PDF, PS to Image file in C#? 08-02-202210-08-2019 by Maytham Fahmi It is possible to convert AI, EPS, PDF and PS to image file of choice. This can be done different ways. I will show you how to do it using well recognized libraries for free. This requires 3 steps. We need a library that can read AI, EPS, PDF and PS. For this purpose, Download….
IELS: Indoor Equipment Localization System: Conclusion (Part 6/6 final) (IoT) 08-02-202227-07-2018 by Maytham Fahmi Conclusion We conclude there is a gap between a few of the mentioned research papers and the commercial products. Most researches are missing the practical usage of iBeacons and focus primarily on specific problems. However, all commercial solutions does not offer free-of-cost solutions. We think there is a place for Open Source standard software for….