The DCPlugin attribute will allow you to easily register your Dynamic Content in EPiServer, as opposed to manually setting them up in web.config.

    [DCPlugin(DisplayName="Hello World",Description="Shows a Hello World text")]
    public class HelloWorld : DynamicContentBase

It can be applied to class implementing IDynamicContent or inheriting from DynamicContentBase, as well as UserControls (User Control as Dynamic Content).

Last edited Oct 23, 2009 at 11:13 PM by AllanThraen, version 2


No comments yet.