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.
After generating a Blazor Server Project "abp new test -u blazor-server" ( with 4.3.0-rc.2 ) the project is created, but cannot be used by Abp Suite. When the Crud Page Generator is opened follwing error occurs:
I am experiencing the same issue when creating project using ABP Suite. (with 4.3.0-rc.2).
Ok ignore my question about separation.
Just point me to the documentation for the deployment of Blazor Web Assembly to IIS.
Thanks, Roger
Can you please provide a link to deployment of Blazor Web Assembly application. Deployment to IIS. Specifically the two deployments required. One for the API and one for the Blazor App.
Is it possible to deploy a combined instance? I.e. no need for API seperation.
Many thanks, Roger
When creating OrderLine entity that has a Navaigation to Order the build fails. The error occurs in CreateModal.cshtml.cs with lookup to the Order. The problem is "xxxxxx" in the OrderLookup. The xxxxxx text is automatically generated by CRUD abp suite. See below:
public async Task OnGetAsync()
{
OrderLine = new OrderLineCreateDto();
OrderLookupList.AddRange((
await _orderLineAppService.GetOrderLookupAsync(new LookupRequestDto
{ xxxxxx
MaxResultCount = LimitedResultRequestDto.MaxMaxResultCount
})).Items.Select(t => new SelectListItem(t.DisplayName, t.Id.ToString())).ToList()
);
await Task.CompletedTask;
Severity Code Description Project File Line Suppression State Error CS0103 The name 'xxxxxx' does not exist in the current context .....Web\Pages\OrderLines\CreateModal.cshtml.cs 35 Active
This occurs on a new project built entirely on Version 4.1.
Can I have an update on this issue please.