Open sgabler opened 10 months ago
Hi @sgabler. Thank you for reaching out and we regret that you're experiencing difficulties. That section of the documentation attempts to illustrate how to perform various activities using the library which apply to different scenarios. It is not intended that you use the entire snippet as a copy/paste in an application, rather it is intended to serve as a reference for what patterns work so that you can apply them to your scenario. A full end-to-end sample is available here which allows you explore more directly.
That all said, I agree that the documentation does not make this clear; we'll look at getting that updated to clarify.
@AlexanderSher: Would you please look into updating the README to clarify the intent of the snippet, note that it does not work copy/paste, and reference the sample?
@jsquire thank you, that sounds like a good solution. The sample you linked helped me solve the issues.
The documentation seems outdated. I pasted the code from the docs, but it doesn't compile for me.
Here is my Program.cs
My csproj file:
Could you please take a look at what might be wrong here?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.