01 -  Preheat oven to 175°C (350°F). Line a 23×33 cm (9×13 inch) tray or baking dish with parchment paper. 
 02 -  In a mixing bowl, toss apples and raspberries with lemon juice, sugar, cornstarch, and vanilla. Set aside. 
 03 -  In another bowl, whisk together flour, granulated sugar, brown sugar, baking powder, salt, and cinnamon. 
 04 -  Cut in cold butter using a pastry cutter or fingers until the mixture resembles coarse crumbs. 
 05 -  Add the egg and mix lightly to form a crumbly dough. 
 06 -  Press two-thirds of the mixture evenly into the base of the prepared tray. 
 07 -  Spread the fruit mixture evenly over the base. 
 08 -  Crumble the remaining dough over the top. 
 09 -  Bake for 40–45 minutes, or until golden brown and bubbling at the edges. 
 10 -  Cool in the tray for at least 20 minutes before slicing into squares. Serve warm with cream or custard, or cold as a snack bar.