The main character needs to have some sort of character defect, and the cases need to involve things that do not happen every day. House is a caustic misanthrope, Sherlock is arrogant and anti-social, Monk is obsessive compulsive, Conan Edogawa is a high school kid who got his body de-aged to primary school age via poison. An over-the-top main antagonist helps, too.