Sharing master page between asp.net web application and MVC application

Hi Experts,

I have 2 different stand alone applications. One in asp.net  and the other one in MVC4. I would like to make reference to ASP.NET web application's master page in my MVC application.(Web application master page has menus and some session variables) I really don't want to merge the applications under the same solution. Could anyone please let me know how to implement this(preferably with some sample)

Thanks!
romsomIT DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
romsomIT DeveloperAuthor Commented:
Thank you very much
0
Roopesh ReddyIT AnalystCommented:
Hi,

Looks like YES and NO

Check this article - http://www.hanselman.com/blog/MixingRazorViewsAndWebFormsMasterPagesWithASPNETMVC3.aspx

Hope it helps u...
0
romsomIT DeveloperAuthor Commented:
Hi,

Thanks for your reply.

The links give an idea to share master page between web and mvc in the same solution however mine is a 2 different stand alone application and I want to use the master page from the web forms application. (That master page has lot of code behind logic like loading the menu from dataset and storing session variables.)

Basically what we are trying to do is... we have an existing webpage in ASP.NET and we would like to add link to external application(which is in MVC). We want to retain the layout and navigation menu as it is.

Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.