• Basics
  • Abyss
  • Web APIs
  • C# & Razor
  • .net API
  • JS & TS API

    Show / Hide Table of Contents

    Namespace Custom.Dnn

    Namespace for base classes of custom code, razor and WebApis in DNN

    Custom.Dnn Namespace for Dnn ☢️

    This contains all the base classes for your own solutions, which are targeted to Dnn ☢️.

    Versioned Base Classes

    All the base classes in this have a version number, so it will become easier to document differences between versions and also to give guidance how to upgrade in case of future breaking changes or security issues.

    Previous Base Classes

    Previously other base classes were recommended. They will continue to work, but we'll only enhance the features on these base classes. To see previous base classes, check out

    • #todoc

    Classes

    Api12

    The base class for APIs which only need to work in Dnn. They internally inherit from DnnApiController which inherits from ApiController System.Web.Http.ApiController and in addition to all the DynamicCode properties also have all the features of that base class.

    Code12

    The base class for custom code. If you inherit from this class, you'll automatically have all the properties from DynamicCode.

    Razor12

    The base class for custom Razor. If you inherit from this class, you'll automatically have all the properties from DynamicCode.

    Classes

    Api12

    Base Class for modern Api Controllers in Dnn

    Code12

    Base Class for Dynamic CSharp Classes in Dnn

    Razor12

    Base Class for Dynamic CSharp Classes in Dnn

    • Improve this Doc
    Back to top Generated by DocFX