EPiCode.Extensions new EPiCode Community Project

Posted on November 1, 2009 by Frederik Vig in EPiServer

I’m a huge fan of extension methods. In every project I have at least a couple of them. Always adding new ones. If you read other blogs you see that I’m not the only one. We all have a couple of classes with extension methods we use in our projects. Some of these have been shared with the community, through blogs and presentations. But a lot are hidden, either inside a project or in a partners code library.

I don’t know about you, but for me extension methods save me a ton of time, and make it so much more fun to code! That is why I started the EPiCode.Extensions project. So that we all can share what we have, and have even more fun developing EPiServer sites :).


Update 03.11.2009 – Added EPiCode Extensions wiki page

The project is hosted on EPiCode, and consists of two projects: EPiServer.Extensions and EPiServer.Extensions.Tests.

The convention is fairly simple. EPiServer.Extensions.PageDataExtensions contains the extensions for the PageData class, EPiServer.Extensions.PageReference contains the extensions for the PageReference class and so forth. All the classes are partial.

I’ve started to add some of my extension methods, and the ones that I’ve found useful from various other blogs. I’m hoping that you’ll do the same and add more :). To checkout the code you have to install a Subversion client like TortoiseSVN. The Subversion URL is: https://www.coderesort.com/svn/epicode/EPiCodeExtensions/.

Happy coding!

Related Posts: