menu
Logo
  • Why azing?
  • Blog
  • Help
ENarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo ENarrow_drop_down
  • DE
  • EN
  • Why azing?
  • Help
2sxc
drive_folder_upload
  • homeChecklist Templates
  • south

folder_sharedPro: WebApi Development

  • homeChecklist Templates
  • south

folder_sharedPro: WebApi Development

Folders and checklists

  • check_circleMigrate from SxcApiController to new ApiController in v10.25+

Parts (0) expand_more

These are small document-parts which are used in other documents. They are not a starting point for any real activity. Because of this, they will be listed further down and the search will not list them unless requested. 

The SxcApiController was the old base class for WebApi Controllers in 2sxc up to 10.25. Now you should use the new ApiController. 

  1. Change to inherit from ToSic.Sxc.Dnn.ApiController
    So change public class YourController: SxcApiController to 
    public class YourController: ToSic.Sxc.Dnn.ApiController
  2. Change any AsDynamic(someList) to AsList(someList)
  3. If you were using Serializer.Prepare(someList) now use DataToDictionary(Edit.Enabled).Convert(someList) instead
  4. Follow the other recommendations in the RazorComponent recipe
Logo
Legal | Content Copyright CC-BY 4.0
bug_reportReport Bug
  • info
  • Links
  • Permissions
code Share
code
URL copied to clipboard.
Embed Checklist close
Copy Copy
Content Copyright

CC-BY 4.0

Translations

None

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/YDZOOG-L
View & Use

Public (can be used by everybody)

Edit & Admin

Default (all members can edit)

This catalog has a simple permission model, where all members have the same permissions. For advanced permissions, upgrade to Enterprise.

Here you can see how this document is used and linked by other documents

Used in (0)

Others referencing this

Uses these (1)

Documents linked from this document

  1. RazorComponent - Migrate from Older Format
How it Behaves

How this document is categorized changes how it behaves.

This is a main document, it is listed normally and appears in search result.

Type

This is a Checklist. Lists are converted into checkboxes.

Get something to say?

Comment to start a discussion or make a note
send

please log on to chat

close

Durchsuche ganz Azing