Skip to main content
Home  ›  Blog

Srongly Typed Content App - May the 4th

Just released the Content-App using the latest 2sxc tech. May the 4th be with us all...

Strongly Typed Content App

The Content App is the default set of templates and content-types which lets the user specify image/text combinations, show addresses on maps and more.

2sxc 16 and 17 perfected a new programming paradigm where the code is better separated in the AppCode folder and compiled ahead of time into a DLL using HotBuild. This results in much nicer Razor files, higher quality code and a setup which provides IntelliSense when developing with VS Code. 

New: Shorter, Cleaner

This is the code of the Text Only.cshtml file in the new code, which is much shorter and easier to read: 

...compared to the previous version, which was forced to have a lot of logic inside the file since we couldn't move it out: 

This is just a simple example, the entire solution is much, much nicer and easier to read and maintain. 

Get it Now

To try the latest Content app, install 2sxc 17.07, add a module to a page and follow the wizard to install. Have fun!

Love from Switzerland,
iJungleboy


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