aspire-samples icon indicating copy to clipboard operation
aspire-samples copied to clipboard

How do you load/define dapr components?

Open onionhammer opened this issue 1 year ago • 5 comments

I'm not seeing it in the dapr sample, it seems to just start a sidecar that does nothing?

The sample could, for example, demonstrate using a cron binding

Edit:

This is how

    .WithDaprSidecar(new DaprSidecarOptions
    {
        AppId = "your-api",
        ResourcesPaths = [
            "../your/components",
        ],
    });

onionhammer avatar Nov 28 '23 22:11 onionhammer