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 implementation of InvokeBinding doesnt return result #1312

Open
qxecutioner opened this issue Jun 20, 2024 · 1 comment
Open

.Net implementation of InvokeBinding doesnt return result #1312

qxecutioner opened this issue Jun 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@qxecutioner
Copy link

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

.Net implementation of InvokeBinding doesn't return any result. This is quite needed when invoking binding for blob storage to read back response having blob uri.

@qxecutioner qxecutioner added the kind/enhancement New feature or request label Jun 20, 2024
@artursouza artursouza transferred this issue from dapr/dapr Jun 21, 2024
@philliphoff philliphoff added question Further information is requested and removed kind/enhancement New feature or request labels Jun 24, 2024
@philliphoff
Copy link
Collaborator

@qxecutioner Can you be more specific about what you've tried, and which method you're using? The DaprClient has several overloads of InvokeBindingAsync():

  • Task InvokeBindingAsync<TRequest>() which accepts a request but does not return a response (for bindings where no response is expected
  • Task<TResponse> InvokeBindingAsync<TRequest, TResponse>() which accepts a request and expects (and returns) an explicit response
  • Task<BindingResponse> InvokeBindingAsync(BindingRequest request) which accepts a generic request and expects (and returns) a generic response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants