I use refit to call my services. I want to use grpc services in my code in the APIs that refit calls. Is it possible? And I did not see anything about this problem on the stackoverflow. No clue about grpc was found in the refit code available on github thanks for read my pronblem.
Is it possible to call grpc services in refit?
240 Views Asked by brok lothbrok At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in .NET-CORE
- NLog with DNX Core 5.0
- How should I reference HttpClient for dnx451 and dnxcore50?
- DNX Core 5.0 library to target any platform. No System.Random class. Workarounds or options?
- Kestrel Running which framework?
- Directory.CreateDirectory not exists in .NET Core
- asp.net dnxcore50 load assembly by file path
- .NET Core doesn't depend on any installation?
- Why is linq to object implementing iterators manually?
- Microsoft Band and WPF
- Determine port in asp.net core
- ASP.NET Core IISIntegration.Tools and .NET Framework
- ANTLR 4.5.3 C# lexer fails to initialize (ATN UUID error)
- Opening Visual Studio 2017 projects in Visual Studio 2015
- dotnetCore (1.0.0-preview2-1-003177) - build warnings as errors - how?
- How to implement interface of C# use COM of native C++?
Related Questions in GRPC
- protoc not generating service stub files
- Using gRPC with Vert.x, netty dependency issue
- Only put .proto protocol buffer file in a repository?
- Adding servers in the client-side dynamically/Runtime
- Docker connectivity issue with gRPC
- How to call microservice without slowing down the response?
- install gRPC and got make error
- How to do routing and avoid deserialization in Grpc / Protobuf?
- grpc number of active clients/channels
- Why do we need to register reflection service on gRPC server
- gRPC with WPF not working
- TensorFlow Server close the connection within client timeout
- Stub uses a single connection over the channel for multithreaded gRPC Client?
- Java + GRPC, for dummies?
- Trying to run node application with grpc on linux ARM processor
Related Questions in REFIT
- Akavache not working in Windows 8.1 Universal App
- How to create a generic Unauthorized IHttpActionResult from Not a Controller
- TaskCanceledException on Refit call
- Call API using Refit and deserialize to dynamic
- base64 encoded file upload via json api endpoint encountering Status code 400
- Web API model binder maps null value for action method parameter in .NET Framework 4.7
- Apply JsonConverter attribute on Refit request method
- How to add dynamic header in REFIT API .NET
- Keycloak Testcontainers not processing Refit request with Body
- Is it possible to call grpc services in refit?
- C# Refit Deserialize False to Null when expecting Class
- Using Refit and mock responses based on flag and not unitTests
- DelegatingHandler not working using Refit in a .NET MAUI App
- Refit.ApiException at System.Text.Json.Serialization.JsonCollectionConverter
- How can one Dispose() a Refit connection made w/ RestService.For<IRestInterface>
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Currently you cannot call gRPC with Refit. Refit is build for REST APIs, but gRPC is not built on REST, it is built on the concept of Remote Procedure Calls (RPC). There are many articles on the web that highlight the differences between REST and RPC, like this one.
If you are looking for something similar like Refit for gRPC in C#, then what you are looking for is protobuf-net. It allows you to define high-level interfaces to gRPC services similar to refit. Looking at the following example code from the Refit Github repo:
You could define a very similar interface to a gRPC service using
protobuf-netas follows: