Preheat your grill to medium-high heat.
Brush grill grates with oil using a heat-proof barbecue brush or a folded coffee filter dipped into oil.
Grill corn, turning every few minutes, for 10-15 minutes or until the ears are cooked through and are slightly charred. Remove cooked corn from grill and set aside to cool down enough to handle.
Meanwhile, in a medium bowl, combine the mayonnaise, lime juice and chili powder. Set aside.
Stand an ear of corn up lengthwise on a cutting board (flat end down), and hold it from the top with your non-dominant hand. Carefully, use a large kitchen knife to cut the kernels of corn off of the cob, and place into a large mixing bowl. Repeat with all ears of corn.
Combine the corn with the mayonnaise mixture, and season with salt as desired.
Spoon a layer of the corn mayo mixture into small cups. Sprinkle a layer of cheese, cilantro (optional), and more chili powder (if desired), then add another layer of corn and continue layering ingredients until the cups are full.
Serve immediately (slightly warm or room temperature) with lime wedges. Refrigerate unused portions promptly. Leftovers will last about 1-2 days in the fridge.