abp

The easiest way of starting a new project using ABP with ASP.NET MVC 5.x (and optionally AngularJS frontend) is to create a template on the download page.

After creating and downloading your project:

  • Open your solution in Visual Studio 2017 v15.3.5+.
  • Select the 'Web' project as the startup project.
  • Open the Package Manager Console, select the 'EntityFramework' project as the Default project and run EntityFramework's 'Update-Database' command. This will create the database. You can then change the connection string in the web.config.
  • Run the application. The default username is 'admin' and the password is '123qwe'.

Be sure you have installed Typescript 2.0+ in Visual Studio because the Abp.Web.Resources NuGet package comes with d.ts and it requires Typescript 2.0+.

In this template, multi-tenancy is enabled by default. You can disable it in the Core project's module class if you don't need it.

https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template

原文地址:https://www.cnblogs.com/muxueyuan/p/12467262.html