Various shows have one (or sometimes two!) musical episodes where all or almost all dialog is sung by the entire cast. I'm a big fan of these episodes.