Hi there,
I had some issues while testing the ASPNET ZERO architecture. • Dynamic WEB API : I had follow exactly the same ASPNET ZERO tutorial to create services in my app : https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Developing-Step-By-Step-Core-Creating-Person-Application-Service. The problem is that I can’t find my service in “abp.services.app” namespace when I try to test it from the web browser console neither when I call it in JS Files. • Registering events : I had also follow the same asp boiler plate – domain event (EventBus) tutorial : https://aspnetboilerplate.com/Pages/Documents/EventBus-Domain-Events. But it seems like the event doesn’t register automatically. Is there any configuration i should consider or a solution to solve this issues ?
Thanks.
4 Answer(s)
-
0
The problem is that I can’t find my service in “abp.services.app” namespace when I try to test it from the web browser console neither when I call it in JS Files.
Does your page or layout page reference the following script? These codes are already configured in the zero template by default.
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) --> <script src="/AbpServiceProxies/GetAll" type="text/javascript"></script> <script src="/AbpScripts/GetScripts" type="text/javascript"></script>
But it seems like the event doesn’t register automatically.
Please share your code about
Events
. -
0
The scripts you mentioned are called. Here is the code that create and implement my service, event and scripts call.
-
0
Hi @INVOLYS
Please send your project to [email protected]. Since this website is public, we don't allow sharing project links, sorry.
Thanks,
-
0
This issue is closed because it has not had recent activity for a long time.