Peel the asparagus, cut into 4 cm long pieces, cook for about 10 minutes, adding 1 pinch of salt and sugar each. Grease the baking dish with butter.
Mix the eggs, flour, cream, stock powder and cheese into a sauce. Mix the drained asparagus with the chopped ham and almonds and place in the baking dish. Pour the sauce over them.
Cover and cook in the preheated oven (200 ° C or 170 ° C with hot air) for 30-40 minutes. The sauce must be thick. Finally leave it open for a moment so that a golden-yellow crust forms.