Activities of "viswajwalith"

Hi

Steps to reproduce the issue

-installed Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX package to existing project (5.1.3 version ) -Deleted <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="5.1.3" /> reference in web Proj file -Deleted "using Volo.Abp.LeptonTheme.Management;" references from web module class files. -added this to web module class file "using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX;" -added "typeof(AbpAspNetCoreMvcUiLeptonXThemeModule)" in class file -removed all references related to old lepton theme like Bundling, Components and below reference @using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Content.Alerts @using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Content.BreadCrumb @using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Content.Title @using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Header @using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling

Basically we need to connect to SQL MI with managed identity, so thought of modifying the connection method to accommodate the same, but .Net 6 is having native support for the same so updating to Sql.Data.Client to 5.1 fulfilled our requirement.

Thanks for the support, I am closing the issue from my side.

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

We are trying to update to LeptonX from Lepton Theme, added all the necessary packages but still getting the below error ? any guidance to fix this out?

Hi,

Is this work for you? https://github.com/dotnet/efcore/issues/11928#issuecomment-673058635

Thanks for the link, We will check and get back to you with update

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

We have some custom requirement of passing the Token to the the SQL Connection while connection establishment. Can you please guide us where we can find the relevant override?

    SqlConnection connection = new SqlConnection();
    connection.ConnectionString = Configuration.GetConnectionString("defaultConnection");
    connection.AccessToken = authTokenService.GetToken().Result;
    

We are still checking will update you ASAP

Thanks, will give a try and update you. Thanks

Hi,

You can inject RabbitMqDistributedEventBus and AzureDistributedEventBus instead of IDistributedEventBus

but based on which condition it will pick the relevant one?

Also we we mentioned earlier If we are injecting both modules i.e. 'AbpEventBusRabbitMqModule' and 'AbpEventBusAzureModule' by default it's only picking RabbitMQ.

  • ABP Framework version: v5.1
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Micro Service)

We are able to use RabbitMQ & Service Bus as Distributed Event Bus Individually in our Microservice solution. But we would like to have a Switch between RabbitMQ or Service Bus based on tenant. Do we have any Resolver to do this out of the box?

If we are injecting both modules i.e. 'AbpEventBusRabbitMqModule' and 'AbpEventBusAzureModule' by default it's only picking RabbitMQ.

Is their any kind of extension method available for switching between Distributed Event Bus. Please advise.

Answer

hi

Add UserInformationReceived callback to debug and check the principal.

options.Events = new OpenIdConnectEvents() 
 
options.Events.UserInformationReceived = ... 

After changing the claim type from ABPClaimType to ClaimType it worked. Means some issue with the Key used.

var email = loginInfo.Principal.FindFirstValue(ClaimTypes.Email);

Thanks for the support.

Showing 41 to 50 of 228 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13