Starts in:
2 DAYS
4 HRS
9 MIN
12 SEC
Starts in:
2 D
4 H
9 M
12 S
Open Closed

Plug-In Modules #2548


User avatar
0
shijo created
  • ABP Framework version: v5.103
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: An object accessor is registered before for type: Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
  • Steps to reproduce the issue: As per the attached documentation, I am not able to find any startup file in MVC. I tried to implement this code in my ApplicationModule class "ConfigureServices" method, but I am getting exceptions. Where exactly do I have to place this code in MVC ? *

2 Answer(s)
  • User Avatar
    0
    shijo created

    I placed the code in Program class Main Method, now its loading. await builder.AddApplicationAsync<PlugInPOCWebModule>(options => { options.PlugInSources.Add(new FolderPlugInSource( @"D:\POCs\MyPlugIns")); });

    The issue is all plugins are loading on program start, How do I load plugins dynamically and lazily?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    How do I load plugins dynamically and lazily?

    It not support now. You can create an issue on https://github.com/abpframework/abp/issues/new

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06