ASP. NET MVC Bootstrap rapid development Framework

Source: Internet
Author: User

Original: ASP. NET MVC Bootstrap rapid development Framework


Every new development project has to be designed from the start? Is there a common rapid development framework for wood? And it has to be ASP. NET MVC and Bootstrap? Do not create the database manually? Is the framework scalable for future business support? What's a simple feature that requires a day to build the infrastructure? Can you only care about the business I need?

There is a project based on the ASP, EntityFramework, Memcached, Bootstrap Rapid project development framework that creates a project with simple user management in just 3 seconds.

One-click Installation

Lazy One-click installation package: access password ed81; Double-click the Install.bat batch to add the template project to the VS project template list.

Fast Create

Just click on a "OK" button to create a background program with simple user management and login functionality, as shown in:

Run Effect landing screen

Admin background Main interface

User Management

Databases that are created automatically

Export your own project template

Example of exporting a project template:

Source Highlights Service Interface layer, completely reject the BLL garbage redundancy code

Service abstract base class
 Public Abstract classservicecontext:idisposable {/// <summary>        ///Database Operation Context/// </summary>         Public ReadOnlyDefaultdbcontext DbContext =NewDefaultdbcontext (); /// <summary>        ///Cache Components/// </summary>         PublicCachecontext Cachecontext {Get;Private Set; } /// <summary>        ///to dynamically set a new instance of a cache object/// </summary>        /// <param name= "Cachecontext" >Cache Instance Objects</param>         Public voidsetcacheinstance (Cachecontext cachecontext) {//Release the existing cache component first            if(Cachecontext! =NULL) {cachecontext.dispose (); Cachecontext=NULL; }            //Initializes a new instance of the cache componentCachecontext =Cachecontext; }         Public voidsetcacheinstance (Type cachecontexttype) {if(Cachecontexttype = =NULL)            {                Throw NewArgumentNullException ("Cachecontexttype"); }            if(!typeof(Cachecontext). IsAssignableFrom (Cachecontexttype)) {Throw NewArgumentException (string. Format (CultureInfo.CurrentCulture,"the type {0} must inherit from the abstract class Cachecontext", Cachecontexttype),"Cachecontexttype"); }            Try{Cachecontext= Activator.CreateInstance (Cachecontexttype) asCachecontext; }            Catch(Exception ex) {Throw NewInvalidOperationException (String.Format (Cultureinfo.currentcultur E,"failed to create instance {0} of abstract class Cachecontext", Cachecontexttype), ex); }        }         Public voidDispose () {if(DbContext! =NULL) {dbcontext.dispose (); }            if(Cachecontext! =NULL) {cachecontext.dispose (); }        }    }

Cache components that can be dynamically toggled during operation

Service interface layer specific business implementation

Are you neat about the new keyword? Deep hates?

All interfaces are implemented in a configurable format

No exceptions, no escaping.



The basic framework of the project gives you a quick start, and the more NB design also needs your further imagination to play.

Source Address: Https://

In-depth communication? Let's go into group 229853793 communication.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.