Table of Contents

C# APIs in ApiController

The following gives you an overview to the APIs you get when you inherit from ToSic.Sxc.Dnn.ApiController.

APIs in Razor Components / Templates

Tip

Most of these APIs can be seen live in action with source code in the Web API Tutorials

Standard Dynamic Code API

Razor templates / components have all the objects and APIs of Dynamic Code

The .net Code Docs for ApiController.

Common Standard ASP.net Controller APIs and Keywords

  1. Request
    Standard object in ASP.net giving you http-request information.

Special Object / Commands in ApiController

The ApiController provides additional commands productive:

  1. SaveInAdam(...) new in 9.30

History

  1. A first base controller (not recommended any more) was added v6.05
  2. The ToSic.Sxc.Dnn.ApiController was introduced in 2sxc v10.25