Prepare the green beans. Bring a large saucepan of water to a boil. Add the green beans and cook just until tender. (3-4 minutes)
Fill a large bowl with ice water. Remove green beans from the cooking pot and immediately plunge into ice bath to stop the cooking process. Drain, set aside.
Melt 2 tablespoons of butter in a large skillet, add onion and sauté until softened. (about 5 minutes)
Add red bell pepper and mushrooms. Season with salt and pepper. Cook until softened and liquid has evaporated.
Stir the red peppers and mushrooms into the green beans. Set aside.
Melt 4 tablespoons of butter in a medium saucepan.
Whisk in 4 tablespoons of flour. Whisk constantly until mixture begins to turn golden brown, about 2 minutes.
Slowly pour in the milk while continually whisking. Cook medium heat until mixture has thickened. Constantly whisking.
Stir in cayenne pepper and nutmeg.
Remove from heat and let cool to room temperature, stir occasionally.
Pour sauce over the green bean- mushroom mixture. Toss to combine.
Grease a 2 litre casserole dish with butter. Spread half of the green bean mixture in the baking pan.
Sprinkle 1/2 cup grated parmesan on top. Top with the remaining green bean mixture.
Combine together 1/2 cup parmesan cheese and bread crumbs.
Sprinkle over top of the casserole.
Cover with foil. Bake in oven at 350º Fahrenheit for 20-30 minutes until casserole is bubbly and heated through.
Uncover casserole and bake under broiler until top is golden brown.
Prepare the crispy shallots. Heat vegetable oil in medium skillet, toss the shallots with 2 tablespoons of flour. Fry in oil until golden brown.
Sprinkle the casserole with crispy shallots and serve.
Notes
If using frozen green beans, prepare the same as the fresh green beans but only cook 2-3 minutes.