Home Passing data to Master Page in ASP.NET MVC
Reply: 0

Passing data to Master Page in ASP.NET MVC

user4655
1#
user4655 Published in September 20, 2018, 12:44 pm

What is your way of passing data to Master Page (using ASP.NET MVC) without breaking MVC rules?

Personally, I prefer to code abstract controller (base controller) or base class which is passed to all views.

share|improve this question
  • 1
    I wrote a guide on how I managed this: britishdeveloper.co.uk/2010/06/… should help – BritishDeveloper Jun 21 '11 at 20:38

9 Answers 9

active oldest votes
up vote 76 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.494744 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO