Posted by: Jay Que | April 22, 2012

MVC Page Layout

Demonstrating how to use XML to customise a Microsoft MVC 3 page layout.

Step 1: Define XML structure to represent page layout

Step 2: Create a controller which calls the View and sends through the XML file name for the layout

Step 3: Create a view which can take the XML and construct it self using Razor

Step 4: Add Ice Cream and enjoy the show

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: