Activities of "mgurer"

  • ABP Framework version: v8.2
  • UI Type: Blazor WebApp
  • Database System: EF Core (SQL Server..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello,

I have created a new microservice project using the command below;

abp new BookStore -t microservice-pro -u blazor-webapp

The solution created successfully and there exists two projects in solution named BookStore.Blazor and BookStore.Blazor.Client

I also checked the following documentation;

https://docs.abp.io/en/abp/8.2/Migration-Guides/Abp-8-2-Blazor-Web-App#create-a-new-blazor-web-app

There is no project named xxx.Blazor.WebApp and xxx.Blazor.WebApp.Client as described in the document.

I assumed that xxx.Blazor.WebApp is the BookStore.Blazor project and xxx.Blazor.WebApp.Client is the BookStore.Blazor.Client in my solution. I tried to apply the steps described in the document depending on this assumption.

The steps described in the document does not seem to fit the files in the blazor projects in my solution.

For example there is no XXModule.cs in the BookStore.Blazor project but the document expects me apply some changes in the file.

So I applied the changes in client project. But for my oppinion, in the BookStore.Blazor.Client/BookStoreBlazorClientModule I expect the steps to be already applied as in the document since I have created a new microservice solution, there should be no migration need as described in document. I tried to apply the steps to this document, added PreConfigureServices method, altered ConfigureAuthentication, ran the abp bundle command, altered App.razor to share the access;_token etc.

The result is failure. These are the errors in console, when I tried to launch Blazor app in the chrome browser.

1 * Uncaught ReferenceError: bootstrap is not defined at 306 (VM63 global.js:39:71902) at n (VM63 global.js:39:72011) at 12 (VM63 global.js:39:19279) at n (VM63 global.js:39:72011) at 848 (VM63 global.js:39:32941) at n (VM63 global.js:39:72011) at 524 (VM63 global.js:39:18999) at n (VM63 global.js:39:72011) at VM63 global.js:39:72378 at VM63 global.js:39:72396

2 * crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'resetLeptonXToolbar' ('resetLeptonXToolbar' was undefined). Error: Could not find 'resetLeptonXToolbar' ('resetLeptonXToolbar' was undefined). at https://localhost:44307/_framework/blazor.web.js:1:734 at Array.forEach (<anonymous>) at l.findFunction (https://localhost:44307/_framework/blazor.web.js:1:702) at b (https://localhost:44307/_framework/blazor.web.js:1:5445) at https://localhost:44307/_framework/blazor.web.js:1:3238 at new Promise (<anonymous>) at y.beginInvokeJSFromDotNet (https://localhost:44307/_framework/blazor.web.js:1:3201) at Object.ri [as invokeJSJson] (https://localhost:44307/_framework/blazor.web.js:1:165152) at https://localhost:44307/_framework/dotnet.runtime.8.0.6.qp5p9if9yx.js:3:178364 at Tl (https://localhost:44307/_framework/dotnet.runtime.8.0.6.qp5p9if9yx.js:3:179198) Microsoft.JSInterop.JSException: Could not find 'resetLeptonXToolbar' ('resetLeptonXToolbar' was undefined). Error: Could not find 'resetLeptonXToolbar' ('resetLeptonXToolbar' was undefined). at https://localhost:44307/_framework/blazor.web.js:1:734 at Array.forEach (<anonymous>) at l.findFunction (https://localhost:44307/_framework/blazor.web.js:1:702) at b (https://localhost:44307/_framework/blazor.web.js:1:5445) at https://localhost:44307/_framework/blazor.web.js:1:3238 at new Promise (<anonymous>) at y.beginInvokeJSFromDotNet (https://localhost:44307/_framework/blazor.web.js:1:3201) at Object.ri [as invokeJSJson] (https://localhost:44307/_framework/blazor.web.js:1:165152) at https://localhost:44307/_framework/dotnet.runtime.8.0.6.qp5p9if9yx.js:3:178364 at Tl (https://localhost:44307/_framework/dotnet.runtime.8.0.6.qp5p9if9yx.js:3:179198) at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileWasmNavbar.SetMenuAndProfileAsync() at Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileNavbar.OnInitializedAsync() at Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation.MobileWasmNavbar.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

3 *

blazor.web.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'initLeptonX' ('initLeptonX' was undefined). Error: Could not find 'initLeptonX' ('initLeptonX' was undefined). at https://localhost:44307/_framework/blazor.web.js:1:734 at Array.forEach (

I guess the steps in the migration document is not properly applicable for microservice projects.

So, how can I test the blazor-webapp in microservice projects?

Thanks Murat Gürer

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, PostgreSQL..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hi there.

We are using abp framework microservice template and we already have about 20 microservices. Postgresql is our db system. When there are 1000+ active users, microservices loses connection to administration db. We face db timeouts on administration db, and microservices stops responding when connection to administration db fails. We have optimized the indexes on tables so that cpu, ram etc. compsumptions seem stable on db server, still we could not fix the timeout on administration db. The index usage on db seems fine (especially on administration db), and table scan on queries almost never occur. Queries takes the advantage of indexes on tables. There are more than 500K users on identity users table. OpenIdTokens, AuditLogs, PermissionGrants tables have almost 1.5M rows (each).

Do you have any suggestions to optimize the application on high load? Especially authserver and administration services fails to respond on high load. Because the identity, saas and administration microservices and databases are core essential part of the framework, we are somehow can not figure out why this core elements stuck on high load. We are also ready to purchase a detailed technical assistance from Abp team if possible.

We will be glad for any assistance.

Thanks Murat Gürer

  • ABP Framework version: v7.4.2
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL) /
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hello, is there a way to pass active theme name between ui app and auth server. When I select dark theme in blazor admin ui and click the login button, the page redirects to auth-server ui where light theme is selected. My client asks if the selected theme can be preserved between ui apps. Are there built in solution for this request?
  • ABP Framework version: v7.4.1
  • UI Type: Blazor
  • Database System: PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hello, I have a vue client app and I use authserver with authorization_code flow to authenticate my users. I want to synchronise active language between these apps. I want to pass the active language code to authserver and set the current language and also when I switch the active language on authserver side, I want to transfer the new language to vue app after authentication completes. Maybe I may add an extra parameter to redirect url, but I could not figure out how to do that. Can you help for that? This synchronisation issue also exists between built in blozor ui app and auth-server too. Thanks.

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.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.3.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Hello, when an multitenant entity is saved, tenantId property is automatically set to currentusers' tenantId value. If I manually set the tenantId property of the entity to a predefined one, framework does not change the value. I would like see the source code of that behavior. I downloaded the source code, and try to find code of that mechanism, but could not figure out the relates codes. Can you please tell me where to look at? I want to see related codes. Thanks.
  • ABP Framework version: v7.2.1
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes (commecial micro services)
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hello, I want to get user access token using password flow. When I post data (client_id,client_secret,grant_type,username,sope,password) to /connect/token endpoint of authserver, I successfuly get access token of the user for the host site. But I could not figure out how to get access_token for the tenant site. Is there any way to get access token by providing tenant_id using password-flow? Thanks.
  • ABP Framework version: v7.0.2
  • UI type: MVC & Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • Hi, I have just created two pro-microservice-projects using mvc and blazor pro templates and run the applications without any change.
  • The blazor and MVC version of the apps differs;
  • There is a payment left menu on MVC version and it is missing on blazor version. (I event tested with same database, two ui somehow differs)
  • On MVC version, security logs page is always empty without any data, and blazor version lists data.

