While you can cook lasagna in either glass or metal, glass is generally preferred for cooking as it gradually warms up and holds a hot temperature for longer out of the oven.