We are developing a web application in MVC4. The layout view name is layout.cshtml which is cshtml file (Razor engine) and we did several essential things (such as login div) in layout view. Recently a requirement has met that we need to integrate several static HTML page with this MVC4 web application. The problem that we face is,
- It is compulsory that users who view the static HTML also need to access to this login div. So the master pages of all those static HTML must be
layout.cshtml. - Since we code several other views in this application which depends on this layout, we can't change the layout from CSHTML to HTML.
Considering these scenario, how can we integrate those HTML pages having master page as layout.cshtml with this web application. Thanks in advance.