Base solution for your next web application
Open Closed

Issues in test and demo phase of our project to odopt ASP.NET ZERO #8135


User avatar
0
INVOLYS created

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)
  • User Avatar
    0
    maliming created
    Support Team

    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.

  • User Avatar
    0
    INVOLYS created

    The scripts you mentioned are called. Here is the code that create and implement my service, event and scripts call.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @INVOLYS

    Please send your project to [email protected]. Since this website is public, we don't allow sharing project links, sorry.

    Thanks,

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.