.NET most popular Web application frameworks ABP ASP.NET CORE

.NET most popular Web application frameworks ABP ASP.NET CORE

 

Introduction

There are many excellent web development framework .NET, or should heat up ASP.NET Boilerplate - Web Application Framewor because ABP is a common development framework that can be used to develop web applications in a variety of scenarios, the development of energy just put in business you can, and front-end technology is also popular frameworks, as well as the ecological ABP is still good, there are companies in the maintenance, there are a lot of developers are maintenance, ASP.NET Boilerplate mentioned above at the same time supports the .NET Framework and .NET Core, is now very mature, used in many of the company's projects, there has been an iterative and maintenance, because Microsoft is vigorously pushing open source and cross-platform business, so the current .NET cORE is the core strength, all ABP ABP also introduced a framework for the next generation, which only supports ASP.NET cORE framework, fully cross-platform, coupled with the current iteration of the superior speed and performance of .NET cORE, ABP FOR ASP.NET CORE turn is a popular open source project.

Although for a long time I have invested in a large data ecology, but also has been concerned about the development of .NET development and ABP, and today saw the release came out at ABP has 1.0, has reached a level usable, so today to experience the next.

ABP (source code) FOR ASP.NET CORE https://github.com/abpframework/abp

Version: 1.0.2

Official website: ABP https://abp.io/

ABP is a complete architecture and powerful infrastructure for creating modern Web applications! Follow best practices and conventions, providing you with development experience SOLID

installation

The experience of the environment

Operating Systems - macOS High Sierra 10.13.6IDE - Rider 2019.2ABP 1.0.2.NET CORE SDK 3.0PostgreSQL 12Yarn v1.19 + Node v12 +

Installation ABP CLI

ABP ABP CLI is using new solution framework for the fastest way to start. Using the command line window installation ABP CLI:

dotnet tool install -g Volo.Abp.Cli

Create a new solution

abp new Kid.GitRMB 

You can use different levels of namespaces. For example BookStore, Acme.BookStore or Acme.Retail.BookStore. *

new commands using Entity Framework Core as a database provider to create a hierarchical MVC application. However, it also has other options. example:

# Use MongoDB as the database provider
abp new Kid.GitRMB -d mongodb

# Create a solution based on the tiered architecture
abp new Kid.GitRMB --tiered

# Create a module template
abp new Kid.GitRMB.Payment -t module

More abp CLI instructions, see CLI documentation

Use yarn installation package

cd /Users/kid/Project/GitRMB/src/Kid.GitRMB.Web // this is their project path 
yarn
.NET most popular Web application frameworks ABP ASP.NET CORE

 

Reference package

Because I want to use PostgreSQL, so the need to reference a packet, if the default MSSQL skip this step, if using MySQL, refers to the corresponding packet

.NET most popular Web application frameworks ABP ASP.NET CORE

 

And the code in the following two modifications

.NET most popular Web application frameworks ABP ASP.NET CORE

 

Modify the database connection strings

.NET most popular Web application frameworks ABP ASP.NET CORE

 

Open the configuration file at 1 and 2, FIG. 3 modified to address the character PostgreSQL default this is the MSSQL

Start creating database tables and initial data

.NET most popular Web application frameworks ABP ASP.NET CORE

 

  • FIG copy the file to the FIG. 1 appsetting.json 2
  • FIG delete file folder at 2 Migrations, because the default configuration is MSSQL class (if the default MSSQL skip this step)
  • Dotnet ef installation tool 1 dotnet tool install --global dotnet-ef
  • Cd command line in the file directory to FIG. 2 execute the following commands (if the default MSSQL skip this step) 1 dotnet ef migrations add InitialCreate

Configuration class for creating PostgreSQl

  • Right DbMigrator project, Run execution, to see whether at the end of the database tables and data already exists

Run .Web project

Because it is on macOS system, you need to choose to run the project

.NET most popular Web application frameworks ABP ASP.NET CORE

 

View page

The following figure appeared, explained that it had succeeded

.NET most popular Web application frameworks ABP ASP.NET CORE

 

The default account and password

​ admin

​ 1q2w3E*

to sum up

ABP FOR ASP.NET CORE is a very efficient and modern WEB development framework for .NET programmers is a good learning tool for project work and Behind will continue to constantly update and experience this version of ABP.

Recommended: Rider developed with .NET feeling very cool on macOS, which is cross-platform development using the Rider too cool.

 

Source: operators

Guess you like

Origin www.cnblogs.com/1994jinnan/p/12324621.html