Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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();