There is a project on mvc. And he developed an interface for 2 browsers. Accordingly made 2 master page. _layout for chrome and _layout.old for IE. In _ViewStart code, the standard code for all mvc projects:
@{ Layout = "~/Views/Shared/_Layout.cshtml"; } When debugging, I look, it does not matter in which browser I run the project on this line, the code comes in, and then already if it is chrome, then the project jumps to the new interface starting from the authorization page and if in explorer then to the old one. I can not understand where in the project this routing is done, how does the project choose where to look? Please tell me how it is done and where can I see it?