Browse by Tags

Sorry, but there are no more tags available to filter with.
Starter Site on a Non-standard Port
28 December 06 01:51 PM | jwasson | (Comments Off)   
If you install the starter site onto a port other than 80 you may need to do some code munging. On line 276 of App_Code\SiteContext.cs there is a line of code that looks like this: builder.Port = -1; // Removes the port setting from the site. This ensures Read More...
Filed under: ,
Refactoring PageContext
28 November 06 09:36 AM | jwasson | 6 Comments   
When I stepped back to take a look at the PageSetting/PageContext I found I wasn't completely happy with the design. It works perfectly but its usefulness is hindered by an unclear API. By this time we were beyond the point where I could refactor this kind of change so it stayed but this is a blog and I can show you how I would have made the change hopefully teaching you a little bit about the Starter Site and Refactoring in one post. Read More...
Filed under: ,
Page Attributes in the Starter Site
27 November 06 09:35 AM | jwasson | (Comments Off)   
In the last post I mentioned how attributes were used to affect page functionality. The main class behind that is PageContext and its army of attributes: PageGroupAttribute, PageLayoutAttribute, and SecureAttribute. The attributes control various aspects Read More...
Filed under: ,
Page view tracker