01 - Preheat your oven to 425°F or prepare a grill for medium-high heat. Ensure your chosen cooking apparatus is ready to receive the corn.
02 - In a small mixing bowl, thoroughly combine the softened unsalted butter, olive oil, smoked paprika, garlic powder, onion powder, dried oregano, dried thyme, cayenne pepper, ground black pepper, and kosher salt. Mix until the spices are evenly incorporated into the butter, forming a cohesive paste.
03 - Gently pat the husked corn ears dry using a paper towel. Arrange the prepared corn on a baking sheet lined with parchment paper if using an oven, or place directly onto the grill grates if grilling.
04 - Utilizing a pastry brush, generously coat all surfaces of each corn ear with the prepared Cajun butter mixture. Ensure an even distribution for optimal flavor penetration.
05 - If roasting, place the baking sheet in the preheated oven and cook for 20 to 25 minutes, rotating the corn halfway through, until it becomes tender and exhibits slight charring. If grilling, cook for 12 to 15 minutes, turning occasionally to achieve uniform cooking and desirable grill marks.
06 - Carefully remove the roasted or grilled corn from the heat. Immediately sprinkle with the fresh chopped parsley or cilantro. Serve hot with lime wedges positioned on the side for squeezing over the corn, adding a bright and zesty finish.