在asmx上WCF流式传输? [英] WCF streaming on asmx?

查看:85
本文介绍了在asmx上WCF流式传输?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有用于wcf分层的wcf服务.我工作 但是我必须将其与我们的网络服务集成.

I've got wcf service for wcf straming. I works. But I must integrate it with our webserice.

有没有办法使网络方法像这样:

is there any way, to have webmethod like this:

[webmethod]
public Stream GetStream(string path)
{
  return Iservice.GetStream(path);
}

我的服务是我从WCF服务复制到我的asmx的类.

I service is a class which I copy from WCF service to my asmx.

有什么方法可以将wcf中的App.config与web.config集成在一起?

And is there any way to integrate App.config from wcf with web.config ?

推荐答案

抱歉,不,ASMX Web服务不支持流传输.

Sorry, no, ASMX web services don't support streaming.

这篇关于在asmx上WCF流式传输?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