Freigeben über


Expression Web Designer and Master Pages

I've been planning on upgrading my own website for a while now.  The old site was a DNN site and a recent attempt at upgrading it from DNN 2.1.2 to DNN 4 to take advantage of ASP.Net 2.0 resulted in - er... difficulty and brokeness.  So I finally got some time to upgrade it to a pure ASP.Net 2.0 site.

To get the old template into a master page format, I used Internet Explorer to save the basic HTML to a html file which I then opened in Expression Web Designer.  I then went looking in EWD for that magical save as function - save as Master Page - which it has.  This then saved the page and made the appropriate changes in the code.  It was then a matter of just removing the old DNN bits of code and adding the Content Place Holders to make it into a fully complete ASP.Net master page.

I also wanted to put the images into a directory other than the root directory - again EWD made this easy.  I just went into the web site pane, created a new folder and copied all the images in there using a mass move.  This not only moved the images, but also modified the master page to change all the image locations inside the HTML code.  Very cool!

You can check out the end result at www.burling.co.nz.  I have some content to add, but the layout is finished

Expression Web Designer was released in CTP form a week or two back.  You can get it from here.

Comments