Open Closed

Possible to extract ABP (SERVER) module into azure functions or other external application or project #1679


User avatar
1
jward01 created

Hello!

My question is regarding is it possible to take code which is developed using ABP framework into an external application which is not an ABP framework application.

Summary of Question:

I am developing many ABP modules which i plan to use in one or many ABP applications and or microservices.

For sake of discussion, these ABP modules are only server side and have no UI attached to them.

Is it possible to use the Application / Domain / Entity Framework code (everything except the API layer) in external non-ABP applications?

Custom Module Example:

Module Name: My.Module.Products

Purpose of Module: To easily provide CRUD operations and database entries for product entries. By using this Module my SQL tables for products are automatically created, and CRUD operations are also included. This allows me to build applications quicker by "plugging in" this Product Oriented Logic.

Scenerio

At some point in the future for unforseen reasons I may want to use my ABP modules in an application outside the ABP framework.

Such as I can develop an Azure Function API and then install the nuget package(s) developed in the ABP Module in this non-ABP azure function project?

Questions:

  1. is this possible? can i compile many ABP Module projects into a single nuget package and run this in my Azure Function project without error?

  2. how would i achieve the above scenerio? is it possible?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Is it possible to use the Application / Domain / Entity Framework code (everything except the API layer) in external non-ABP applications?

    I think this is difficult. The abp framework is modular. The application must boot the module.

    https://docs.abp.io/en/abp/latest/Module-Development-Basics

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38