Olivier Travers

Free cash flow for the win
Home > Archives > 2004 > January > 29 > Templating Belatedly Comes to .Net
Templating Belatedly Comes to .Net

DevX: Introducing ASP.NET 2.0 Master Pages

"ASP.NET 2.0 introduces a new concept known as Master Pages, in which you create a common base master file that provides a consistent layout for multiple pages in your application. To create a Master Page, you identify common appearance and behavior factors for the pages in your application, and move those to a master page. In the master page, you add placeholders called ContentPlaceHolders where the content (child) pages will insert their custom content. When users request the content pages, ASP.NET merges the output of the content pages with the output of the master page, resulting in a page that combines the master page layout with the output of the content page."

This comes with Visual Studio.NET Whidbey, which will be released later this year. It's hard to believe it took Microsoft so long to create a templating system, but better late than never. Here's advice on how to do it in the meantime (i.e. with .Net 1.x).


Category(s): building online products ·
Post a comment






Remember personal info?
Your e-mail address is used to send you future comments to this entry, but I won't use it for any other purpose and it won't appear on the site. I prefer you comment using your real identity, thanks.
Email this Story to a Friend




This form is used only to email this story to your friend. I won't save the email addresses you type in, or use them in the future in any way.


About
Contact



Web Feed

Powered by Movable Type

My profiles: