Programming in DotNetNuke 101 - Introduction to Razor Syntax - Part 2/3
7 min : 8 sec
Who said it's hard to develop in DNN? This video series will introduce you to the Razor syntax and how to use it on DotNetNuke. The Razor syntax is used via the RazorHost module and it is a great way to create your own modules quickly and without the need to go all the way in the more advanced techniques that you would have to use to create modules for DNN. This is part 2 of 3.
User Details:
- UserID: @Dnn.User.UserID
- Username: @Dnn.User.Username
- DisplayName: @Dnn.User.DisplayName
- FirstName: @Dnn.User.FirstName
- LastName: @Dnn.User.LastName
- Email: @Dnn.User.Email
- IsSuperUser: @Dnn.User.IsSuperUser
- Biography: @Dnn.User.Profile.GetPropertyValue("Biography")
Module Details:
- Name: @Dnn.Module.ModuleTitle
- Id: @Dnn.Module.ModuleID
- Type: @Dnn.Module.ModuleDefinition.FriendlyName
Page Details:
- Name: @Dnn.Tab.TabName
- Id: @Dnn.Tab.TabID
- Path: @Dnn.Tab.TabPath
Site Details:
- Name: @Dnn.Portal.PortalName
- Id: @Dnn.Portal.PortalId
- Alias: @Dnn.Portal.PortalAlias