Skip to content

AWS .NET SDK response (VS) HttpClient response #3029

Answered by ashovlin
bagajjal asked this question in Q&A
Discussion options

You must be logged in to vote

We don't guarantee that the XML returned by a service, unmarshalled to the corresponding Response class in .NET, and then serialized again as JSON will be identical. I imagine there are even differences for services that return JSON instead of XML.

Common cases where they differ (as seen in the above example):

  • Enumerations - What a service may think of as an enum, we actually use a class based on our ConstantClass. This offers more flexibility to clients who are using an older SDK that is not aware of a new enum value that a service may start returning.

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
2 replies
@ashovlin
Comment options

@bagajjal
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@bagajjal
Comment options

@normj
Comment options

@bagajjal
Comment options

@bagajjal
Comment options

@normj
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants