Preheat oven to 350 degrees. Spray an 8X8 baking dish with cooking spray. Set aside.
If using fresh corn, cook ears of sweet corn and cut from the cob. If using a can of whole corn, drain the can.
Whisk together the eggs.
In a medium bowl, mix together all of the ingredients.
Bake at 350 degrees for approximately 1 hour 15 minutes or until the center is set and the top of the corn browns around the edges.