Open Closed

Cannot open blazor page in a new tab with Blazor Web App v8.2 #7584


User avatar
0
hanntd created

Hi ABP Team, With the new application template Blazor Web App (v8.2) I cannot open a blazor page from menu into a new Browse Tab, I can do that with the old template Blazor Web Assembly: thanks, Dharma Han Nguyen


18 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I will check it

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I could not reproduce the problem

    could you share a project with me? shiwei.liang@volosoft.com

  • User Avatar
    0
    hanntd created

    It can work with the standard screens generated with the template, the problem just happened with my screen developed from the separated module (in module I build pages for blazor web assembly) when integrating to Main Application using new Blazor Web App template the issue happened. Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    you need to add reference for blazor and blazor.client both and module dependencies

  • User Avatar
    0
    hanntd created

    The error happened when I added reference and inject my modules to Blazor project of my main application:

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    try add BlazorServer instead of BlazorWebAssembly

  • User Avatar
    0
    hanntd created

    Added BlazorServer and having new error:

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    could you share a project with me? shiwei.liang@volosoft.com

  • User Avatar
    0
    hanntd created

    I sent email to you. Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    sorry, I didn't receive the email

  • User Avatar
    0
    hanntd created

    Hi, I have uploaded to Google Drive and resend email to share link to you on the email. thanks,

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I need the permission to access

  • User Avatar
    0
    hanntd created

    I have changed access right, you can try again

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Unable to find package HQSOFT.eBiz.CoreBackend.Domain. No packages exist with this id in source(s): /usr/local/share/dotnet/library-packs, ABP Nightly, nuget.org [/Users/liangshiweis/Downloads/HQSOFT.MainApplication/HQSOFT.MainApplication.sln]

    sorry, i could not reproduce the solution

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry again, i don't have a DevExpress license.

    Unable to find package DevExpress.AspNetCore.Reporting with version (>= 24.1.3) [/Users/liangshiweis/Downloads/HQSOFT.MainApplication/HQSOFT.MainApplication.sln]

    BTW could you try add [DependsOn(typeof(SystemAdministrationBlazorServerModule))] to Blazor module to check if it's work

  • User Avatar
    0
    hanntd created

    Hi, I tried to test with a fresh Main application and Module, it work ok, so i will review my module code. Do you have any special notes when developing blazor pages that can support for both blazor web assembly and blazor server? Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    For Blazor webapp , you need to consider both server and webassembly

  • User Avatar
    0
    hanntd created

    I have tried to re-generate module templates with latest version 8.2 and migrated my code (no changes anything) from the module using old version and now it can run well when integrating to Main Application Blazor WebApp. So I think the module template i'm using (generated from version v7) is not compatible for Blazor Web App. Thanks for your support

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11