Skip to content

AmazonEC2Client.DescribeInstances internal for netcore but public for net 4.5 #2120

Answered by normj
tshcherban asked this question in Q&A
Discussion options

You must be logged in to vote

In the .NET Core/Standard version of the SDK only the async versions of the API exist. So you should call DescribeInstancesAsync. This is because the Http Client in .NET Core didn't have sync support when we added .NET Core/Standard support.

It wasn't till .NET 5 that the http client got sync support. We have debated about adding the sync support for latest version of .NET but that is unlikely to happen anytime soon given the other work we have going on with the SDK.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@tshcherban
Comment options

Answer selected by tshcherban
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
2 participants