Activities of "viswajwalith"

abp generate-proxy -m userTaskService -t csharp -url https://localhost:44377 --without-contracts

Thanks for the inputs, it got succussed partially when I executed Step 1: proxies got generated only for Sample Controller

files generated with the step 1 command.

Proxies got generated but only with Sample Controller method

I tried by running

abp generate-proxy -m userTaskService -t csharp -url https://localhost:44377

without the parameter --without-contracts but no luck.

Also We would like to understand why dynamic proxies are not working

Hi,

Please email me when you have time,

BTW, You can also share a project that can reproduce the problem with me shiwei.liang@volosoft.com, I will check it out.

I shared the project files to your email shiwei.liang@volosoft.com , Please have a look and let us know if u face any issues in downloading the file

Hi,

It's possible, but your web project should be completely independent and not refer to any service project.

  • Move all web pages of services to the web app.
  • Remove all service dependencies
  • Generate static proxy for the web app: https://docs.abp.io/en/abp/latest/CLI#options-6

Generate static proxy for the web app: https://docs.abp.io/en/abp/latest/CLI#options-6

We support this feature after 7.0.0, (It also requires that the service version is 7.0.0.) :https://github.com/abpframework/abp/issues/13613 But you can check changes of PR: https://github.com/abpframework/abp/pull/14429/files to customize your project

Thanks for the inputs, If we understand correctly we can have different versions of solutions if we move all web pages into web and remove all depended projects (web) from main UI layer. in this case we need to remove reference to contract layer as well?

You mention We support this feature after 7.0.0, (It also requires that the service version is 7.0.0.) means this kind of approach will work only after having our entire project running on 7.0 and for future upgraded we can follow this way? please elaborate

shiwei.liang@volosoft.com

Yes we modified the web module as well. You want to connect over Microsoft teams ? or u can send the invite to viswajwalith@exceego.com

Hi,

Well, the client proxy you see is actually I think it should be dynamic client proxy.

See: https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice#updating-administration-microservice

Did you add the module dependency to AdministrationServiceHttpApiHostModule?

Yes we followed all the steps to add the micro service and changes in AdministrationServiceHttpApiHostModule is as follows

abp generate-proxy -t js -m userTaskService -url HttpApi.Host'URL

Finally we are able to see some progress (not 100%) able to run the generate proxy

but still not able to see the the new service related proxies in the main solution(base problem)

still missing in definitions as well

Hi,

I think it should work if you use it to generate client proxy files.

I am also not sure tried many ways, what do u suggest now?

/api/abp/api-definitionapi-definition

If I get the definition for individual micro service the Module is showing up

Hi,

Module name: app is invalid

You need to specify the service(module) name. you can find it in the /api/abp/api-definitionapi-definition endpoint.

No project file found in the directory. The working directory must have a Web project file

You need to run the command in the web project directory of the service

Hi It Seems some issue with main definition itself, not able to see newly added micro service under modules

Hi,

You need to manually generate the proxy using ClI: https://docs.abp.io/en/abp/latest/CLI#generate-proxy

Hi, We already tried this but getting the below errors

Also the suprise is without doing anything the Proxies got generated for some other services, means Proxies generated for XYZ service but same is not getting generated for PQR service.

Showing 81 to 90 of 267 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 15, 2025, 14:41