[Solved] Return complex object from .Net core API
The connection reset error is due to your Action method throwing an unhandled exception, returning a 500 to the client. This happens because of the infinite loop Document => Page => Document when the serializer kicks in. An easy way to solve this problem without breaking the relationship (you might need them even when using … Read more