Showing Windows Forms in the ASP.NET process

  • Thread starter Thread starter Laser Lu
  • Start date Start date
L

Laser Lu

Thanks for looking at this post:)

Does anyone knows how to make the asp.net process runs in the
UserInteractive mode?
I just want to show some Windows Forms in my asp.net application on the
server side to capture and display application monitoring messages, as
Windows Forms will display realtime messages much more easily than Web
Pages.

Can anybody help me? Thanks a lot!

Laser Lu
 
I believe that it's much better to create a monitoring application... Show a
Windows Forms, I really don't know if it's possible, but it really looks not
recomendable for me...
 
As you know, the asp.net process is started by the World Wide Web Publishing
service (inetinfo.exe). So I tried to turned on the "Allow service to
interact with desktop" option for that service, but it still doesn't work.
It seems there is no place to setting the starting options for the asp.net
process in Windows:(
 
By the way, can anybody tell the reason why user interaction should be
disabled for asp.net process?
Will it lead the process to run slower? Or for some safety reasons?

Forgive my gab, I just wanna learn more and have a deeper understand:)
Any replies would be appreciated!
 
By the way, can anybody tell the reason why user interaction should be
disabled for asp.net process?
Will it lead the process to run slower? Or for some safety reasons?

Forgive my gab, I just wanna learn more and have a deeper understand:)
Any replies would be appreciated!

IIS usually runs on a server. This means that 99% of the time, nobody
is logged in. Where would you want to show those screens then?

Hans Kesting
 
IMPO, the functionality should be provide as a advanced option instead of
disabling it, as it is not hard to provide, since there is 1% chance to use.
If it is totally forbidden, really an inconvenience will it be for that 1%
users:)
 
Add to your app some endpoints to monitor the app (webservice for example).

Create an application that query the WS to display messages...

You can also implement other messaging system (smtp for simple messages,
msmq=, etc.)

But do not forget the web page is created at each request...

Steve
 
Back
Top