01 -
Heat the milk in a saucepan until steaming. In a bowl, whisk egg yolks, sugar, cornstarch, and salt until smooth. Slowly whisk in about half of the hot milk, then pour everything back into the saucepan.
02 -
Cook over medium heat, whisking constantly, until the custard bubbles and thickens, 2-4 minutes. Remove from heat, whisk in butter and vanilla, strain into a bowl, cover the surface, and chill until firm, at least 2 hours.
03 -
Heat the oven to 350°F (175°C). Line a 12-cup muffin pan with paper liners.
04 -
Whisk flour, baking powder, and salt in a bowl. Beat butter and sugar until light, then beat in eggs one at a time and add vanilla. Mix in the dry ingredients in two additions, alternating with buttermilk, just until combined.
05 -
Divide the batter among the liners, filling each about two-thirds full. Bake for 18-20 minutes, until the tops spring back and a toothpick comes out clean. Cool completely.
06 -
Cut a small cone or well from the center of each cupcake. Spoon or pipe in chilled pastry cream, then replace a thin cap of cake over the filling.
07 -
Place chopped chocolate in a heatproof bowl. Heat the cream until steaming, pour it over the chocolate, and let stand for 3 minutes. Add butter and stir until smooth.
08 -
Dip the top of each filled cupcake into the ganache or spoon it over the top. Let set at room temperature for 20 minutes, then refrigerate until ready to serve.