-
1
Preheat the oven to 350.
-
2
Spray a 9-by-13-inch metal baking pan with vegetable spray.
-
3
Line the pan with parchment paper and spray the paper.
-
4
On a rimmed baking sheet, toast the walnuts for about 7 minutes, until lightly browned and fragrant.
-
5
Remove from the oven, add the butter and toss to coat the walnuts.
-
6
In a medium bowl, combine the all-purpose flour, cake flour, baking powder, baking soda, salt, cinnamon, nutmeg, allspice and ginger; whisk to blend.
-
7
In another bowl, whisk the eggs with the oil, granulated sugar, brown sugar and vanilla until smooth.
-
8
Stir in the dry ingredients just incorporated, then stir in the carrots and walnuts.
-
9
Pour the batter into the prepared pan and bake for 40 minutes, or until a tester inserted in the center of the cake comes out clean.
-
10
Transfer the cake to a rack and let cool for 15 minutes.
-
11
With a paring knife, loosen the cake from the side of the pan.
-
12
Invert the cake onto the rack and gently peel off the parchment paper.
-
13
Let cool completely, at least 2 hours.
-
14
In the bowl of a stand mixer fitted with the paddle, beat the cream cheese with the butter at medium speed until blended, about 30 seconds.
-
15
Beat in the confectioners' sugar in two batches, mixing thoroughly between additions, about 1 minute.
-
16
Beat in the vanilla.
-
17
Transfer the cake to a platter and spread the frosting over the top and sides.
-
18
Serve at room temperature or chilled.