Activities of "maliming"

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.

hi

https://github.com/RickIsWright/GranTrakv4a/pull/1

Many thanks. 🙏

hi

Can you share an online URL to reproduce the problem?

hi

Can you share your release app?

I will try to change it on my local.

liming.ma@volosoft.com

Showing 3261 to 3270 of 10645 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20