Version: 4.3.2 Blazor Server with EF. A DataGrid has a single EntityAction in DataGridEntityActionsColumn as per the razor code below. With a single action the button should show as a single button instead of a Button with dropdown, but it continues to show as a drop down.
Please advise how to show a Entity Action as a single button without a drop down.
<DataGridEntityActionsColumn TItem="ClientWithNavigationPropertiesDto" @ref="@EntityActionsColumn">
<DisplayTemplate>
<EntityActions TItem="ClientWithNavigationPropertiesDto" EntityActionsColumn="@EntityActionsColumn">
<EntityAction TItem="ClientWithNavigationPropertiesDto"
RequiredPolicy="@ABcrmPermissions.Clients.Create"
Clicked="() => NavigateToClientDetailPage(context.Client.Id)"
Text="@L["Details"]"></EntityAction>
</EntityActions>
</DisplayTemplate>
</DataGridEntityActionsColumn>
When menus are set to top on the Lepton theme there is a lot of wasted space. See image below. Can you provide advice on removing the area marked up on the image.
The screen shot was taken from https://leptontheme.com/Layouts/Application/Dashboard/Dashboard so the issue is not UI Type dependent.
Thank you maliming. Brilliant service!
IIS Websockts protocol was not installed.
Persmisions inlucde the 4 items being reported in the log file:
PermissionRequirement: SettingManagement.Emailing 2021-05-05 18:38:20.583 +12:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement 2021-05-05 18:38:20.583 +12:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement 2021-05-05 18:38:20.584 +12:00 [INF] Request starting HTTP/2 GET xxxxx_blazor?id=tXRuciT8LYtnmSzH2hJazQ&_=1620196700580 text/plain;charset=UTF-8 - 2021-05-05 18:38:20.584 +12:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings
A browser refresh does not help. However if I put a know page into URL path other error message are given:
Log:
2021-05-05 17:34:48.868 +12:00 [WRN] Unhandled exception rendering component: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy)
at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context)
at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper)
at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Cellero.ABcrm.Blazor.Pages.Clients.GetNullableClientGroupLookupAsync(String newValue) in E:\github\Cellero.ABCRM\src\Cellero.ABcrm.Blazor\Pages\Clients.razor.cs:line 189
at Cellero.ABcrm.Blazor.Pages.Clients.OnInitializedAsync() in E:\github\Cellero.ABCRM\src\Cellero.ABcrm.Blazor\Pages\Clients.razor.cs:line 63
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
2021-05-05 17:34:48.868 +12:00 [ERR] Unhandled exception in circuit 'VgxvaqBgRt4nxZB2ZgclRnnF0AteR0yGH8E6W6LxDOg'.
Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy)
at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context)
at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper)
at Volo.Abp.Auditing.AuditingInterceptor.ProcessWithNewAuditingScopeAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, ICurrentUser currentUser, IAuditingManager auditingManager, IAuditingHelper auditingHelper)
at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Cellero.ABcrm.Blazor.Pages.Clients.GetNullableClientGroupLookupAsync(String newValue) in E:\github\Cellero.ABCRM\src\Cellero.ABcrm.Blazor\Pages\Clients.razor.cs:line 189
at Cellero.ABcrm.Blazor.Pages.Clients.OnInitializedAsync() in E:\github\Cellero.ABCRM\src\Cellero.ABcrm.Blazor\Pages\Clients.razor.cs:line 63
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
Log files gives this information:
Authorization failed. These requirements were not met:PermissionRequirement: SettingManagement.Emailing
Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement
Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement
Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings
More log file transcations
2021-05-04 20:40:14.840 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.840 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614819 text/plain;charset=UTF-8 - - 200 3 application/octet-stream 18.4748ms
2021-05-04 20:40:14.851 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614846 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.868 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.870 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 598
2021-05-04 20:40:14.881 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:14.885 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.885 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.885 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 598 - 200 - text/plain 15.4742ms
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: SettingManagement.Emailing
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpAccount.SettingManagement
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpIdentity.SettingManagement
2021-05-04 20:40:14.889 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: LeptonThemeManagement.Settings
2021-05-04 20:40:14.892 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.892 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614846 text/plain;charset=UTF-8 - - 200 29 application/octet-stream 41.4677ms
2021-05-04 20:40:14.903 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614897 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.920 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.920 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.920 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614897 text/plain;charset=UTF-8 - - 200 73 application/octet-stream 17.2856ms
2021-05-04 20:40:14.930 +12:00 [INF] Authorization was successful.
2021-05-04 20:40:14.936 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 44
2021-05-04 20:40:14.943 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614929 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.947 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:14.950 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.950 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.951 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 44 - 200 - text/plain 14.6228ms
2021-05-04 20:40:15.008 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.008 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.009 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614929 text/plain;charset=UTF-8 - - 200 14998 application/octet-stream 66.0756ms
2021-05-04 20:40:15.028 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615026 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.028 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 52
2021-05-04 20:40:15.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - -
2021-05-04 20:40:15.049 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 - -
2021-05-04 20:40:15.049 +12:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 was not modified
2021-05-04 20:40:15.049 +12:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 was not modified
2021-05-04 20:40:15.049 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 - - - 304 - font/woff2 0.4535ms
2021-05-04 20:40:15.049 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - -
2021-05-04 20:40:15.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - - - 304 - font/woff2 1.3382ms
2021-05-04 20:40:15.050 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/images/logo/logo-light.png - -
2021-05-04 20:40:15.050 +12:00 [INF] The file /libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 was not modified
2021-05-04 20:40:15.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - - - 304 - font/woff2 0.7214ms
2021-05-04 20:40:15.053 +12:00 [INF] Sending file. Request path: '/images/logo/logo-light.png'. Physical path: 'C:\inetpub\wwwroot\ABcrm\wwwroot\images\logo\logo-light.png'
2021-05-04 20:40:15.053 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/images/logo/logo-light.png - - - 200 1957 image/png 3.5958ms
2021-05-04 20:40:15.061 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.092 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.094 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.095 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.098 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 52 - 200 - text/plain 69.3043ms
2021-05-04 20:40:15.099 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.099 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615026 text/plain;charset=UTF-8 - - 200 251 application/octet-stream 71.3870ms
2021-05-04 20:40:15.116 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 70
2021-05-04 20:40:15.117 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615113 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.126 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.129 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.129 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.129 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 70 - 200 - text/plain 13.0847ms
2021-05-04 20:40:15.135 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.135 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.136 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615113 text/plain;charset=UTF-8 - - 200 617 application/octet-stream 18.3653ms
2021-05-04 20:40:15.146 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 158
2021-05-04 20:40:15.146 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615143 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.158 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.160 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.161 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.161 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.162 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 158 - 200 - text/plain 15.9733ms
2021-05-04 20:40:29.157 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryfLaibCWxWtLQHphv 359
2021-05-04 20:40:29.173 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:29.173 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615143 text/plain;charset=UTF-8 - - 0 - - 14026.6919ms
2021-05-04 20:40:29.179 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:29.198 +12:00 [INF] Executing endpoint 'Blazor disconnect'
2021-05-04 20:40:29.198 +12:00 [INF] Executed endpoint 'Blazor disconnect'
2021-05-04 20:40:29.198 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryfLaibCWxWtLQHphv 359 - 200 - - 41.5425ms
Hopefully this is a simple question. I need a list of App Users in a role in .razor.cs.
I can get this for the Current User is ok like this: @using Volo.Abp.Users @inject ICurrentUser CurrentUser .... bool isAdmin = CurrentUser.IsInRole("admin");
Can you please provide some sample code has to how to get a List<AppUser>()
Thank you.