Skip to main content
Home  ›  Apps

Razor Tutorial 16 (Dnn & Oqtane)

Learn all about Razor and how to leverage LINQ, Koi and more. You can view the live online edition in our DNN Tutorials.

Read details below

Detailed Description

Contents

  1. C# basics incl. variables and for-each loops
  2. Razor output to showing the variables as plain text or raw-html.
  3. Razor helpers
  4. Shared code - functions, helpers, templates - for re-use across templates
  5. Working with content (data which is assigned to an instance of a module)
  6. Working with data from the current App
  7. Working with data from Queries in the App
  8. Working with SQL data
  9. Working with CSV data
  10. Working with Koi to ensure that Bootstrap4 is always included

Just download the app and read yourself through the examples.

Note that if you need an older Version of this Tutorial app (because maybe you're using an older version of 2sxc) you can always get it from Github Releases.

System Info

v. 16.00.00
GUID: efe3b9cf-1382-40b3-bee2-34becb5351bc
for 2sxc 12.04.00

Releases

  1. V. 12.04.00 (10/11/2021)

    Updated some samples for Oqtane, and all samples now v12 best-practice.

  2. V. 12.05.00 (10/14/2021)

    99% of all demos / tutorials now work on Oqtane, so the code is completely hybrid. 

  3. V. 16.00.00 (5/8/2023)

All Main Versions

Discover more

Are you new to DNN-Apps?

If this is the first time you've seen DNN-Apps and would like to try one - just install 2sxc first, then install this app inside it.