Prepare a shortcrust pastry from flour, butter, sugar, salt and 1 egg. Chill for 30 minutes wrapped in foil.
Peel the asparagus, cut into pieces and cook until al dente. Preheat the oven to 200 ° C.
Grease a 24-inch springform pan and line it with the dough that has been rolled out in the meantime, leaving an edge of about 2 cm. Spread the asparagus pieces and strips of ham on top. Whisk the remaining eggs, milk and cream together and season as needed. Pour this mixture over the asparagus and sprinkle with parmesan.