CodePudding user response:
WebService output do not use lazy loading, because in the WebService this layer transaction may already over, don't go to query the contents of the navigation, in addition, do not recommend the Entity directly to serialize the output, unless you are the type of Entity is not associated with simple, best again in one for the output of the web service model, this model after filling out to the web service output,CodePudding user response:
As well as in the serialization, perhaps because of low navigation problem of infinite recursion, heap eventually lead to stack overflow