Preheat the oven to 400°F (200°C) and line a baking sheet with parchment paper. Roll out the puff pastry on a lightly floured surface into a rectangle, approximately ¼ inch thick. Trim the edges to create clean, even sides.
Transfer the rolled-out puff pastry onto the prepared baking sheet and prick it with a fork to prevent excessive puffing during baking.
Cover the puff pastry with another sheet of parchment paper and place a second baking sheet on top to weigh it down. This ensures that the pastry bakes evenly and stays flat.
Bake the puff pastry in the preheated oven for 15-20 minutes or until it turns golden brown and crispy. Remove from the oven and let it cool completely.
While the puff pastry is cooling, prepare the pastry cream. In a saucepan, heat the milk over medium heat until it reaches a gentle simmer.
In a separate bowl, whisk together the eggs, sugar, and cornstarch until well combined.
Slowly pour the hot milk into the egg mixture,whisking constantly to prevent curdling. Return the mixture to the saucepan and cook over medium heat, stirring constantly, until it thickens into a custard-like consistency.
Remove the pastry cream from the heat and stir in the vanilla extract. Place a piece of plastic wrap directly on the surface of the pastry cream to prevent a skin from forming. Let it cool completely.
Once the puff pastry and pastry cream are cooled, it's time to assemble the Napoleon pastry. Cut the puff pastry into equal-sized rectangles.
Place one layer of puff pastry on a serving plate and spread a generous amount of pastry cream on top. Repeat this process, alternating layers of puff pastry and pastry cream, until you've used all the ingredients. Finish with a layer of puff pastry on top.
Dust the assembled Napoleon pastry with powdered sugar using a fine sieve. You can also use a piping bag to create decorative patterns on top.
Refrigerate the Napoleon pastry for at least 2 hours to allow the flavors to meld together and the pastry cream to set.
Once chilled, slice the Napoleon pastry into individual portions and serve. Enjoy the delicate layers and creamy filling that make this dessert a true masterpiece.