Mill the parmesan *10 sec/speed 10 and remove from bowl and set aside.
Make the tomato sauce now.
Place fennel seeds into a small frying pan and dry toast until just smoking and fragrant. Tip into the Thermomix bowl.
Add onion, garlic and EVOO and chop 3 sec/speed 5. Saute 6 min/Varoma/speed 1.
Add all remaining sauce ingredients and cook 30 min/100°C/speed 1/MC OFF. Place the simmering basket on top of the lid to prevent spatter.
When sauce is finished, blend 1 min/speed 9/MC ON. Stir the chopped basil through the sauce with a spatula.
Meanwhile, preheat the oven to 200°C and line 2 baking trays with paper.
Trim the ends and slice the zucchini lengthways in about 1 cm thick slices. Drizzle with EVOO, season well on both sides and sprinkle with the chilli flakes.
Cook approx. 12 minutes in the oven until just browned. Remove from oven and reduce oven temperature to 170°C.
To assemble the dish, oil a gratin dish with plenty of EVOO. Spread a small amount of the sauce on the base of the dish, then arrange 1/3 of the zucchini over the sauce. Top with a small amount of the milled parmesan. Repeat each layer twice more finishing with the bulk of the milled parmesan. Drizzle with EVOO if you wish.
Bake 30-35 minutes until browned, bubbling and fragrant.
Garnish with fresh basil leaves if desired.
With a garden salad and a solid red wine. YUM!