Thanks to visit codestin.com
Credit goes to github.com

Skip to content

とりあえず動くところまで - #2

Merged
flatring merged 1 commit into
mainfrom
feature/try-run-20201024
Oct 24, 2020
Merged

flatring merged 1 commit into
mainfrom
feature/try-run-20201024

Conversation

@flatring

Copy link
Copy Markdown
Owner
  1. ClientStub実行時に以下の注意あり

    Program.cs(12,23): warning CS1998: この非同期メソッドには 'await' 演算子がないため、同期的に実行されます。
    'await' 演算子を使用して非ブロッキング API 呼び出しを待機するか、'await Task.Run(...)' を使用してバックグラウンドのスレッドに対して CPU 主体の処理を実行することを検討してください。
    [%userprofile%\projects\backend-csharp\ClientStub\ClientStub.csproj]

  2. ClientStub実行時にBackendで以下のエラー

    fail: Grpc.AspNetCore.Server.ServerCallHandler[6]
    Error when executing service method 'GetTableSample'.
    System.NullReferenceException: Object reference not set to an instance of an object.
    at Grpc.Shared.Server.UnaryServerMethodInvoker3.Invoke(HttpContext httpContext, ServerCallContext serverCallContext, TRequest request) at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
    at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method2 method, Task handleCall)

@flatring

Copy link
Copy Markdown
Owner Author
  1. C#のスレッド周りやDapperの実行後処理ができてないけど、目的はgRPCでC#ではないので良しとする

@flatring
flatring merged commit be4f013 into main Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant