Master Pages

A master page is a special page with .master extension, which provides a template containing a set of common elements for each page in the application. A master page typically contains elements such as headers, footers, and navigation elements so that you can implement a number of elements that each page can contain all at once. Visual Studio provides a specific item template for creating a master page, but the simplest way to understand how it works is to examine a basic one. When you create a new project using the ASP.NET Web Forms Application template, such as in the current example, the IDE adds a master page for you. As you can see, Visual Studio implements by default some links for navigating between pages, such as Home, Contact, ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.