01 - Preheat the oven to 350°F. Grease and flour a 9-inch round or square cake pan.
02 - In a medium bowl, whisk together flour, baking powder, baking soda, and salt.
03 - In a large bowl, use an electric mixer or whisk to cream butter and sugar until light and fluffy.
04 - Beat eggs one at a time into the butter mixture, then add lemon zest, lemon juice, and vanilla extract.
05 - Mix sour cream or Greek yogurt into the batter until evenly combined.
06 - Gradually fold in the dry ingredients, mixing just until incorporated. Avoid overmixing.
07 - Gently fold in the blueberries, tossing frozen berries with a tablespoon of flour beforehand to prevent bleeding.
08 - Spread the batter evenly into the prepared pan.
09 - Bake for 38 to 42 minutes or until a toothpick inserted in the center comes out clean.
10 - Allow the cake to cool in the pan for 15 minutes before transferring it to a wire rack to cool completely.
11 - Whisk powdered sugar and lemon juice until smooth, then drizzle over the cooled cake.