wcf サービスを呼び出すカスタム httphandler があります。By Service は Stream
[OperationContract]
Stream GetMyStream(int width, int height);
イメージタグから aspx ページで http ハンドラーを呼び出しています。
<asp:Image ID="imgStream" runat="server" ImageUrl="MyStreamHandler.ashx" Visible="true" />
私のハンドラーでは、WCF サービスへの参照があり、次のように操作を呼び出しています。
MyServiceClient tcpClient = new MyServiceClient();
Image img = Image.FromStream(tcpClient.GetMyStream(30,100));
サービスで NetTcp バインディングを使用しています。これで、jquery ajax を使用して aspx ページで http ハンドラーを呼び出し、イメージ タグにストリームを表示して、ページでのポスト バックを回避できます。
ありがとう。