Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

What technology to use to make server side scheduled jobs?

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
pixarksa
Asked:
pixarksa
  • 6
  • 4
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
pixarksaAuthor Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
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
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
pixarksaAuthor Commented:
emoreau,

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

Thank you
0
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
pixarksaAuthor Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
I hope you know this web site related to WCF: http://netfx3.com/content/WCFHome.aspx
0
 
pixarksaAuthor Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now