Returning json data through a web request lead us to make it lighter and faster. So I was wondering, what is better to return: a anonymous object or a DTO?
I've read some concerns about architecture: http://www.codeproject.com/Articles/1018716/Replacing-DTO-with-Anonymous-object and use of DTOs: Entity Framework is Too Slow. What are my options? But it's not my focus, I want to know what is lighter and faster on returning a web request.
Thanks!