Open Closed

How to build winform application client for Dynamic C# API Client Proxies #1727


User avatar
0
fishlong created

Hi guys,

I followed the instructions and builded console application for dynamic api client proxies. https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients https://docs.abp.io/en/abp/latest/Startup-Templates/Console

Is there a best practice for building winForm application clients to call dynamic api proxies???

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ 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: v4.4.0 UI type: MVC DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: Steps to reproduce the issue:"


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

    hi

    I think you can refer to the code using Dynamic C# API Client Proxies in the Console app. https://github.com/abpframework/abp/tree/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp

  • User Avatar
    0
    fishlong created

    hi

    I think you can refer to the code using Dynamic C# API Client Proxies in the Console app.
    https://github.com/abpframework/abp/tree/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp

    Yes, I have successfully used the call dynamic API on the Console client.

    Now what do I do to use the WinForm client?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Boot the abp module system, and then call it.

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ConsoleTestAppHostedService.cs#L21

  • User Avatar
    0
    fishlong created

    Boot the abp module system, and then call it.

    https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ConsoleTestAppHostedService.cs#L21

    I will try it. thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You're welcome!

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

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