Open Closed

Is there possibility to build all platforms in single code base using abp solution? #9865


User avatar
0
ecoms created

Hello,

I'm wondering is it possible to build all platforms with single abp solution?

I mean mobile (android, apple, windows), desktop (windows, mac) and web? :)

How sould vs solution would look like? Can i generate it?


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • Yes, ABP Framework supports building solutions that target multiple platforms (web, mobile, and desktop) from a single code base by leveraging its modular architecture and solution templates.

    • When you generate a new solution using the ABP CLI or ABP Suite, you can select options to include:

      • Web applications (MVC, Angular, Blazor, etc.)
      • Mobile applications (MAUI for Android, iOS, Windows, Mac; React Native)
      • Desktop applications (via MAUI for Windows and Mac)
    • The recommended approach is to use the "Layered" solution template, which allows you to include a mobile application (MAUI or React Native) fully integrated with your backend and other ABP modules. The solution structure will typically include:

      • A shared domain and application layer (business logic, DTOs, etc.)
      • Separate projects for each UI (Web, MAUI, etc.)
      • Shared backend (API, application, domain, infrastructure)
      • Each client (web, mobile, desktop) consumes the backend via HTTP APIs and ABP client proxies.
    • You can generate such a solution using the ABP CLI:

    abp new MySolution -t app-pro
    

    During the creation process, you can select to include MAUI (for mobile/desktop) and web UIs.

    • This approach enables you to share business logic and backend code, while implementing platform-specific UIs as needed.

    Sources:

    • https://abp.io/docs/latest/solution-templates/layered-web-application/overview
    • https://abp.io/community/articles/em7x1s8k

    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
    ecoms created

    How would solution projects would look like exactly?

    and how to generate such solution?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Do you mean your web app as an API website that is consumed by your Mobile and desktop apps?

    Thanks.

  • User Avatar
    0
    ecoms created

    Hello Maliming, i'm looking for solution where we have API and single app which covers multiple platforms (mobile, desktop, web). Would it be possible to achieve with ABP tools?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    ABP is an ASP.NET Core backend framework. And the ABP Studio template supports mobile app options.

    What is the architecture/Technical selection of your mobile and desktop?

    Thanks.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30