从IIS中托管的WCF服务打开一个新窗口

从IIS中托管的WCF服务打开一个新窗口

问题描述:

大家好,

谁能指导我如何从IIS中托管的wcf服务打开/启动窗口/wpf表单.

当我们在本地asp.net服务器中运行scf服务时,这是可能的.但是,当我们在IIS中托管wcf服务时,则无法使用.

我也尝试过在新线程中打开它,但没有成功.

还有一个问题?

当我们尝试通过wcf服务在新进程中启动记事本时,该进程会显示在任务管理器/正在运行的进程中,但不会显示记事本UI.

有任何建议..

Shashi

Hello all,

can anyone guide me how to open / launch a window / wpf form from wcf service hosted in IIS.

This is possible when we run scf service in local asp.net server. But when we host the wcf service in IIS then this does not work.

I have also tried to open it in a new thread but no success.

One more question?

when we try to launch a notepad in a new process from wcf service, the process displays in task manager / running processes but the notepad UI does not display.

Any suggestion..

Shashi

它在运行WCF的用户下运行. IIS无法为您启动进程.您为什么要它?
It''s running under the user that WCF runs under. IIS is not able to launch processes for you like that. Why would you want it to ?