在asmx上传输WCF?

use*_*618 5 c# wcf asmx

我为wcf straming提供了wcf服务.我工作.但我必须将它与我们的webserice集成.

有没有办法,有这样的webmethod:

[webmethod]
public Stream GetStream(string path)
{
  return Iservice.GetStream(path);
}
Run Code Online (Sandbox Code Playgroud)

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

有没有办法将wcf中的App.config与web.config集成?

Joh*_*ers 5

对不起,不,ASMX Web服务不支持流式传输.