Get ready for your new favorite cheesy corn casserole! Bring it to your next potluck or serve it up at Thanksgiving dinner. One bite of this cheesy deliciousness and it'll become your new go-to side dish!
Preheat the oven to 350° F. Spray a 9 x 9 baking dish with cooking spray. Melt the butter in a large saucepan over medium heat.
Add the onion and cook for 5 minutes.
Sprinkle the flour over the vegetables and cook for another 2 minutes.
Whisk in the milk, a little at a time, until the mixture is combined.
Add the cream cheese cubes, and cook until the mixture is smooth and the sauce thickens.
Stir in the corn, and transfer the mixture to the prepared baking dish.
Season well with salt and pepper. Top with the shredded cheese.
Bake for 15 to 20 minutes, until the cheese is bubbly.