Grease a 9x13inch (22x33cm) casserole dish with melted butter or nonstick cooking spray.
In a large mixing bowl, whisk together the dry ingredients.
In a separate bowl, whisk together the eggs, corn, butter and sour cream.
Pour the wet ingredients into the dry mixture then mix together. Fold in the shredded cheese.
Pour the batter into the prepared baking dish then place in the oven.
Bake for 25-30 minutes until the casserole is golden brown on top and creamy but cooked through in the center (a toothpick inserted can come out with moist crumbs but shouldn't be coated in wet batter).
Remove from the oven and brush with melted butter (optional) then serve.