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, about 3 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. Let 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 the microwave, stirring frequently. Let cool slightly. In a large bowl, beat cream cheese and powdered sugar until smooth. Add melted white chocolate and vanilla, beat to combine. Whip heavy cream to soft peaks, then fold into white chocolate mixture. Chill until set, about 30 minutes.
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. Spread whipped cream over top and sides of cake.
10 - Decorate with fresh raspberries and white chocolate curls if desired. Refrigerate for at least 1 hour before serving to allow flavors to meld and cake to set.