Open Closed

Creating New Project #10179


User avatar
0
Tuncay.Kurt created

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)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. 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
    1. 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.

  • User Avatar
    0
    Tuncay.Kurt created

    Please help with your support team

  • User Avatar
    0
    Tuncay.Kurt created

    Also, when I tried to create the project with ABP Suite, I couldn't use it. When I tried to reinstall it, I got the following error.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 03, 2025, 13:19
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.