microsoftgraph / msgraph-sdk-dotnet

Microsoft Graph Client Library for .NET!
https://graph.microsoft.com
Other
693 stars 246 forks source link

Add support for using gRPC to query Graph #2675

Open Eagle3386 opened 1 week ago

Eagle3386 commented 1 week ago

Is your feature request related to a problem? Please describe the problem.

Microsoft heavily invested (BTW: still does invest, thanks so much!) in gRPC-dotnet as successor to WCF.

Therefore, it would be awesome, if newer web apps & of course APIs - built using only gRPC-dotnet for communication with clients & other services - could use the same to communicate with the Graph API.

Describe the solution you'd like.

Allow for usage of gRPC(-Web) to communicate with the Graph API via its GraphServiceClient.

Additional context?

For example, I'm in the process of building a gRPC-only micro-services architecture with a Blazor WASM standalone frontend & a BFF-pattern compliant public endpoint which will also function as the GraphServiceClient's "home". However, due to lack of gRPC-support, the Graph can't be queried using the same communication technology, but instead imposes further technologies to be added to the - already quite huge - tech stack.

andrueastman commented 5 days ago

Thanks for raising this @Eagle3386

I believe at the moment the API doesn't support GRPC as a transport for making requests to it. Which would be the precursor for this to be supported from the SDK front. I'm not sure if there are immediate plans for this though.

As this would require API support first, would you be willing to create a request/feedback item at the link below to for this feedback to be looked into by the API owners? It would be great if you could post back a link of the created item here so that anyone who comes across this may find it an upvote it as well.

https:// aka.ms/graphFeedback

Eagle3386 commented 3 days ago

@andrueastman sure, but what to select as "category" over there? Because, there's "Cloud Communications", "Connectors", "Data Connect" & a couple of other, pretty suitable options..

TBH, I find the form quite confusing, given the purpose of providing feedback..