How to add a module that I created using ABP Suite in one solution to a different solution. * ABP Framework version:7.2.1
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
6 Answer(s)
-
0
Hi,
Suite doesn't support this, you need to add your module to solution manually
-
0
I need to know how I can manually add it to another solution. After integrating it into the new solution, can I modify it using a suite or not?
-
0
can I modify it using a suite or not?
Of course, you can.
-
0
Add Module's
Application
project reference to another solution'sApplication
project.And configure the module dependencies
[DependsOn( ..... typeof(ModuleApplicationModule) )] public class AnotherSolutionApplicationModule : AbpModule { }
Do the same thing above for other projects(
Application.Contract
,Domain
,Domain.Shared
,EntityFrameworkCore
,HttpAPi
,HttpApi.Client
...)Config EntityFrameworkcore project
public class AnotherSolutionDbContext: ... { protected override void OnModelCreating(ModelBuilder builder) { builder.ConfigureModule(); } }
-
0
What about the frontend side (Angular)? Will it be generated automatically or what?
-
0
Hi,
There two ways to add Angular part.
- Publish angular code to NPM or NPM npm server, Then install it via NPM package
- Copy code to the another solution's Angular project.
Config the Angular module, you can refer to : https://docs.abp.io/en/commercial/latest/modules/chat#angular-ui