There is no support for that unfortunately, but you may find the following article interesting.
Up vote 1 down vote favorite share g+ share fb share tw.
I want to reuse my old ASP. NET WebForm Master Page in new ASP. NET MVC 3 Razor application.
Is there is any way I can reuse this Master page or I need to recreate this Master Page as razor Layout? Asp.net asp. Net-mvc asp.
Net-mvc-3 razor link|improve this question asked Dec 11 '11 at 4:55user960567925311 77% accept rate.
There is no support for that unfortunately, but you may find the following article interesting: hanselman.com/blog/MixingRazorViewsAndWe....
Ok Thanks. This seems to be very difficult. I have also found this link.
But this is also not solving the issue either. – user960567 Dec 11 '11 at 5:51 Yeah, it's not easy. It sounds bad, but you might want to consider recreate the Master Page in Razor and port your existing Views over.
Depends on your particular situation if this makes sense or not. – Phil Klein Dec 11 '11 at 5:54.
No, Master pages and layouts are very different, and not particularly compatible. Frankly, it shouldn't be very difficult to convert from one to the other, the HTML should remain the same, but you just replace a few pieces with razor code. Even a complex master page should only have a few placeholders.
The only problem is if you are using a code-behind for the master, which you'll have to figure something out for the razor view.
Ok Thanks. This seems to be very difficult. I have also found this link.
But this is also not solving the issue either. – user960567 Dec 11 '11 at 5:51.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.