Rubik's Cube is a user Rights management platform based on ASP. NET MVC, which can be used as the basic framework of various information management systems.
Demo: http://cube.newlifex.com Source
Source: Http://git.newlifex.com/NewLife/NewLife.Cube
Overseas: Https://github.com/NewLifeX/NewLife.Cube
Characteristics
- Universal Rights Management, user, role, menu, permissions, support Controller action permission control
- Multi-database, support
SQLite / Sql Server / Oracle / MySql / SqlCe / Access
- No deployment, automatic creation of database table structures, and initialization of data without manual intervention
- Powerful view engine that supports sub-project view overrides parent project same location view, arbitrary override modify default interface
System Requirements
- IIS 7.0
- . NET Framework 4.5
- ASP. NET MVC 5
- Sqlite/sql server/oracle/mysql/sqlce/access
Installation
- To create a new MVC5 project in Visual Studio
- Using NuGet references
NewLife.Cube
, or compiling the latest cube source yourself
- In
Web.config
the <connectionStrings>
segment setting named Membership
connection string, the User role Permissions menu is stored in the database
- The system automatically recognizes the database type, the default
\<add name="Membership" connectionString="Data Source=~\App_Data\Membership.db" providerName="Sqlite"/>
- Compile project, right mouse button on project,,
查看
在浏览器中查看
run Rubik's Cube platform
- The system
SQLite
Oracle
MySql
SqlCe
will automatically download matching () database driver files for///database x86/x64
, driver can be Config\Core.config
modified inPluginServer
- The system automatically downloads resource files such as script style sheets, which can be
Config/Cube.config
modified inPluginServer
- Default login user name Yes
admin
, password isadmin
- It is recommended to install the Visual Studio plug-in Razor Generator, to the
.cshtml
file Settings 自定义工具``RazorGenerator
, you can .cshtml
build into the DLL
inside
- Only copy,, and
Bin
web.config
Global.asax
Other resource files that you add to your project when you publish
Tutorial
"Demo" Educational system
"Source" educational system
New Life Single Sign-on
"Tutorial" Rubik's Cube Platform Newlife.cube Basic Tutorial (by-laws routines code)
"Tutorial" Mosaic Platform Newlife.cube template structure detailed
Universal Web Background Cube Newlife.cube