Preparing Wabo
Notes for using wabo
- Change connection string in web.config. Default storage is local sqlexpress server and wabo database.
- Each controller must derive from WaboController. WaboController provides 4 variables to Views thru ViewBag
- AdminMenu
- ThemePath (string)
- ActiveUser (Dal.User)
- ApplicationName (string)
- Use LogError to write error information to NLog log file
- Use LogEvent to write information into LogViewer table
- For access restrictions, use [ModuleListPermission],[ModuleReadPermission],[ModuleWritePermission] and [ModuleDeletePermission] attributes on controller actions.
- View files are under content\themes\manager\[theme_name]