Preheat oven to 375℉. Set aside an 11 x 9 (2½ quart) baking dish.
Add trimmed green beans and ½ tablespoon salt to a boiling pot of water. Cook about 6-8 minutes or until crisp tender. Meanwhile, prepare a large bowl of ice water for the green beans.
Transfer green beans to ice water. Allow to cool 1 to 2 minutes. Drain beans in a strainer; set aside.
Melt butter in large skillet over medium-high heat.
Stir in chopped mushrooms and cook for 5 minutes or until golden brown, stirring frequently.
Stir in salt, pepper, and minced garlic. Cook for 1 minute.
Sprinkle flour over the mushrooms and stir to combine well.
Gradually whisk in broth, whisking until mixture is smooth with each addition of liquid. Bring to a simmer and cook for about 2 minutes or until well incorporated.
Stir in heavy cream, and soy sauce. Reduce heat to medium and cook for 4-5 minutes or until thickened and bubbly.
Add beans into the cream of mushroom mixture and toss together. Pour into baking dish.
Melt butter in a small bowl then stir in panko bread crumbs. Sprinkle crumbs over the top of the green beans casserole.
Bake in oven for 20-25 minutes or until bubbling.
To make the French fried onions, pour canola oil into a stockpot. Heat oil to 350℉ using a kitchen thermometer to check the temperature. Line a wire rack with paper towels underneath.
In a large bowl, toss together sliced onions, cornstarch, and salt until well coated.
Working in batches, add ⅓-¼ of the onions to the oil. Cook 2-3 minutes or until golden, stirring occasionally. Transfer fried onions to cooling rack with tongs or a slotted spoon. Repeat until done.
Serve the green bean casserole with French fried onions on top or to the side when ready to eat.