Ends in:
1 DAY
3 HRS
58 MIN
24 SEC
Ends in:
1 D
3 H
58 M
24 S
Open Closed

Module Template: Blazor Server via remove service #2376


User avatar
0
murat.yuceer created
  • ABP Framework version: v5.0.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hello, I create project with module template from suite. But I need to blazor Server Host project call remote service from api and should use identityserver not unified. Default Its create work unified. I trying to convert it but I stuck. When I click login button its not redriect identityserver project Show message like this

How can I say to suite, create module project but blazor server host should be work like web assembly(not unified)

Can you create module solution like this and send my email? project name is can be "Kuys.Module.EmployeeManagement"

We feed our microservices with modules. We are experiencing unexpected errors as we work this unified way.

Thanks


9 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi @murat.yuceer

    Firstly, can you share steps to reproduce that error you faced?



    How can I say to suite, create module project but blazor server host should be work like web assembly(not unified)

    Doesn't the following command with ABP CLI solve your problem at the moment?

    abp new Module2376 -t module
    

    And those projects below you should run for test.

    • Blazor.Host
    • HttpApi.Host
    • IdentityServer

    You can remove all UI projects except Blazor & Blazor WebAssembly.

  • User Avatar
    0
    murat.yuceer created

    My problem is, Blazor.Server.Host project is unified project. Its not work with HttpApi.Host and IdentityServer. Configured to run standalone default. I need to harmonize them.

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Ok, got it. You need a tiered solution for Blazor-Server right?

  • User Avatar
    0
    murat.yuceer created

    Ok, got it. You need a tiered solution for Blazor-Server right?

    Yes, thanks

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    You need to replace XXX.Application and XXX.EntityFrameworkCore packages with XXX.HttpApi.Client package for each module in Blazor.Server.Host project

    Also, you need to remove your Kuys.Module.EmployeeManagement.Application and Kuys.Module.EmployeeManagement.EntityFrameworkCore project references from your Blazor.Server.Host project and add Kuys.Module.EmployeeManagement.HttpApi.Client project reference to it.

    After those changes make sure your AuthServer and RemoteServices configurations are made properly.

    You can create a tiered project with following command and compare configuration.

    abp new MyTieredBlazorApp --tiered -u blazor-server
    
  • User Avatar
    0
    murat.yuceer created

    Thanks, I did like this but I couldnt fix problem, what I missing, when I click login button its not redriect

  • User Avatar
    0
    murat.yuceer created

    Can you create example module project with tiered blazor server.

  • User Avatar
    0
    murat.yuceer created

    Just I need empty working module project with tiered hosted blazor server example I can give my email addresss

  • User Avatar
    0
    murat.yuceer created

    problem was account controller.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19