Please share the full application service method code.
You can explain the problem in detail here. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/new">https://github.com/aspnetzero/aspnet-ze ... issues/new</a>
Need to use Visual Studio 2017+
Here are some discussions <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-forsaken/issues/322">https://github.com/aspnetboilerplate/mo ... issues/322</a> <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1469">https://github.com/aspnetzero/aspnet-ze ... ssues/1469</a>
Can use Asp Net Core Secret Manager <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-2.1&tabs=windows">https://docs.microsoft.com/en-us/aspnet ... bs=windows</a>
Follow this documentation to try to debug the code. <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Debugging">https://aspnetboilerplate.com/Pages/Documents/Debugging</a>
<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/354d66d76f63391ee3fd524d7cd35a1701fd3b71/src/Abp.AspNetCore/AspNetCore/Mvc/ExceptionHandling/AbpExceptionFilter.cs#L38">https://github.com/aspnetboilerplate/as ... ter.cs#L38</a>
<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/354d66d76f63391ee3fd524d7cd35a1701fd3b71/src/Abp.AspNetCore/AspNetCore/Mvc/ExceptionHandling/AbpExceptionFilter.cs#L92">https://github.com/aspnetboilerplate/as ... ter.cs#L92</a>
You can look at the source code of AbpExceptionFilter. I don't see why it is 500. Please share your project if possible. :)
Is there a DontWrapResult Attribute on the dto corresponding method?
Here are the documents you can refer to <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Core#migrator-console-application">https://aspnetzero.com/Documents/Develo ... pplication</a>