Open Closed

Tiered Blazor Server does not recognize my app service interface #6149


User avatar
0
2ristpanel created
  • ABP Framework version: v7.4.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered**: yes

I have a solution that I need a Blazor server as front-end but need to work with host API so i created this solution. when I injected abp based interface (like IBlogAdminAppService) everything worked fine but when i injected my IApplicationInboxAppService (My Service) gave me this error

I'm following https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients and doing every thing on this page correctly


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

    Hi,

    The Blazor server project should reference the HttpApi.Client project.

    You can create a tiered solution using suite, the Blazor Server project is configured to use dynamic proxy, you can refer to it

  • User Avatar
    0
    2ristpanel created

    I also do that the error is still remain

  • User Avatar
    0
    2ristpanel created

    I even created a tiered solution in the suite and then copied my services and... into the project but still have this problem

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share a test project with me? I will check it. my email is shiwei.liang@volosoft.com

  • User Avatar
    0
    2ristpanel created

    hi I sent you an email via p.shariatzadeh@touristpanel.ir can you please check it

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The ITestAppService needs Implement IApplicationService interface

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11