Add gRPC server example with file download
This commit is contained in:
16
TestGrpc/Program.cs
Normal file
16
TestGrpc/Program.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace TestGrpc;
|
||||
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user