Book Image

Mastering ABP Framework

By : Halil İbrahim Kalkan
Book Image

Mastering ABP Framework

By: Halil İbrahim Kalkan

Overview of this book

ABP Framework is a complete infrastructure for creating modern web applications by following software development best practices and conventions. With ABP's high-level framework and ecosystem, you can implement the Don’t Repeat Yourself (DRY) principle and focus on your business code. Written by the creator of ABP Framework, this book will help you to gain a complete understanding of the framework and modern web application development techniques. With step-by-step explanations of essential concepts and practical examples, you'll understand the requirements of a modern web solution and how ABP Framework makes it enjoyable to develop your own solutions. You'll discover the common requirements of enterprise web application development and explore the infrastructure provided by ABP. Throughout the book, you’ll get to grips with software development best practices for building maintainable and modular web solutions. By the end of this book, you'll be able to create a complete web solution that is easy to develop, maintain, and test.
Table of Contents (24 chapters)
1
Part 1: Introduction
6
Part 2: Fundamentals of ABP Framework
11
Part 3: Implementing Domain–Driven Design
15
Part 4: User Interface and API Development
19
Part 5: Miscellaneous

EF Core integration

Microsoft's EF Core is the de facto ORM for .NET, with which you can work with major database providers, such as SQL Server, Oracle, MySQL, PostgreSQL, and Cosmos DB. It is the default database provider when you create a new ABP solution using the ABP command-line interface (CLI).

The startup template uses SQL Server by default. If you prefer another database management system (DBMS), you can specify the -dbms parameter while creating a new solution, like so:

abp new DemoApp -dbms PostgreSQL

SqlServer, MySQL, SQLite, Oracle, and PostgreSQL are directly supported.

Other Databases

You can refer to ABP's documentation to learn about up-to-date supported database options and how to switch to another database provider that the ABP CLI does not support out of the box: https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS.

In the next sections, you will learn how to configure the DBMS (although it is already done in the startup...