Activities of "toan.nguyen2"

[maliming] said: hi

Currently, you need to generate them manually if your API has changed.

Thanks.

ok Thanks.

[maliming] said: Great

Hi Maliming, Every time I make changes to the KSVR service, I have to run the command abp generate-proxy --type csharp --module ksvr --url http://localhost:44303 --without-contracts to regenerate the Client Proxies. Is there any way to generate them automatically whenever changes are made, or is it mandatory to run the command manually?

[maliming] said: hi

Please zip your static proxy files and appsettings.json of WebGateway to liming.ma@volosoft.com

Thanks.

I found the cause. Thank you. :D

[maliming] said: ok, you can continue to test it.

Thanks.

I continued running the application and was able to call var bangGiaVeNgayService = window.webCMS.kSVR.services.bangGiaVeNgays.bangGiaVeNgays; but now I’m getting this error. Please help me with this.

[maliming] said: : )

:v I mistakenly thought the Module Name was the name of the .cs file. :((

[maliming] said: hi

abp generate-proxy --type csharp --module ksvr --url http://localhost:44303 --without-contracts

After that, run the WebCMS.Web: http://localhost:44325/ and check abp/serviceproxyscript endpoint

ok nice ! Thank you very much

[maliming] said: hi

: Module name: webCMSwebModule is invalid

You can check all modules at http://localhost:44303/api/abp/api-definition

Then generate a proxy again

abp generate-proxy --type csharp --module NewModuleName --url http://localhost:44303 --without-contracts

Thanks

this is data in http://localhost:44303/api/abp/api-definition

Please help me write the correct command.

[maliming] said: hi

You can run the abp generate-proxy command in your web project(localhost:44325)

abp generate-proxy --type csharp --module YourWebCMSKSVRModuleName --url https://YourWebCMSKSVRModuleName-website-url --without-contracts

Thanks.

help me please!

[maliming] said: hi

You can run the abp generate-proxy command in your web project(localhost:44325)

abp generate-proxy --type csharp --module YourWebCMSKSVRModuleName --url https://YourWebCMSKSVRModuleName-website-url --without-contracts

Thanks.

I tried it, but it didn’t work.

Url WebCMS.Web: http://localhost:44325/ Url WebCMS.KSVR (microservice) : http://localhost:44303/

From WebCMS.Web, I’m calling a service in WebCMS.KSVR.

[maliming] said: hi

Have you created the static proxy files?

See https://abp.io/docs/latest/guides/add-module-to-microservice#using-the-static-proxy https://abp.io/docs/latest/framework/api-development/static-csharp-clients#code-generation

I can’t find the HttpApiClientModule. My ABP version is the latest one, and its structure does not contain any of the files described in the documentation.

Showing 1 to 10 of 17 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 10, 2025, 12:02
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.