01 -
Preheat oven to 350°F (175°C) and line a muffin tin with cupcake liners.
02 -
In a medium bowl, combine the flour, sugar, baking soda, baking powder, and salt. Set aside.
03 -
In a separate large bowl, beat together the butter and egg until creamy and smooth.
04 -
Add the buttermilk and vanilla extract to the wet mixture, and mix until combined.
05 -
Gradually add the dry ingredients to the wet ingredients and stir until just combined.
06 -
Gently fold in the fresh raspberries, being careful not to crush them too much.
07 -
Divide the batter evenly among the cupcake liners, filling each about two-thirds full.
08 -
Bake for 18-20 minutes, or until a toothpick inserted into the center comes out clean.
09 -
Remove from the oven and let cupcakes cool completely on a wire rack.
10 -
In a large bowl, beat the cream cheese and butter together until smooth and fluffy.
11 -
Gradually add the powdered sugar and continue beating until smooth.
12 -
Stir in the vanilla extract and mashed raspberries, mixing until the frosting is smooth and creamy.
13 -
Once the cupcakes have cooled, pipe or spread the frosting generously on top of each cupcake.