Duration: 18 minutes
Summary: The main concept has to do with the MasterPageFile. Instead of setting that for every content page to be able to use a specific master page, we can set this property in the system.web of the configuration file. That way, we can control what page to apply to a specific folder or even the entire application. We create a new master page within the Account folder, and reference that page with the web.config. We removed the older reference from the page directive of the pages in the Account folder. That way, all the pages now will reference the new master page. There are many ways to control the master page content. We can start by setting the Title attribute of the page directive. We can also control that from within the code using Page.Header property.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Master Pages, Page.Header.Title, Web.config, stylesheet.