Use the interface IViewLoader when starting the application in Program.cs file.