menu
Logo
  • Warum azing?
  • Blog
  • Hilfe
DEarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo DEarrow_drop_down
  • DE
  • EN
  • Warum azing?
  • Hilfe
2sxc
drive_folder_upload
  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedIntegration with Other Platforms

  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedIntegration with Other Platforms

Ordner und Checklisten

  • check_circle1.1 Basic Read-Integration
  • check_circle1.2 First Web APIs
  • check_circle1.3 First JS Integration
  • check_circle2.1 WebApis - Create Stateless and Stateful ControllerBase
  • check_circle2.2 Modify Insights Controller from 1.2 to use Stateless Base Controller
  • check_circle2.3 Implement EditController Load-Action
  • check_circle2.4 Implement EditController EntityPicker
  • check_circle2.5 Implement Link Resolve
  • check_circle3.0 ADAM integration WIP

Teile (0) expand_more

Teil-Dokumente werden als von anderen Checklisten wiederverwendet, sind aber nicht geeignet als Einstieg in eine Tätigkeit. Deshalb erscheinen sie weiter unten. Die Suche wird diese auch nicht anzeigen, ausser man sucht explizit nach Teilen. 

This gives you a guidance how to do a very basic, first step integration.

The goal is that you'll have another system which...

  • Runs with all the DLLs of 2sxc included
  • Is able to read data from 2sxc, which is in another Database

Preparation

  1. Make sure you have DNN running with 2sxc installed and some apps.
  2. The DB and files must be accessible from your own application in the initial phase

Basic DLL Steps

  1. Prepare the 2sxc / EAV, set up the repos so you can compile - note that you don't need to build the DNN solution, but the MVC. So you can skip the DNN-integration part with the paths etc.
  2. Compile the latest 2sxc and copy all relevant DLLs to your solution in Debug-Build (so you can later debug what's wrong)
  3. Load your application and verify that it still works
  4. Configure DependencyInjection with the IServiceProvider and ensure you add the core parts. Look at the MVC-project for inspiration
    1. AddSxcWebApi() - this may not be necessary at first, but we're not sure
    2. AddSxcCore()
    3. AddEav()
  5. Now also add the correct connection string using the static object ToSic.Eav.Repository.Efc.Implementations.Configuration. This is a bit hacky, but that's how it's done for now. Check out the MVC code for inspiration. 

Customize the most important classes

  1. Ensure your solution can load the global content-types
    1. Decide where to load the files from initially. This must return a path to where the json content-types lie of your system. So either point to the Dnn folder (ca. web/desktopmodules/ToSic_SexyContent/.data) or a copy of that folder in your environment. 
    2. Now create a YourPrefixGlobalFolderRepository inhertiing the FolderBasedRepository class, return the RootPaths of where these type-files are

Test if you can read data

  1. You should now be able to read data using the State.Get(zoneId, appId) object. Try it. 
Logo
Rechtliches | Inhalts-Copyright CC-BY 4.0
bug_reportFehler melden
  • info
  • Links
  • Rechte
code Teilen
code
URL in Zwischenablage kopiert.
Checkliste einbetten close
Kopieren Kopieren
Inhalts-Copyright

CC-BY 4.0

Übersetzungen

Keine

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/jj7BJyXZ
Anschauen & Verwenden

Öffentlich (nutzbar für jeden)

Bearbeiten & Verwalten

Standard (alle Mitglieder können bearbeiten)

Dieser Katalog verwendet ein einfaches Berechtigungsmodell, bei dem alle Mitglieder die selben Rechte haben. Für weitere Optionen, bitte Upgraden.

Hier siehst du die Beziehungen zwischen diesem Dokument und anderen.

Verwendet in (0)

Andere, die hierhin verweisen

Verwendet diese (1)

Andere, die in diesem Dokument verwendet werden

  1. Setup 2sxc Dev Web with DNN 9.13.1
Wie es verwendet wird

Die Kategoriesierung verändert das Verhalten des Dokuments.

Dies ist ein normales Dokument, es wird normal angezeigt und erscheint in der Suche.

Typ

Das ist eine Checkliste. Listen werden zu Checkboxen umgewandelt.

Haben Sie etwas zu sagen?

Kommentieren Sie, um eine Diskussion zu beginnen oder eine Notiz zu machen
send

Bitte einloggen um zu chatten.

close

Durchsuche ganz Azing