Is it possible to increase the stack size of an ASP.NET core 2 binary? I have to use a 32 bit COM interop component which happens to smash the stack under some defined conditions. It's not an infinite recursion, just a workload that happens to scratch the limit when the largest possible data set is requested, so increasing the stack might be an acceptable fix.
Modifiying the stack size via EDITBIN only works if applied to dotnet.exe directly, which obviously is not a preferred solution.