FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

arrow/csharp/examples/FlightAspServerExample at dbConversion · LoongArch-Python/arrow · GitHub

Latest commit

 

History

History
 
 

readme.md

Flight Asp Server Example

This example flight service stores uploaded Arrow tables in memory.

How this was created

First, create a new gRPC service (Flight is based on gRPC):

dotnet new grpc

Delete the example greeter service.

Then, implement a concrete subclass of FlightServer. See ./Services/InMemoryFlightServer.cs.

Finally, in ./Program.cs add the Flight server to the gRPC services and map the endpoints with the extension methods:

grpcBuilder.AddFlightServer<InMemoryFlightServer>();
...
app.MapFlightEndpoint();

Back | FazBrowse Home | New Git URL