Is it OK to add FrameworkReference Include="Microsoft.AspNetCore.App" in .NET 6 console app

108 views Asked by At

I have a console app running on mac built on .NET 6. I need to use GRPC to communicate between another application using GRPC.

The Grpc.Core is not recommended and maintained anymore and I see the recommended option is to use Grpc.AspNetCore.Server. In order to achieve this I need to add <FrameworkReference Include="Microsoft.AspNetCore.App"/> and Grpc.AspNetCore

Is this a good approach? By doing this am I converting my console app into a web app?

Is there any better way to implement this. Please let me know.

0

There are 0 answers