Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
c# で実装された asp.net Web API アプリケーションがあります。私は完全に機能している ApiController を使用しています。
コントローラーは、(HTML でラップされた) JSON オブジェクトを処理します。
まったく同じロジックを実装したいのはわかっていますが、リクエストは JSON でラップされた HTML リクエストではなく、JSON データの raw tcp ソケット リクエストになります。
この機能を実装する最善の方法は何ですか?
Microsoftの非同期ソケットサーバーの例を使用することにしました。私の主な関心事はスケーラビリティですが、それに到達したらその橋を渡ります。
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/using-an-asynchronous-server-socket