Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET SDK: Cryptography Quickstart example #969

Open
msfussell opened this issue Jan 22, 2024 · 9 comments
Open

.NET SDK: Cryptography Quickstart example #969

msfussell opened this issue Jan 22, 2024 · 9 comments
Assignees
Milestone

Comments

@msfussell
Copy link
Member

Once this issue gets checked in dapr/dotnet-sdk#1217 then there also needs to be an example for the Quickstart to show how to use this.

This issue also has to align with the docs issue dapr/docs#3947

@WhitWaldo
Copy link
Contributor

/assign

@WhitWaldo
Copy link
Contributor

@msfussell For purposes of setting up the SDK quickstart, can I assume that the crypto bits will be included in the 1.13 release?

@msfussell
Copy link
Member Author

@WhitWaldo - Assigned to you and yes to the SDK inclusion in the v1.13 release

@msfussell msfussell added this to the 1.13 milestone Jan 23, 2024
@WhitWaldo
Copy link
Contributor

Experiencing an issue with the VS debugger while testing this, but working on it. Will have some code to review once I can conform it's working all the way through.

@paulyuk
Copy link
Contributor

paulyuk commented Feb 21, 2024

@msfussell and @philliphoff do you have a moment to help WhitWaldo with the vs debugging issue so we can wrap this up?

@msfussell
Copy link
Member Author

@paulyuk @WhitWaldo - Yes, tell us your issue. @philliphoff may be the best person if this is a VS Debugger issue.

@philliphoff
Copy link

Happy to help, though I'm out of the office this week.

@WhitWaldo
Copy link
Contributor

Today it's tax day, but I'll see if I can't wrap this up later this evening/tomorrow.

@WhitWaldo
Copy link
Contributor

@paulyuk @msfussell @philliphoff Ok, so I've been poking at this for a few minutes trying to figure out where the stumbling block is. The problem spans several pieces:

  1. Can't build the crypto quickstart program itself because it relies on a NuGet package that doesn't yet exist (which makes it an odd requirement for this release). So I'm accommodating by instead building the crypto example since that has a direct reference to the Dapr package.
  2. I've already written an example on the Cryptography branch that demos this using a string and a file stream example. I was just going to tweak this to build the quickstart. This worked at some point, but there's no easy way I've found to build an E2E test that does what these examples do, so it broke and I didn't realize it did. My little spot-tests work fine, but they're hardly testing the whole thing.
  3. Something is wrong with the example as it's timing out with task cancelled exception. This is my current blocker is figuring out whether it's a problem with the example (not likely - it doesn't do much) or with the Dapr crypto changes (likely, this is the only thing that I've changed). But it's a work in progress to figure out what's wrong. And that's the latest.

@msfussell msfussell changed the title Cryptography Quickstart example for .NET SDK .NET SDK: Cryptography Quickstart example Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants