Activities of "maliming"

hi

You'd better do it the standard way, or you might have problems with microservices.

hi

the ClientProxyApiDescriptionFinder property of the class which is coming as null

Have you depended on the AbpHttpClientModule?

[DependsOn(typeof(AbpHttpClientModule))]

If you can share a project, we will confirm the problem as soon as possible. : )

hi

You can use IPermissionDefinitionManager to get all permission definitions.

hi

I will ask our angular team.

hi

Try this

@using AbpSolution1.Books
@using AbpSolution1.Permissions
@using Microsoft.AspNetCore.Authorization
@using Volo.Abp.AspNetCore.Components.Web.Security
@inherits Volo.Abp.AspNetCore.Components.AbpComponentBase
@inject IBooksAppService BooksAppService
@inject ApplicationConfigurationChangedService ApplicationConfigurationChangedService

@if(IsAuthorized)
{
    if (IsAnyBook)
    {
        <div class="bg-success w-100 d-flex justify-content-center align-items-center h-100">
            <b class="text-dark">
                Books available
            </b>
        </div>
    }
    else
    {
        <div class="bg-warning w-100 d-flex justify-content-center align-items-center h-100">
            <b class="text-dark">
                No Books
            </b>
        </div>
    }
}
else
{
     <div class="bg-danger w-100 d-flex justify-content-center align-items-center h-100">
        <b class="text-dark">
            Not Authorized
        </b>
    </div>
}

@code {

    private bool IsAuthorized { get; set; } = false;

    private bool IsAnyBook { get; set; } = false;

    private async Task LoadBooks()
    {
        try
        {
            GetBooksInput input = new GetBooksInput();
            var books = await BooksAppService.GetListAsync(input);
            IsAnyBook = books.Items.Any();
        }
        catch(Exception ex)
        {
            await HandleErrorAsync(ex);
            Console.WriteLine(ex.Message);
        }
    }

    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();

        ApplicationConfigurationChangedService.Changed += ApplicationConfigurationChanged;

        await InitComponentAsync();
    }

    private async Task InitComponentAsync()
    {
        var isAutheticated = CurrentUser.IsAuthenticated;
        IsAuthorized = await AuthorizationService.IsGrantedAsync(AbpSolution1Permissions.Books.Default);

        if (isAutheticated && IsAuthorized)
        {
            await LoadBooks();
        }
    }

    private async void ApplicationConfigurationChanged()
    {
        await InitComponentAsync();
        await InvokeAsync(StateHasChanged);
    }

}

hi

Where can I report BUGS directly for quality improvement of ABP STUDIO now on version 0.7.6 with many of the same issues as its predecessors?

https://abp.io/support/questions/6416/ABP-Studio-Bugs--Issues

Thanks.

hi

I see.

Can you try these two solutions?

1.

http://blog.rebuildall.net/2011/03/02/jQuery_validate_and_the_comma_decimal_separator

2.

https://github.com/dotnet/aspnetcore/issues/6566#issuecomment-1213584906

hi

The Oracle requires IsolationLevel must be ReadCommitted or Serializable

public override void ConfigureServices(ServiceConfigurationContext context)
{
    Configure<AbpOpenIddictStoreOptions>(options =>
    {
        options.DeleteIsolationLevel = IsolationLevel.ReadCommitted;
        options.PruneIsolationLevel = IsolationLevel.ReadCommitted;
    });
}

hi

Sorry. Our team is only familiar with MVC and Angular. We don't have experience with VUE.

hi

What errors did you get? Please share the error logs.

Showing 341 to 350 of 7729 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30