Leonardo Wildt
Leonardo Wildt

Reputation: 2599

Aspx master page in MVC application

I know this is an old topic but i was wondering if a newer more elegant solution exists now. I am currently working with a legacy asp.net application and we are adding an MVC project to it. In order to keep uniformity we have been tasked with using the existing aspx master pages in our new project. This Article poses a viable solution. Has anyone found a newer, elegant, or more efficient way of achieving this goal?

Upvotes: 4

Views: 211

Answers (2)

Leonardo Wildt
Leonardo Wildt

Reputation: 2599

Looked and looked and honestly could not find any one thing that would allow me to keep the look and functionality of my master page with links and functionality. We have decided to use ASPX pages with iframes that point to MVC pages. Eventually the point will be to eliminate the use of aspx master pages. Thanks everyone for great responses.

Upvotes: 0

Alexei Levenkov
Alexei Levenkov

Reputation: 100630

I don't think there are new ways to integrate master pages.

Good approach is to have master page and _layout file that share most of the actual content via partial views/user controls as covered in Mixing Razor Views in WebForms.

Upvotes: 1

Related Questions