Architectural Help + c# console application

Born2Achieve 21 Reputation points
2021-04-20T02:48:23.203+00:00

Hello,
We have healthcare office in 800 locations and
Right now we have web application and each facility manager click web application button triggers api which does complex backend operation and getting time out some times. to avoid that, i am planning to do this on the c# console application job.

I have a c# console application created and can be scheduled on task scheduler. have 5 servers to deploy this. this batch job calls multiple procs and its does complex operations. so one facility will take 3-4 minutes to finish operation. I cannot do sequential operation like one facility at a time. I need to run this for 800 facilities at a time. This has to happen 5pm everyday for each facility. What is the best way to achieve this scenario from architectural perspective.

Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-04-26T00:54:01.35+00:00

    If you are not chasing a quick solution take a look at Quartz.NET scheduling system for .NET. Which we use daily in a windows service where jobs are setup to run via triggers from data in a database. Works with ASP.NET too. Check out the help section to get an idea how this library works.

    ---
    91035-kpmvp.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.