Starts in:
2 DAYS
20 HRS
3 MIN
23 SEC
Starts in:
2 D
20 H
3 M
23 S

Activities of "drenton"

Hi @liangshiwei

I tried to use the provier too, but it does not work either. [It seems it just catches the same token, so I don't have to provide it in all the method]

Can you give me an example that show how to cancel a task from blazor razor view?

Thanks.

  • ABP Framework version: v4.3.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi there,

I'm trying to use CancellationToken for long running task, I cannot make it work in AppService. but it works well on my local api calls.

protected override async Task OnInitializedAsync()
{
    cts.CancelAfter(2000);//To test CancellationToken
    //Below cancellation work well. 
    //forecasts = await Http.GetFromJsonAsync<WeatherForecast[]>("https://localhost:44320/WeatherForecast/", cts.Token);
    
    //This does not work.
    var pageResult = await CallsAppService.GetListAsync(new GetCallsInput { }, cts.Token);
    Calls = pageResult.Items;
}

This is my GetListAsync from CallsAppService

public virtual async Task<PagedResultDto<CallDto>> GetListAsync(GetCallsInput input, CancellationToken ct = default)
{
    Thread.Sleep(3000);//On purpose to test CancellationToken
    var totalCount = await _callRepository.GetCountAsync(input.FilterText, input.Number, ct);
    var items = await _callRepository.GetListAsync(input.FilterText, input.Number, input.Sorting, input.MaxResultCount, input.SkipCount, ct);

    return new PagedResultDto<CallDto>
    {
        TotalCount = totalCount,
        Items = ObjectMapper.Map<List<Call>, List<CallDto>>(items)
    };
}

This is my CallController

[HttpGet]
public virtual Task<PagedResultDto<CallDto>> GetListAsync(GetCallsInput input, CancellationToken ct = default)
{
    return _callsAppService.GetListAsync(input, ct);
}

I cleared the cache, but it still happens.

I downloaded the new template[4.3.0] and only created the customer model with abp suite.

First time when I open a modal, it goes to 1. when I close it, it goes to 0 but when I navigate to other menus, it's decreased by 2 every time.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

1.Create a model with 15+ properties. e.t.c Customer model with 15 properties. 2. Click New Customer to open Modal window.[The first time, the vertical scroll works well] 3. Close Modal 4. Click New User [or something else that has few properties] 5. Close Modal. 6. Click New Customer again. [This time the vertical scroll bar does not work propelry]

OK I found it under Saas - Tenants - Manage Host features!

Thanks.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

<br> I'd like to enable Ldap login with Blazor template but I cannot find Features menu.

<br>

@maliming I followed the documentation and got this page.

I'd also like to remove language selection, but it's from another souce code. How can I achive this?

Thanks.

I could manage this by following below link.

https://support.abp.io/QA/Questions/550/Why-are-there-no-Startupcs-and-Apprazor-files-in-an-abpio-Blazor-project

But the references in the LeptonTheme module does not seem working correctly at first. I had to remove "project" references in identityserver project then I added packages from ABP Cumercial Nnuget Server.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): No
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi,

I'd like to use a open source [https://github.com/Blazored/Modal] in my project. To use it, I need to use below code.

<CascadingBlazoredModal>
    <Router AppAssembly="typeof(Program).Assembly">
        ...
    </Router>
</CascadingBlazoredModal>

Some open soures need to be added into "Main" page, how can I handle this?

Thanks.

Showing 11 to 20 of 24 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06