Preheat the oven to 350 degrees F. Grease a 9- 13- by 2-inch casserole dish.
In a medium bowl, mix the corn, chiles, cheeses and mayonnaise until fully combined. Spread the mixture in the prepared casserole dish and bake, uncovered, until bubbly around the edges, 30 to 40 minutes. Serve the dip warm from the oven with corn chips.
Recipe adapted from Home Cooking with Trisha Yearwood (c) Clarkson Potter 2010