I’m using the latest paid version of ABP to generate a microservice solution with MVC Razor Pages. In my JS file, I use this command to call the service:
var bangGiaVeNgayService = window.webCMS.kSVR.services.bangGiaVeNgays.bangGiaVeNgays;
but it doesn’t work.
With the older version of ABP, it still worked normally. Please help me resolve this issue. Does the latest ABP version still support calling services the old way like before?
[maliming] said: hi
Please generate the static proxy files in your web project.
Then you will see the script in webproject/abp/serviceproxyscript endpoint.
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
ok thank, i will try
[maliming] said: hi
Please use Zoom client join and share your screen
https://us05web.zoom.us/j/89617058236?pwd=Yxc0jPwQV4W4tLwYyQNnNO00Y0lBIo.1 Thanks
[maliming] said: ok, can you share your project?
Thanks.
Can you support me via TeamViewer?
[maliming] said: hi
Can you share the steps to reproduce it? Or share a project?
liming.ma@volosoft.com
Thanks.
I used ABP Suite to automatically generate the entity (my project is using MVC Razor Pages), but when I run the website, I get the error shown in the image.