Dnn object

Anything accessing the Dnn object won't work. Usually you can use CmsContext like

  1. CmsContext.Module.Id etc.
  2. DNN.Tab.TabId -> CmsContext.Page.Id
  3. Anything else ask iJungleboy

DotNetNuke Namespaces

Any code that access DotNetNuke namespaces cannot work. You have 2 strategies:

  • Either use another API which gives you the information, possibly on CmsContext
  • or create conditional sections using #if NETCOREAPP - see docs
    • if you do this, put a // TODO: comment there because the Oqtane side would need some code to do the right thing