You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
但是要在继承了ServiceBase 的服务类里设置 minimal api 的分组,那么全局的配置都要重新配置一遍,否则就会覆盖,是否可以增加一个通用配置项,相当于基类配置,然后具体的服务增加的配置,在这个基类配置上增加,而不是覆盖?
.NET version
No response
MASA Framework version
No response
The text was updated successfully, but these errors were encountered:
ByZhouhang
changed the title
之前类似于Panda.DynamicWebApi ,这种不用写控制器层,支持在服务上标注 [Authorize] [TypeFilter(typeof(UnifiedApiResultFilter))] ,希望提供入口支持配置
关于RouteHandlerBuilder 配置的一点想法
Oct 15, 2024
Description
比如我全局配置了: options.RouteHandlerBuilder= t=>t.RequireAuthorization().AddEndpointFilter();
但是要在继承了ServiceBase 的服务类里设置 minimal api 的分组,那么全局的配置都要重新配置一遍,否则就会覆盖,是否可以增加一个通用配置项,相当于基类配置,然后具体的服务增加的配置,在这个基类配置上增加,而不是覆盖?
.NET version
No response
MASA Framework version
No response
The text was updated successfully, but these errors were encountered: