01 - Preheat oven to 350°F. Grease and line two 9-inch round cake pans with parchment paper.
02 - In a medium bowl, whisk together flour, baking powder, and salt until well combined.
03 - In a large bowl, beat butter and granulated sugar until light and fluffy, approximately 3-4 minutes. Add eggs one at a time, beating well after each addition. Mix in vanilla extract.
04 - Add flour mixture to butter mixture in three additions, alternating with milk, beginning and ending with flour. Mix until just combined, being careful not to overmix.
05 - Divide batter evenly between prepared pans. Bake for 28-32 minutes, or until a toothpick inserted in the center comes out clean. Cool in pans for 10 minutes, then transfer to wire racks to cool completely.
06 - In a saucepan over medium heat, combine raspberries, sugar, and lemon juice. Cook until berries break down, 4-5 minutes. Stir in cornstarch slurry and cook until thickened, about 1 minute. Remove from heat and cool completely.
07 - Melt white chocolate gently over a double boiler or in 30-second intervals in the microwave. Let cool slightly. Beat cream cheese and powdered sugar until smooth. Add melted white chocolate and vanilla, beating to combine. Whip heavy cream to soft peaks, then fold into white chocolate mixture. Refrigerate until set.
08 - In a chilled bowl, whip heavy cream with powdered sugar and vanilla until stiff peaks form.
09 - Place one cooled cake layer on a serving plate. Spread with half the white chocolate cream, then top with half the raspberry compote. Repeat with second layer. Frost top and sides with whipped cream. Decorate with fresh raspberries and white chocolate curls if desired. Refrigerate for at least 1 hour before serving.