Skip to main content
Home  ›  Blog

2sxc 9.20 Preparing for Headless .net Core, TypeScript, DNN 9.2 and way more

2sxc 9.20 is an important milestone for us.

The Highlights

  1. Complete decoupling of DNN Webforms from 2sxc - as an important step to going headless and .net core #1473
  2. Completely refactored the in-page JavaScript into TypeScript #1503
  3. Migrated all global content-types (like string-field definitions) to json #1481
  4. Support for DNN 9.2 - while still working on DNN 7.4.2 #1494

The highlights are explained more in details, after the breaking changes and small improvements. 

The Breaking Changes

Moving to .net core means we had to internally decouple 2sxc from DNN as it is today. Our architecture was always built for this, but one area had accidentally been too close to DNN, so we had to break that. Specifically, it's about the objects behind ADAM. 99% of all code should continue to run - including all of the apps we created. BUT if you had written some Razor-code and the code cast the ADAM objects into IFileInfo (the DNN file objects), then this will break. You'll find the details about it in this blog post

25+ Improvements

Aside from the large things, here's the small things that make life easier:

  1. New: All global content-types (like field configurations) are now all json based to allow for faster feature development #1481
  2. New: UI to export JSON entities #1458
  3. New: UI to import JSON Entities #1459
  4. New: Extensive-Logging mode on javascript inpage toolbar #1504
  5. New: Configuration System to override deep system settings #1490
  6. Enhanced: In-Page Icon-Font now using Font-Awesome 5 #1482 
  7. ...and merged with 2sxc-inpage repository in github #1491
  8. Enhanced: Dnn7.Factory.App showing drafts #1450
  9. Future-Proofing: In-Page JS completely refactored to TypeScript - 8+ weeks of work #1503
  10. Change: Global ghost content-types are now disabled (internal feature) #1492
  11. Change: Upgrade requires 2sxc 8.12 or later (to drop old maintenance code) #1483 / #1484
  12. Bug: RegEx Validation in form #1147
  13. Bug: Automatic file numbering when uploading multiple files with same name #1496
  14. Bug: On high loads, the first page sometimes showed an error with Z1A1 or similar #1498
  15. Bug: JSON loaded types didn't remember if they were published #1500
  16. Bug: JSON content-types from file system didn't react to their nice-name #1488
  17. Bug: CreatedOnDate on folders was always wrong #1463
  18. Bug: Auto-Install content/app tried to install twice at the same time #1460
  19. Bug: Sometimes a request after a restart resulted in an Z1A1 error #1498
  20. Bug: CreatedOnDate #1463 
  21. Bug: Issue with name/id of dynamic json types #1488
  22. Bug: Json data from DB reported wrong published state #1500
  23. Bundle: Include new SharpZipLib for DNN 9.2 compatibility
  24. Bundle: Include Koi 1.2 

Download Now

Please remember that this is a pre-release. You can find it in the github releases:

Love from Switzerland,

Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.

Read more posts by Daniel Mettler