Loading...
ASP.NET master page file
File type: Source code and script file
A master file extension is related to ASP.NET applications and websites developed and running on ASP.NET platform.
File type category:
Source code and script file
Date updated: September 9, 2024
The master file extension is related to ASP.NET applications.
ASP.NET master pages allow you to create a consistent layout for the pages in your application. A single master page defines the look and feel and standard behavior that you want for all of the pages (or a group of pages) in your application. You can then create individual content pages that contain the content you want to display. When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.
A master page looks very similar to an aspx.
These files use an @ Master directive instead of an @ Page directive at the top. *.master pages will define the <html>, <head>, <body >, and <form>, tags.
To use Master Pages in your ASP.NET Web application, you create a Master Page for the site layout and design and create Content Pages for each content resource, and then connect the content pages to the master pages using the new controls and attributes supplied by ASP.NET.
After you make that connection, ASP.NET will serve up the page by merging the content from the master page with the content of the content pages.
<%@ Master Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server" > <title>Master page title</title> </head> <body> <form id="form1" runat="server"> <table> <tr> <td><asp:contentplaceholder id="Main" runat="server" /></td> <td><asp:contentplaceholder id="Footer" runat="server" /></td> </tr> </table> </form> </body> </html>
Use Microsoft's ASP.NET code developmnent tools and software to work with these files.
Files of this type normally do not convert.
Software applications that can open master files:
Multiplatform
Software applications that can edit master files:
Multiplatform
Software capable of saving master files:
Multiplatform
Software applications that handle other tasks involving master files:
Microsoft Windows
Multiplatform