01 - Preheat your grill to medium-high heat (or preheat oven to 430°F if roasting).
02 - In a small bowl, mix together the melted butter, smoked paprika, garlic powder, onion powder, thyme, oregano, cayenne, black pepper, and salt to form a smooth paste.
03 - Brush each ear of corn generously with the Cajun spice mixture, coating all sides evenly.
04 - Place the corn directly on the grill grates (or on a baking sheet lined with parchment paper if roasting).
05 - Grill or roast the corn, turning every 3–4 minutes, until nicely charred and cooked through, about 12–15 minutes total.
06 - Remove from heat and let cool slightly. Sprinkle with fresh parsley if desired and serve with lemon wedges for squeezing over the top.