Software Architects — Fundamental Path knowledgebase

It has been common to see posts and articles talking about what a software architect must read and what your book library, as an architect, should include. However, no one explains how to read them or if there is a specific sequence you must follow.

Here is one article that uses this concept; Books for Great Software Architects — Fundamentals Path

Get file path in .net core from wwwroot folder

This is how;

public class HomeController : Controller {
    private IWebHostEnvironment _hostEnvironment;

    public HomeController(IWebHostEnvironment environment) {
        _hostEnvironment = environment;

    public IActionResult Get() {
        string path = Path.Combine(_hostEnvironment.WebRootPath, "Sample.PNG");
        return View();


Dahi Bhallay Better than Market 


  1. Dahi
  2. Bason
  3. Dal mong ka atta
  4. Ubla howa channa
  5. Ubla howa aaloo
  6. tomato
  7. podena (mint)
  8. sabz mirach (green chilie)
  9. dahnia
  10. Paperri


Now comes the masala;

  1. Red Chili (100GM) – Lal mirch
  2. Coriander (150GM) – Dhania
  3. Black Cumin (100GM) – Kala Zeera
  4. Black pepper (50GM) – Kali Mirch
  5. Dried mango powder (120GM) – Amchor powder
  6. Cloves (3 to 4 GM normally 10-12 pieces) – Long
  7. Citric Acid (25GM) – Dane dar tatri
  8. Ajwain(50GM)
  9. Ginger powder – Soonth
  10. Black salt
  11. Salt (250GM)

And finally imli ki chattni;

Some other videos to watch are;

Dhai Bara / Chana Chat masala

Imli ki Chatni

This completes this wonderful dish.

create virtual machine from existing windows 10 pc

Recently my ages old laptop started acting funny. I am assuming it might die soon. Before getting a new laptop I needed to crate a VHD of my old laptop for any reference.

The native tool from Microsoft to create VHD is Disk2vhd. This will create virtual machine and disk that can be attached in Hyper-V running in a separate machine. Here is the link;

Here is the installation instruction of this VHD inside Hyper-V.

First of all create a new generation 2 VM that we’ll use with our new VHDX we created using Disk2VHD. Don’t create a new vdhx but select to use an existing one and point it to the one we just created with Disk2VHD. Rename it if needed to something more suitable.

Don’t boot the VM but add a DVD and attach the Windows Server ISO of the version your vhdx contains to the DVD.

Move the DVD to the top of the boot order I firmware.

he VM will boot to the DVD when you hit a key.

Select your language and keyboard layoout when asked and the don’t install or upgrade the OS but boot

Type diskpart and  list the disks. Select the disk we need (the OS disk, the only one here) and list the volumes. You can see that volume 3 off 99MB is RAW. That’s not supposed to be that way. So let’s fix this by creating boot loader directory structure, repair the boot record by creating the boot sector & copy the needed boot files into it.


select volume 3

assign drive letter L:


That’s it we can now us that 99MB volume to make our disk bootable to windows again.  Type Exit to leave diskpart.

So now we have a formatted boot partition we can create the need folder structure and fix the boot record and configure our UEFI bootloader

Switch to the L: volume

create efi\microsoft\boot folder structure for the bootloader as show below with the md command(make directory)

Type: bootrec /fixboot to create the bootrecord

Type: bcdboot C:\Windows  /l en-us /s l: /f ALL

This creates the BCD store & copies the boot files from the windows system directory

Just click Continue to exit and continue to Windows Server 2019. Remember to eject DVD drive.

.. and voila, your new VM has now booted.

Read more here;

Disk2VHD on a Generation 2 VM

Here is the troubleshooting tips while using disk2vhd tool;

Another free tool is VMWare VCenter Converter. Here is the guide;