I work with a legacy application written in .Net Framework 4.6.2 and I finally have the chance to start rewriting part of it in .Net Core. Current (legacy) code makes writing unit tests harder than it should among other problems.

During the (possible) migration, both legacy and new versions would have to be kept running since not all functionality can be rewritten at once. So, I was thinking if anyone would suggest ways to make this...