Base solution for your next web application
Open Closed

Entity Generation - Service Proxy Not Being Generated #8594


User avatar
0
rileynetadmin created

When generating new entities the service Proxy import is being added but the service proxy itself, for the new entity, is not being generated. See images:


1 Answer(s)
  • User Avatar
    0
    yekalkan created

    You should run NSwag.

    Warning: If you are working on ASP.NET Core & Angular template, after generating the entity via Power Tools, run your *.Web.Host project and then run "./angular/nswag/refresh.bat" to update service-proxies.ts.

    See https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Development-Guide-Rad-Tool#how-to-use-it

    and https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Infrastructure-Angular-NSwag