Home  >  Article  >  Backend Development  >  ABP Getting Started Series (2) - Creating MAP version projects through templates

ABP Getting Started Series (2) - Creating MAP version projects through templates

黄舟
黄舟Original
2017-01-16 17:20:401930browse

1. Create a template project from the official website

Enter the official website to download the template project

Select according to the picture below:

ABP Getting Started Series (2) - Creating MAP version projects through templates

Input verification Code starts downloading

ABP Getting Started Series (2) - Creating MAP version projects through templates

Download prompt:

ABP Getting Started Series (2) - Creating MAP version projects through templates


2. Start the project

Use VS2015 to open the project and restore the Nuget package:

ABP Getting Started Series (2) - Creating MAP version projects through templates

Set the project ending with Web and set it as the startup project:

ABP Getting Started Series (2) - Creating MAP version projects through templates

Open Web.config and modify the connection string. (Because the instance of my locally installed sqlserver is .sqlexpress, I need to manually modify the server.)

ABP Getting Started Series (2) - Creating MAP version projects through templates

Open the package manager console and select the project ending with EntityFramework. And execute Update-Database to create the database.

ABP Getting Started Series (2) - Creating MAP version projects through templates

ABP Getting Started Series (2) - Creating MAP version projects through templates

Ctrl+F5 to run, use the account admin/123qwe, leave the Tenancy name blank, and log in.

ABP Getting Started Series (2) - Creating MAP version projects through templates

At this point, the ASP.NET MVC version of the MPA website project has been successfully created using the ABP template.
The source code has been uploaded to Github-LearningMpaAbp, you can refer to it yourself.
ABP Getting Started Series Directory - Practical Exercises for Learning the Abp Framework

The above is the content of the ABP Getting Started Series (2) - Creating a MAP version project through a template. For more related content, please Follow the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn