01 -
Preheat oven to 375°F (190°C).
02 -
Spray a large ceramic baking dish (approximately 10 × 14 inches) liberally with cooking spray.
03 -
In a large mixing bowl, stir together chopped rosemary, grated smoked gouda, grated asiago, smoked paprika, ground sage, garlic powder, salt, and pepper. Set aside.
04 -
Add a single layer of sliced sweet potatoes to the greased baking dish.
05 -
Add a single layer of onion slices over the potatoes.
06 -
Sprinkle half of the cheese mixture evenly over the onions.
07 -
Add another layer of potatoes, followed by another layer of onions, and a final layer of potatoes.
08 -
In a large mixing bowl, whisk together milk, sour cream, melted butter, heavy cream and cornstarch until well combined and cornstarch is fully incorporated and completely dissolved.
09 -
Pour the liquid mixture evenly over the layered potatoes.
10 -
Sprinkle the remaining half of the cheese mixture over the top.
11 -
Bake uncovered on the middle rack for 1 hour and 15-30 minutes, until the cheese is well browned and potatoes are easily pierced with a fork.
12 -
Allow to cool for at least 15 minutes before serving to let the gratin set and reach a safe eating temperature.