How to .NET Core 3.0 Wpf application use Dependency Injection

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

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….

How to convert AI, EPS, PDF, PS to Image file in C#?

Convert PDF to Image

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….

How to add extra configuration to web.config for Release environment

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….

How to Install Notepad++ Compare plugin

Notepad++ Banner

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….

Full guideline to make VHOST (Virtual Host) on XAMPP/WAMP

Xampp Virtual Host

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,….