Replies: 1 comment
-
|
This looks like a difference between plain metadata values and Aspire resource expressions. From what you described:
That makes me think So even if the expression text represents a valid URL, it may still be getting passed through as an expression object/template rather than as the final concrete string that the Dapr component expects. That would also explain why Dapr falls back to the default blob endpoint instead of using Azurite. So I’d treat this as:
If that is correct, then Practical takeaway:
Since even If this helps, feel free to mark it as the answer so others can find it faster. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a bit stuck using Dotnet Aspire and Dapr.
First I define Azurite (Azure Blob Storage emulator) using aspire like so:
I define my dapr binding component like so:
The problem
When defining the Dapr component I pass the Azurite endpoint via metadata, however:
Even when my ReferenceExpression is nothing more than eg $"http://127.0.0.1:10000", it still doesn't work.
The Dapr binding does not recognize the passed ReferenceExpression as a valid URL and falls back to 'https://devstoreaccount1.blob.core.windows.net' which is of course not my local azurite anymore.
Beta Was this translation helpful? Give feedback.
All reactions