1, the Authority design scheme: http://jingyan.baidu.com/article/9f63fb91ae22bac8410f0e70.html
2. How to use session:
use session in controllernamespaceme. controllers{ Public classLogincontroller:controller {// //GET:/login/ PublicActionResult Index () {//Set Session This. httpcontext.session["User"] =123; returnView (); } }}
3. How MVC uses templates: Right-add-view in/views/shared/, rename to "_xxlayout", tick "create as Partial View", click "Add", and then point Layout to this template in view
4, dropdownlist:http://jingyan.baidu.com/article/11c17a2c694664f446e39df0.html
5, Bootstrap can use 3.0, but query, preferably 1.9 or more, 2.0 version of the following version, (because Bootstrap is based on jquery1.9+ version, The reason for choosing the 2.0 version below is that jquery itself is not supported by more than 2.0 IE9 browsers, so for better compatibility, choose between 1.9-2.0 versions): http://jingyan.baidu.com/article/ 91f5db1bd8c0fb1c7f05e3cd.html
6. Using ASP. 4 Bootstrap Layout Template (VS2012): http://www.it165.net/pro/html/201309/7138.html
[Alternate] Permissions design, how to use sessions, how MVC uses templates, DropdownList, how to add Bootstrape frameworks, using ASP. NET MVC 4 Bootstrap Layout template (VS2012)