Starts in:
1 DAY
23 HRS
19 MIN
39 SEC
Starts in:
1 D
23 H
19 M
39 S

Activities of "neethucp"

Hi, we need to refresh the blazor menu items after the current user role is updated. After the user role is updated, we are invoking ICurrentApplicationConfigurationCacheResetService ResetAsync method to reset the cache and call Challenge method as mentioned in this link. https://support.abp.io/QA/Questions/5537/Refresh-Token-in-Blazor-Server-App. It was working till abp v8.0.0 update. After updating abp to v8.0.0, the menu items are no longer getting refreshed. Can you please guide us on what has changed and how to fix this issue?

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are trying to integrate OData using https://github.com/mongodb/mongo-aspnetcore-odata package. We need to return an IQueryable and not list.

If we use (dbContext.Collection<LicenceParty>().AsQueryable()) instead of ((await GetMongoQueryableAsync<LicenceParty>())), it fixes the error, but not sure on how to apply the data filters.

I have provided the sample for brevity, but this will be a more complex query with multiple joins like licence party joined to Party etc. We have tried a few methods but was getting error in the query.

  • ABP Framework version: v7.4.0
  • UI Type: Blazor Server
  • Database System: MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are getting the following when trying to join collections.

                    from licence in (await GetMongoQueryableAsync&lt;Licence&gt;())
                    join licenceParty in ((await GetMongoQueryableAsync&lt;LicenceParty&gt;())) on licence.Id equals licenceParty.LicenceId into licenceParties
                    select new { licence, licenceParties };

Expression not supported: LicenceParties.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)) in Licences.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)).GroupJoin(LicenceParties.Aggregate([]).Where(e => (Convert(e, ISoftDelete).IsDeleted == False)).Where(e => (Convert(e, IMultiTenant).TenantId == 1841fe4f-3eef-8282-6391-3a0e5870cd67)), licence => licence.Id, licenceParty => licenceParty.LicenceId, (licence, licenceParties) => new <>f__AnonymousType0`2(licence = licence, licenceParties = licenceParties)) because inner expression is not an IMongoQueryable representing a collection.

That worked. Thank you so much.

Thank you so much for the response. We have a blazor server application, so we don't have access to httpcontext in razor components. So not sure on from where we have to invoke the Challenge method.

Hi,

We are trying to implement a feature where in the user role is updated when the user accepts the terms and conditions after login. After the user accepts the terms and conditions, the user will have to see additional menu items. We already have refresh token enabled for the client application but is unsure on how to refresh the token from blazor server manually and store it so that the token is used in the subsequent requests. Can you please provide some guidance on how to refresh the token in blazor server app?

  • ABP Framework version: v7.3.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Serve)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

We are getting "Object Disposed Exception" when we click a menu item before the current menu item page is fully loaded.

Cannot access a disposed object.

at Microsoft.AspNetCore.Components.OwningComponentBase.get_ScopedServices() at Volo.Abp.AspNetCore.Components.AbpComponentBase.get_CurrentTenant()

Can you please provide a solution to fix this?

ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

Hi,

We are seeing multiple api calls to configuration and localization endpoints after configuring Azure SignalR in Blazor Server Application. I assume it is invoked each time we try to access a localisation text or add a permission check in the app. Please help to fix.

/api/abp/application-localization?CultureName=en&OnlyDynamics=True&api-version=1.0 /api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0

Thanks

ABP Framework version: v7.2.2 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

Hi,

It's working now. Thank you

We are just trying to deploy Blazor Server App to Azure and want to use Azure Signal R Service.

"We recommend using the Azure SignalR Service for Blazor Server apps. The service works in conjunction with the app's Blazor Hub for scaling up a Blazor Server app to a large number of concurrent SignalR connections."

https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/server?view=aspnetcore-7.0#azure-signalr-service

The connection is working fine. The only issue is that the menu items with permission do not appear in the application.

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