Return to Snippet

Revision: 37753
at December 16, 2010 23:15 by timgeyssens


Initial Code
[XsltExtension(Namespace="myAlias")]
    public class SomeTest
    {
        public static string HelloWorld(string who)
        {
            return "Hello " + who;
        }
    }

Initial URL
http://umbraco.org

Initial Description
Currently the XsltExtension attribute will only work when the class is placed in the app_code folder, in umbraco Juno, we'll also look at types in assemblies, so no more need to update the /config/xsltExtensions.config but simply mark class with the attribute

Initial Title
Umbraco Juno, XsltExtension attribute (now also searches in assemblies, not only app_code)

Initial Tags

                                

Initial Language
C#