Solved

What technology to use to make server side scheduled jobs?

Posted on 2008-10-16
10
317 Views
Last Modified: 2013-11-05
Hi,

I need to make an application consists of two parts (server/client). Server should work 24 hours and doing some scheduled jobs on desired pre-configured times. Client should be able to communicate with server and let the user configure it (change some schedule or tasks). Client should not be on all the time. Turning client off should not affect server job once it is configured properly. Client could be a web-based using ASP.Net or Windows form application using C# forms or both as options for my customer.

I was thinking about using Windows Services or WCF. I don't know if one of these will help me to accomplish my task or maybe i should use both of them, I don't know!.

I have enough time to learn and practice. I would really appreciate if someone guide me on what technology will serve me better.

Thank You
0
Comment
Question by:pixarksa
  • 6
  • 4
10 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22729904
0
 

Author Comment

by:pixarksa
ID: 22732837
emoreau,

Thank you for sharing that link.

I am looking for a server/client relationship and just needs to know what technology needs to be used. As mentioned in the question, should I use WCF, Windows Services, etc ...

So, let me try to explain again what my application is intended to do:

Server Application:
- runing 24 hours
- doing scheduled tasks
- could be connected by clients
- could be reconfigured remotely

Client Application:
- connects to server version
- reads and sets configurations of server version
- could be created as ASP or Windows forms

I don't require you to do all that. I just needs the correct technology that I need to start with and will not be frustrated later that something is not possible :)

I am still beginner in .Net but I have some experience with other languages.

Thank You!
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22733257
why isn't your client application simply connect to the scheduled task of the server?

if you start thinking of other protocols (WCF or anything else), you will need to develop the server part and the client part. Not sure it is worth it in that scenario.
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

Author Comment

by:pixarksa
ID: 22733600
emoreau,

Yes, server part should not have any user interface. all configuration must be done by client application.

Thank you
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22733633
why do you absolutely want to have a server part? an application on a client PC can connect to the scheduled tasks of a server without having to install anything on the server itself
0
 

Author Comment

by:pixarksa
ID: 22735033
my server application will do complicated tasks and communicate with other remote devices. I need a server part, so whenever I update my application, I do update one PC only. Clients usually are ASP or Windows Forms but they just provide UI and has no complicated work.

Thank You
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22735087
Ok then.

>>I was thinking about using Windows Services or WCF.

If you want a client to communicate with a server, you should go WCF.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22735102
I hope you know this web site related to WCF: http://netfx3.com/content/WCFHome.aspx
0
 

Author Comment

by:pixarksa
ID: 22735203
emoreau,

So I have to use WCF on my server part. is WCF works 24 hours and I could apply some timer in it? At the same time can I communicate with clients while timer is running and doing some work?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 125 total points
ID: 22735255
wcf is a protocol of communication between 2 computer. for example, what was known as a web service running on a web server now use WCF. Same for Remoting.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question