473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Gui/Monitor/Config/Controller for a Windows Service

Hi NG

I'm have made a server application (WinForms) but I would very much
like to move the tasks that my app runs into a Windows Service.

But have you any experience building an communication interface between
the Gui and a Windows Service, I'd like to hear from you.

Is the solution:
Sockets - with commands and data send directly
Remoting?
Web Services?
COM+?
Something else?

It's small size data that has to be transfered. Both the Winforms App
and the Windows Service can communicate with a SQL Server (same
database).
The Winforms App. also has to show what the Windows Service is doing
right now - realtime is preferred but not required.

What I want to end up with is the behavior something like WebTrends
where you have a Server that runs as a Windows Service and a
WebInterface (in my case WinForms app) running on the same machine. The
Windows Service does all the hard work while the Winforms app. tells
the Windows Service how to do it, and shows what the Windows Service is
working on.

Any suggestions?

Apr 14 '06 #1
1 2825
I've written a number of services for our office using a number of
different communication methods. For short simple messages Sockets
work just fine but when I want to get back a larger chunk of data (over
45k) I chose the remoting route.

Debugging services is a galactic pain when dealing with threads and
socket issues but once it's all working it's great.

My only complaint against .net services is the memory footprint of the
services. The template that comes with VS will generate a service that
consumes between 16-24MB on startup while doing nothing. I've started
experimenting with a windows service that dynamically loads in modules
into different appdomains to reduce the memory footprint.

Also, loading modules that are compiled with NGEN and published into
the GAL into a service makes them run a little slower overall. After
an article I read in MSDN magazine apparently thats perfectly normal.

Apr 14 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fritz Bosch | last post by:
We are in the process of refactoring our GUI-based test application for radio equipment and are rewriting a significant part in Python. The new architecture will substantially be based on the...
0
by: hegdeuday_nick | last post by:
Want to develop a component/app that performs like a Windows Service Service Controller. Basically I am interested in the methods and events of a service controller to be implemented in an...
3
by: maxim iulian | last post by:
I want to create o program in C# that's monitor IIS server. Thank's a lot ! Maxim Iulian *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get...
4
by: \Rob\ | last post by:
On a domain controller, the ASPNET (v1.1) worker process (aspnet.wp.exe) runs under the IWAM_machinename acount (IIS 5). I have expressly denied this user the logon locally right in the domain...
1
by: SL | last post by:
How do I set up access to a file on a Windows Server 2003 Domain Controller that also has IIS? The file sits on another server. The Domain Controller / IIS server connects to this file through a...
6
by: Me | last post by:
I am looking for some suggestions or sample code for an application the sits in the system tray (a TSR) and then executes code that I specify when a certain executable is launched. As an example,...
3
by: Chris Dunaway | last post by:
I am writing a Windows Service that reads and processes files on a set schedule. I want to create a second app that can monitor the Windows service. The Windows service will write trace messages...
0
by: Miikka Laakso | last post by:
I have custom windows service (ServiceBase) and user interface for the service controller (ServiceController). If something goes wrong, for example during service startup, is there any way to...
0
by: vaportrail | last post by:
I am designing a new db server and have some questions. I am a UNIX guy so please be gentle :) App: 500G data 3000+ tables 90/10 read/write (currently on AIX/DB2) Hardware: Dell 2950 2xquad...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.