Hi,
Could you share the full steps to reproduce? thanks.
My intention is to manually create an API controller in the HttpApi project of an ABP Blazor WebAssembly Application, without relying on Auto API Controllers. However, I couldn't find specific articles guiding me on this matter.
I'm trying to create an API controller in the HttpApi project, but I'm facing issues with Auto API Controllers. I'm attempting to create a Products API controller, but when I run the source code, Swagger can't find the APIs I've built. Could you please assist me in creating an API Products controller in the HttpApi project that can work properly in an ABP Blazor WebAssembly Application?
I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr
To update from 7.4.1 to 8.0.0And I have two errors when I launch my Blazor application:
Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226)
TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)Afterwards, I run "abp bundle" in folder blazor.host
Did you follow the migration guides mentioned in the article? You should update the Blazorise package versions to
1.3.2
and then runabp bundle
command.Also, you should update the LeptonX package version as follows:
<PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.0.*-*" />
I followed the documentation and updated Blazorise to version 1.3.2, and here are the packages I upgraded to version 8.0 in the .Blazor.Host module. But the error still remains.
I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr To update from 7.4.1 to 8.0.0
And I have two errors when I launch my Blazor application:
Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)
Afterwards, I run "abp bundle" in folder blazor.host