- Published on
Introduction to ABP No Layer Template
Table of Contents
Intro
ABP team released a new experimental app template with the name "app-nolayers". This is a minimal single project ABP application. They have removed all the DDD projects and provided a simple starting point. This will be helpful for the new developers who are trying out the ABP framework. Developers can learn the ABP framework without the DDD complexities.
Update the ABP CLI
Make sure you have recent version cli before creating the app. you can also use the following command to update the cli.
dotnet tool update -g Volo.Abp.Cli
Creating the No Layers app
To create the no layers app run the following command.
abp new Acme.BookStore -t app-nolayers
This will create the Bookstore app as a single project application.
Run the migrations
Navigate to the Acme.BookStore folder. Since this is the no-layers application there is no migrations project. To run the migration add the "--migrate-database" cli argument
dotnet run --migrate-database
This will add the migrations and seed the database for you. Database will add the admin user and the required permissions.
Running the app
To run the app use dotnet watch or dotnet run.
You will see a empty app running.
This app has all the modules of the normal abp application. you have IdentityServer configured as well.
Related Posts
Continue reading with these related articles
Building AI-Powered Sentiment Analysis with Microsoft Agent Framework and Ollama
Learn how to build sentiment analysis with Microsoft Agent Framework and Ollama. We will use the Ollama model to perform the sentiment analysis and the Microsoft Agent Framework to build the agent.
Building AI Agents with Microsoft Agent Framework and Ollama: A Getting Started Guide
Learn how to build sophisticated AI agents using Microsoft Agent Framework with Ollama for local AI model execution. This comprehensive guide covers streaming responses, multi-turn conversations, function tools, middleware integration, and production-ready patterns.
ABP React CMS Module: Building Dynamic Pages with Puck Editor
ABP React CMS Kit is a React UI for the ABP CmsKit module.