Hi, I want to create an Angular project in abp cli, but I've noticed that the aspnet-core folder contains layers that I won't use. The project template I want to create should look like this.
However, when the cli code is run, the output is as follows.

The CLI I'm running is as follows.
I don't think I need these layers. What's wrong?
3 Answer(s)
-
0
- Solution
What you see is expected. When you create an ABP application with Angular UI, the CLI generates:
- angular: the SPA front-end project.
- aspnet-core: a clean, layered backend (Domain, Application, HttpApi, HttpApi.Host, EF Core, DbMigrator, etc.).
Those “layers” are the standard ABP solution structure for a modular, maintainable backend. The Angular app consumes the backend APIs from the HttpApi.Host. Even if you don’t touch each C# project directly, they are required for a functional backend and for features like permissions, auditing, data seeding, migrations, etc.
If you want only an Angular front-end without ABP backend projects:
- ABP does not provide a “front-end-only” application template via abp new. The application template always includes the backend layers.
- Alternatives:
- Use the Module/Library approach if you only need an Angular library that you’ll integrate into an existing app (abp new MyCompany.MyModule -t module -u angular). This creates an Angular UI package (library) structure, not a full backend.
- Or generate only the Angular client by starting from a plain Angular app, then add ABP Angular packages and generate static proxies against an existing ABP backend (abp generate-proxy -t ng -u <backend-url>). This still assumes you already have (or point to) an ABP backend.
- If you already have a separate backend and don’t want the generated aspnet-core at all, you can delete the aspnet-core folder after creation and keep only the angular folder, then configure environment.apis.default.url to your existing API base URL.
Summary of recommended commands:
- Full app (Angular UI + Backend, what you used): abp new MyApp -u angular -d ef
- Angular module (library) template: abp new MyCompany.MyModule -t module -u angular
- Generate Angular proxies against an existing backend: abp generate-proxy -t ng -u https://localhost:443xx
- Sources
- Getting Started (Angular UI, EF Core, Non-tiered):
- https://abp.io/docs/latest/get-started?UI=NG&DB=EF&Tiered=No
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
Please help with your support team
-
0
