Preheat oven to 350°F (175°C). Grease and line two round cake pans.
In a large bowl, mix sugar, flour, cocoa powder, baking powder, baking soda, and salt.
Add eggs, oil, buttermilk, and vanilla. Beat for 2 minutes until smooth.
Stir in boiling water to create a thin batter.
Divide batter between pans and bake for 30–35 minutes. Cool completely.
Raspberry Filling:
In a saucepan, combine sugar, water, lemon juice, and cornstarch.
Add raspberries and cook until thickened. Let cool fully.
Chocolate Frosting:
Mix melted butter with cocoa powder.
Add powdered sugar, milk, and vanilla. Beat until creamy.
Assemble the Chocolate Raspberry Cake:
Place one cake layer on a plate. Spread raspberry filling evenly.
Add the second layer and frost the entire cake with chocolate frosting.
Top with fresh raspberries if desired.