Preferred Language:

Listing 5.12 - Web.Config

Illustrates how to specify a master page for an application or folder with the web.config file.

Listing 5.12 - Web.config
Copy

<?xml version="1.0"?>
<configuration>
    <system.web>
        <pages masterPageFile="~/SimpleMaster.master" />
    </system.web>
</configuration>