Cube NewLife. cube, Cube newlife. cube
Cube is a user permission management Platform Based on ASP. net mvc. It can be used as the basic framework of various information management systems.
Demo: http://cube.newlifex.com source code
Demo account: admin/admin
Source code: https://git.newlifex.com/NewLife/X/Tree/master/NewLife.Cube
Overseas: https://github.com/NewLifeX/X/tree/master/NewLife.Cube
Features
- General permission management, users, roles, menus, permissions, and support for controller Action permission Control
- Multi-Database Support
SQLite / Sql Server / Oracle / MySql / SqlCe / Access
- No deployment. The system automatically creates database table structures and initializes data without manual interference.
- A powerful view engine that supports subproject views to overwrite the same location view of the Parent Project and overwrite and modify the default Interface
System Requirements
- In IIS 7.0
- . NET Framework 4.5
- ASP. net mvc 5
- SQLite/SQL Server/Oracle/MySql/SqlCe/Access
Install
- InVisual StudioCreate an MVC5 Project
- PassNuGetReference
NewLife.Cube, Or compile the latest X component source code.
- In
Web.configOf<connectionStrings>Segment nameMembershipThe connection string, user role permission menu, and so on stored in the database
- The system automatically identifies the database type. The default value is
\<add name="Membership" connectionString="Data Source=~\App_Data\Membership.db" providerName="Sqlite"/>
- Compile the project, right-click the project,
View,View in a browserRun the cube Platform
- The system is
SQLite/Oracle/MySql/SqlCeAutomatic database download matching (x86/x64).Config\Core.configModifyingPluginServer
- The system automatically downloads script style sheets and other resource files.
Config/Cube.configModifyingPluginServer
- The default logon username is
adminThe password isadmin
- Recommended InstallationVisual StudioPlug-insRazor Generator,
.cshtmlFile SettingsCustom tool ''razorgenerator, You can set.cshtmlCompiledDLLInside
- When a project is released, you only need to copy it.
Bin,web.config,Global.asaxAnd other resource files added by yourself
Tutorial
[Demonstration] Educational Administration System
[Source code] Educational Administration System
[Tutorial] basic tutorial on Rubik's Cube platform NewLife. Cube (with routine source code)
[Tutorial] Detailed description of the template structure of the Rubik's Cube platform NewLife. Cube