Most baked pasta dishes require you to boil and drain your noodles ahead of time. Cook the pasta to al dente, then it will finish cooking in the oven as it bakes.