Preheat your oven to 325°F (160°C). Prepare your crust of choice and press it into the bottom of a springform pan.
In a mixing bowl, beat together the cream cheese and sugar until smooth. Add in the eggs, one at a time, followed by sour cream, vanilla extract, cornstarch, and salt. Mix until well combined.
Pour the cheesecake batter over the crust and bake for about 60 minutes, or until the center is set. Let it cool before refrigerating.
For the pastry cream, heat milk and sugar in a saucepan. In another bowl, whisk cornstarch and egg yolks. Gradually add hot milk to the yolk mixture, then return it to the saucepan and cook until thickened. Stir in butter, vanilla, and salt.
Spread the pastry cream over the cooled cheesecake layer and refrigerate until set.
For the ganache, heat heavy cream until just boiling, then pour over chocolate. Let sit for a few minutes, then stir until smooth. Add butter if desired.
Pour the ganache over the pastry cream layer and refrigerate until ready to serve.
Notes
You can use either the graham cracker crust or vanilla wafer crust based on your preference. Both provide a delicious base.
Keyword Boston Cream Pie Cheesecake, cheesecake, dessert