Preheat your oven to 375F. Line a cookie sheet with parchment and reserve.
Take your package of frozen puff pastry dough out to thaw.
Wash & dry your blueberries and basil. Reserve.
Shuck your ear(s) of corn and, using a sharp knife, cut the corn kernels off the cob into a large bowl. I like to stand the ear of corn with the thicker part in the bowl, and cut down directly.
Mince the shallot and reserve.
In a large skillet or cast iron pan, melt the butter over medium high heat until foamy.
Add the corn and minced shallot to the skillet with the salt & pepper. Stir gently and cook until the shallot just softens.
Add the lime zest and stir.
Next, add the blueberries. Cook while stirring for 3-4 minutes - you want the berries to soften, but not to burst.
Remove the pan from the heat, and add the hand torn basil. Reserve.
Using a large board or clean counter top, lightly flour your work surface and a rolling pin.
Gently unwrap the first piece of puff pastry dough, and cover the remainder with a clean dish cloth. Discard the paper liners and unfold onto your floured work surface.
Rolling gently, but firmly, we want to stretch the puff pastry dough out a bit, to a 12X12 inch (or so) square.
Using a small 3 inch biscuit cutter or juice glass, cut about 6-8 circles. You can reroll the remaining scraps for about 2-3 more circles.
Place the circles on a lined cookie sheet.
Take your egg and in a small bowl, fork beat to make a glaze. Reserve.
Next, only fill half the circles with the blueberry and corn filling. The other half will act as the pastry tops.
Add about 1/2 tablespoon of filling to the designated pastry circles and then a hefty dollop of goat cheese.
Using a small pastry brush, dip the brush into the beaten egg and brush the rims of the filled circle. This helps to create a seal for baking!
Take the other half of the pastry circles and place on top of the filled disk. Gently press and pinch the two cirles together to seal.
Now, brush some of the remaining egg wash on top of the pastry. You can optionally add a pinch of salt or sugar to the top of the pastry before baking.
Bake for 12-15 minutes, or until puff and golden.
Repeat the process with the remaining sheet of puff pastry dough.