Activities of "cellero"

Question
  • ABP Framework version: v4.3.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): No

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.

  • ABP Framework version: v4.3.X
  • UI type / Blazor Web Assembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): / no

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

  • ABP Framework version: v4.1.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace: Error CS0103 The name 'xxxxxx' does not exist in the current context .....Web\Pages\OrderLines\CreateModal.cshtml.cs 35
  • Steps to reproduce the issue

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.

The downloads on this page are not woring: https://docs.abp.io/en/commercial/latest/samples/index

Also, the Easy CRM demo is not working. A 500 internal error is given. I experienced the same problem yesterday as well.

Showing 31 to 34 of 34 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35