Groups | Blog | Home
all groups > dotnet framework > march 2008 >

dotnet framework : Building a GUI for a service



Alex Clark
3/30/2008 6:49:47 PM
Hi Debbie,

You'll need to write a separate app with a GUI that communicates with your
service. Services with GUIs are a bad idea on *any* platform, and are
prohibited under Vista. Research some IPC technologies to get the service
and GUI app talking to each other (I hear WCF can be really good for this in
..NET 3.x).

-Alex



[quoted text, click to view]

Cowboy (Gregory A. Beamer)
3/30/2008 9:04:57 PM
Windows Service?

I am lock stepped with Alex on that one. If you write is as a GUI, you are
no better off than writing a console application.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
[quoted text, click to view]

Debbie.Croft@nospamforme.com
3/31/2008 12:12:51 AM
I'd like to put a GUI on my (C#) service (running under Vista). Anyone have
any pointers as to the best way to do this? I'm using VS2008, if it matters.
Roger Helliwell
4/7/2008 3:31:36 PM
Hi Debbie,

I'm curious if you made any progress on this and what route you are taking.
I am in the same boat. In the past, if I wanted to add a GUI to a windows
service, I would set the "Allow services to interact with desktop" flag, but
I understand this is not only bad practice, but ineffective under Vista.

I am steering toward named pipes. Any thoughts?

Roger

[quoted text, click to view]
AddThis Social Bookmark Button