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)
-
0
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
-
0
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.ConsoleTestAppYes, I have successfully used the call dynamic API on the Console client.
Now what do I do to use the WinForm client?
-
0
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
-
0
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.
-
0
You're welcome!
-
0
This question has been automatically marked as stale because it has not had recent activity.