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)
-
0
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?
-
0
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