Is there a way to set the "targetUrl" value from an ApplicationService? I want use this property to redirect the user under a particular condition. Im'm using the asp.netcore/angular template.
To do this, you can add DontWrapResult attribute to your method and wrap your result in https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Common/Web/Models/AjaxResponse.cs manually.
But, I think instead of doing that, adding a targetUrl to your response and handling it on the UI will be much easier.