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
  • fiber_manual_recordPro: Develop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Angular Apps Development
  • south
  • fiber_manual_recordPrevious Version: Dnn-Sxc-Angular 6
  • south
  • fiber_manual_recordSetup dnn-sxc-angular 6
  • south

folder_sharedSetup dnn-sxc-angular 6

  • homeChecklist Templates
  • south
  • fiber_manual_recordPro: Develop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Angular Apps Development
  • south
  • fiber_manual_recordPrevious Version: Dnn-Sxc-Angular 6
  • south
  • fiber_manual_recordSetup dnn-sxc-angular 6
  • south

folder_sharedSetup dnn-sxc-angular 6

Folders and checklists

  • check_circlednn-sxc-angular - Enable ng serve development (OLD - CORS)
  • check_circlednn-sxc-angular - Quick Start
  • check_circlednn-sxc-angular - Tutorial - Accessing Content using REST and content$

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. 

 

To enable local development, you need to set up a few things.

  1. Add development runtime settings which define the module instance id, tab id, base path for requests
    1. Create a folder dev inside of the /src/app folder
    2. In this folder, create a file named dnn-dev-settings.ts and and paste the following content: template for dnn-dev-settings.ts
    3. Adjust values for moduleId, tabId and path to match the module of your DNN installation
  2. Update app.module.ts to include the dev-settings

Workaround for DNN 9+:

If it does not work, use this workaround (still work needed to find out why this is needed; mostly on DNN 9+ installations):

  • Open web.config and add the following to the handlers section:
    <remove name="OPTIONSVerbHandler" />
  • In the handlers section, change the line with ExtensionlessUrl-Integrated-4.0 to:
    <add name="ExtensionlessUrl-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
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/9MHGr2SO
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 (1)

Others referencing this

  1. dnn-sxc-angular - Enable ng serve development (OLD - CORS)
Uses these (2)

Documents linked from this document

  1. Template for dnn-dev-settings.ts
  2. Modifications in app.module.ts for local development
How it Behaves

How this document is categorized changes how it behaves.

This is a partial document. It is listed below the normal documents, and is hidden in the default search.

It belongs to dnn-sxc-angular - Enable ng serve development (OLD - CORS)

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