Preheat the oven: Set to 350°F (175°C) and lightly grease a casserole dish.
Mix the base: In a large bowl, combine the corn, sour cream, mayonnaise, and cilantro.
Add seasonings: Stir in Parmesan cheese, chili powder, garlic powder, cumin, lime juice, salt, and black pepper. Mix until evenly coated.
Bake the casserole: Spread the mixture evenly into the prepared dish and bake for 35 minutes, until hot and lightly golden on top.
Garnish and serve: Sprinkle extra cilantro or cheese on top before serving warm.