When you are thinking of developing a website the first thing that comes to your mind  is the design of the website and how it would look to the end user. A website is supposed to have many pages with lots of similarities in their designs. Managing the similarities in traditional development approach (when only HTML and CSS used to be there in web pages) was to replicate the similarities and  create new pages with the same code. This whole scenario has changed since the advent of Master Pages in ASP.net.

What is Master Page ?

Imagine a situation in which you have thousands of pages in your very famous website. You want to change the color of the header menu. BHAM!!

If you would have used Master Pages then this would never have been a problem. You could just have gone to the master page made the required changes there and it would have reflected on all the tens or even thousands of pages of your site in just one go.

This example would be more than enough to make a new fellow want to use Master Pages. But the power and complexity does not stop here.

If i put things in simple words, Master Pages can be  used to share the same look with thousands of pages of your website.

Advantages of using Master Pages

Following are some of the advantages that will encourage you to use them:

  • Easily maintain look of large site
  • Easily Extendable
  • Centralized

You want to get your hands dirty with the code. Well, in that case go here.