dotnet-sdk icon indicating copy to clipboard operation
dotnet-sdk copied to clipboard

Support Dapr for .NET 6 minimal API

Open rizamarhaban opened this issue 3 years ago • 2 comments

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.

rizamarhaban avatar Nov 09 '21 06:11 rizamarhaban

Transfered to correct repo.

cc @rynowak

yaron2 avatar Nov 15 '21 22:11 yaron2

@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.

halspang avatar Aug 29 '22 22:08 halspang