abp
abp copied to clipboard
Not Suport Controller for inherit from DevExpress.DashboardAspNetCore.DashboardController
Is there an existing issue for this?
- [x] I have searched the existing issues
My Controller
namespace RsoDashborad.Web.Controllers
{
public class DefaultDashboardController : DashboardController
{
public DefaultDashboardController(DashboardConfigurator configurator, IDataProtectionProvider dataProtectionProvider = null)
: base(configurator, dataProtectionProvider)
{
}
}
}
Not Support Controller for inherit from DevExpress.DashboardAspNetCore.DashboardController in abp system.
Executing controller action with signature Microsoft.AspNetCore.Http.IResult Test() on controller RsoDashborad.Web.Controllers.DefaultDashboardController (RsoDashborad.Web.Mvc).
ERROR 2025-04-30 15:12:47,401 [5 ] Mvc.ExceptionHandling.AbpExceptionFilter - No component for supporting the service RsoDashborad.Web.Controllers.DefaultDashboardController was found
Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service RsoDashborad.Web.Controllers.DefaultDashboardController was found
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
v13.4.1
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
hi
Try to add your DevExpress controller to DI system
context.Services.AddTransient< DefaultDashboardController>();
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.