Page Type Builder 1.1 Released

I just released version 1.1 of Page Type Builder. This is most likely the last release of Page Type Builder that targets EPiServer CMS version 5 as future development will target version 6 of EPiServer CMS.

This release contains primarily bug fixes and some cosmetic changes. The changes include:

  • The assembly has been made CLS-compliant.
  • The assembly now has a strong name.
  • A new class has been introduced, PageTypeBuilderException.
  • All occurrences where Exception or ApplicationException was thrown has been replaced by PageTypeBuilderException.
  • Validation at start up that all types in a AvailablePageTypes attribute are page types has been added.
  • Validation at start up that AllowedPageType attributes contains distinct values has been added.
  • A GetPropertyName extension method for PageData has been added. This has proven to be useful when building custom page providers.
  • Page types are updated before they are added to the PageTypeResolver. This fixes a nasty bug that could occur if you first create a page type named A, then renamed A to B and finally added a new page type named A.
  • The methods GetDefaultPropertyType, TypeIsNativePropertyType, GetNativeTypeID and the property NativePropertyTypes in PageDefinitionTypeMapper have been made public. These can be useful when building an admin interface for Page Type Builder.
  • A bug that caused Page Type Builder not to recognize properties and page types that had attributes derived from PageTypeAttribute and PageTypePropertyAttribute has been fixed.
  • Some spelling errors have been fixed.

As usual any and all feedback is appreciated! I would also appreciate it if you would rate the release at the Codeplex site.

PS. For updates about new posts, sites I find useful and the occasional rant you can follow me on Twitter. You are also most welcome to subscribe to the RSS-feed.

Comments

  1. Emil Cardell's avatar

    Emil Cardell 7 months ago

    Great work. Looking forward to work with the new version.

  2. Stuart Blackburn's avatar

    Stuart Blackburn 7 months ago

    Nice work again Joel, much appreciated...

  3. Morten Sorby's avatar

    Morten Sorby 7 months ago

    Hi Joel,

    I was wondering what steps needs to be taken to use the PTB on a CMS 6 site?
    BTW, thenk you for making such an exquisite project open source and available!

    Regards,
    Morten

  4. Joel Abrahamsson's avatar

    Joel Abrahamsson 7 months ago

    Hi Morten!

    I think all you need to do is download the source code from pagetypebuilder.codeplex.com and change the references to assemblies from CMS 6 and compile. I haven't actually tried it out myself yet as I've been pretty busy, but www.rfsu.se was recently released on CMS 6 with PTB so it definitely works.

  5. Morten Sorby's avatar

    Morten Sorby 7 months ago

    Thank you Joel,

    that's all I wanted know :-)
    hopefull they have not branched your source and made some changes, but from what I hear over at EPiServer, CMS5 and CMS 6 is close to binary compatible, so it should not be a problem.
    I'll give it a spin..

    /Morten

Add a comment

Allowed tags: <b>, <em>, <quote cite="">, <code>, <c-sharp-code>, <css-code>, <sql-code>, <xml-code>, <javascript-code>. If you want to display code examples, please remember to write &lt; for < and &gt; for >.

Follow me on Twitter

  1. Blogged: Learning Scala part nine – Uniform Access http://bit.ly/bmUat8 1 days ago
  2. @mikaellundin Your blog is a never ending source of wisdom. And weird mathematical problems. :) 3 days ago
  3. Bookmarked: Validate XHtml 1.0 Strict as part of your build process « Mint http://bit.ly/bOhaZj 3 days ago
follow me

Latest comments

  1. Svante wrote "Yes, I noticed that it was a singleton, and I guess the real..." on Something to beware of when using EPiAbstractions and an IoC container
  2. Joel Abrahamsson wrote "Well, first of all you wont get any arguments from me regard..." on Something to beware of when using EPiAbstractions and an IoC container
  3. Svante wrote "Hmm... Since the issue really is with the public instance co..." on Something to beware of when using EPiAbstractions and an IoC container

About this site

This blog is built with EPiServer Community, EPiServer CMS, ASP.NET MVC and a bunch of other great products. The source code is available for download at the projects page, where you also can read more about this site and my other projects.

read more