Umbraco 4.6 Beta (Juno) went out a couple of days ago, this is just a quick post highlighting one of the improvements.
As you may know if you want to register an xslt or rest extension you’ll need to do this in a config file (config/xsltextensions.config and /config/restextensions.config) but now with umbraco 4.6 you’ll be able to do this with some attributes instead.
So no more messing around with the config files(although they still work) but simply add a reference to the umbraco assembly and then you’ll be able to use the XsltExtension, RestExtension and RestExtensionMethod attributes to mark your extensions.
public class Test
public static string HelloWorld()
return "Hello World";
You can either place the .cs file in the App_Code folder of your umbraco installation or build the solution and place the assembly in the bin directory.
Want to give it a try ? Download Umbraco 4.6 Beta