dotnet-sdk
dotnet-sdk copied to clipboard
Support Dapr for .NET 6 minimal API
Using Dapr for minimal API. I tried and the service require to add controllers services.AddControllers().AddDapr()
I was wondering if we can just do services.AddDapr()
So no need to add controllers.
Transfered to correct repo.
cc @rynowak
@rizamarhaban - What are you trying to add into your services? There is a separate method for the client if that's all you need. I believe this method is on top of controllers because we need controllers to setup the various Dapr endpoints.