Base solution for your next web application
Open Closed

Few questions #4467


User avatar
0
gunpal5 created

Hello,

I have few questions:

  1. I need to code my application services in different module than provided with startup project. So, can I call CreateControllersForAppServices function multiple times for different application modules to create controllers for my application services, like this:
Configuration.Modules.AbpAspNetCore()
                .CreateControllersForAppServices(
                    typeof(MyApplicationModule).GetAssembly()
                );
 Configuration.Modules.AbpAspNetCore()
                .CreateControllersForAppServices(
                    typeof(MyApplicationModule2).GetAssembly()
                );
Configuration.Modules.AbpAspNetCore()
                .CreateControllersForAppServices(
                    typeof(MyApplicationModule3).GetAssembly()
                );
  1. Can I create my application services with open source abp boilerplate and integrate them to aspnetzero api project?

What I am trying to do here is create 3 different domains for my application which will handle different concerns for my application.

Thanks, Gunpal Jain


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @gunpal5,

    Yes, you can do that. You just need to depend on your custom modules from your AspNet Zero app.