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…. ShareTweetSharePin
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…. ShareTweetSharePin
Merge Multiple PDF files to One PDF file in C# 08-02-202226-08-2019 by Maytham Fahmi Merging pdf in C# is not straight forward task with out using 3rd party library. I have seen and used many library and nuget packages that are free but has limitation or free only for private use. Now what to do if you are a little business and want to use a library with out…. ShareTweetSharePin
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…. ShareTweetSharePin
How to add extra configuration to web.config for Release environment 08-02-202224-03-2018 by Maytham Fahmi 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…. ShareTweetSharePin
How to Install Notepad++ Compare plugin 08-02-202203-03-2018 by Maytham Fahmi Start your Notepad++ as administrator mode. Press F1 to find out if your Notepad++ is 64bit or 32bit (86x), hence you need to download the correct plugin version. Download Compare-plugin v.2, from:– for Notepad++ 7.5 and above use Compare v2.– for Notepad++ 7.7 and above use Compare v2.0.0 for Notepad++ 7.7https://github.com/pnedev/compare-plugin/releases Unzip Compare-plugin in temporary…. ShareTweetSharePin
Full guideline to make VHOST (Virtual Host) on XAMPP/WAMP 08-02-202203-01-2015 by Maytham Fahmi Note: To start with, the only difference for this guideline, between XAMPP and WAMP or other Apache packages for Windows, is question where those packages are installed on your computer. Introduction: vhost (virtual host) is a great solution if you intend to develop many independent project in php and keep them isolated from each others,…. ShareTweetSharePin