Prepare the corn
If using fresh corn, sauté the kernels in a skillet over medium heat for 3-5 minutes until lightly charred. If using frozen corn, thaw and drain it well. For canned corn, simply drain.
Mix the base
In a large mixing bowl, combine the mayonnaise, sour cream, garlic powder, onion powder, smoked paprika, salt, and pepper. Stir until well combined.
Add the mix-ins
Fold in the corn, shredded cheeses, green onions, and jalapeño (if using). Mix until everything is evenly distributed.
Serve cold or hot
For cold dip: Transfer the mixture to a serving bowl, garnish with crumbled bacon and fresh herbs, and serve immediately.
For hot dip: Preheat your oven to 375°F (190°C). Transfer the mixture to a baking dish, spread evenly, and bake for 15-20 minutes or until bubbly and golden on top. Garnish with bacon and herbs before serving.