I need to access payment menu on blazor app and I can't figure out what is the difference between two startup templates. I dont understand why mvc template does not show any security log line.

Can you help? Regards

  • ABP Framework version: v7.0.1

  • 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:" Hi I have just updated abp cli to v7.0.1

    Hi, I have created a new micro-service solution. abp new Demo -t microservice-pro -u mvc.

    When I try to restore packages using command "dotnet restore" in the solution root folder, no commercial package can be restored successfully.

    I have checked the nuget package sources, and following entry exists; source:https://nuget.abp.io/{my_private_key}/v3/index.json name:ABP Commercial NuGet Source

    Here are some error messages I get;

PS F:\Abp\Demo> dotnet restore Determining projects to restore... F:\Abp\Demo\services\product\src\Demo.ProductService.Domain.Shared\Demo.ProductService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual St udio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\product\src\Demo.ProductService.Application\Demo.ProductService.Application.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Saas.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Package s, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\product\src\Demo.ProductService.Domain\Demo.ProductService.Domain.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline P ackages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Payment.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Pack ages, nuget.org [F:\Abp\Demo\Demo.sln] Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Domain.Shared\Demo.ProductService.Domain.Shared.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Domain\Demo.ProductService.Domain.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Application\Demo.ProductService.Application.csproj (in 1.49 sec). F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Vi sual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.OpenIddict.Pro.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microso ft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Micro soft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.OpenIddict.Pro.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Mic rosoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Vis ual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] . . .

Regards Murat Gürer

  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"Hi, I am using microservices pro template and upgraded my project to use openiddict. I want to be able to set different token expiration values for each open-id application when using client-credentials flow. Some global values are set in auth-server/*module.cs but it is not suitable for my case. Here there is a suggested solution, but I cant figure out where to implement it; https://stackoverflow.com/questions/42442109/is-there-a-way-to-have-different-ticket-expiry-lengths-in-openiddict . I will be glad if you have any suggestions. Thanks.
  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: token endpoint accept-language header is ignored.
  • Steps to reproduce the issue
  • Hello

I have created a new demo app with following command; abp new CoMed -t microservice-pro -u blazor

I added a new openid application named demo with password 123456 and enabled all scopes. I altered demo application to accept passwrod, clientcredentials and refresh token flows.

I finally tried https://localhost:44322/connect/token end point with password flow. I used demo as client id and admin as username. I typed client password wrong to see the error message. I got "Invalid username or password!" error. I added "Accept-Language" header with value "tr". I tried again and error message is not localized.

Token endpoint ignores the accept-language header.

I tested same flow with version 5.X, header worked as expected.

Any suggestions?

Showing 11 to 20 of 25 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 05, 2025, 12:34
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.