Cook the corn in a pot of boiling salted water until tender, about 3-5 minutes. Drain and let cool slightly.
In a food processor, blend the corn until smooth. Transfer to a large mixing bowl.
Add the ricotta cheese, flour, egg, parmesan cheese, salt, and black pepper to the bowl with the corn. Mix until a sticky dough forms.
Lightly flour a work surface and divide the dough into four pieces. Roll each piece into a long rope about 1/2-inch thick.
Cut the ropes into 1-inch pieces. If desired, gently press a fork into each piece to create ridges.
Bring a large pot of salted water to a boil. Add the gnocchi in batches and cook until they float to the surface, about 2-3 minutes.
Remove with a slotted spoon and serve with your favorite sauce or simply with butter and herbs.