I have a service that use EF 6.1.3 to access to the database. I have POCO entities to store the results of EF, but the resutls are dynamicProxies instead of the POCO entity.
The problem is that when the service try to send to the client this dynamic proxy, I get an error receiving the http response.
I have tried to disabled the creation of the proxies entities in my dbContext, and then I receive my real POCO entity so I have no problems.
But really I don't know what is dynamic proxies and when is usuful to use them and when I can disabled them.
EDIT: I have disabled lazy loading.
Thanks.