Solved

What technology to use to make server side scheduled jobs?

Posted on 2008-10-16
10
314 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 69

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 69

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
 

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 69

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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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 69

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 69

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 69

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now