Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

Technology options: long-running process with feedback (think progress bar)?

General Tech Technology & Software
Max. 2000 characters
Replies

usr_profile.png
Garry Buttler

User

( 3 months ago )

 

The easiest way to think about my problem is that I want to show a client a progress bar with a cancel button. We do this today for think clients using SignalR, but now we need something similar for a thick client.

I have a long-running process (typically a minute or two, but might take up to an hour) on my server. I want my thick client to be able to interact with it in two ways: 1) I want the server sending progress updates back to the client, 2) I want the client to be able to cancel the process. There are, of course, a number of ways of doing this. In fact, I've done this in multiple ways myself. So, I'm not looking specifically for a solution. I'm trying to understand which would be the best choice of technology knowing Microsoft's (and the industry's) direction in the future.

Here are three possibilities that spring to mind (feel free to add more):

  1. Traditional WCF (emulating even older "Remoting"): good choice (and would probably be my default) except that it sounds like MS will not be supporting WCF in .NET Core on the server (apart from open-source community-driven libraries).
  2. Azure Service Bus using queues or topics: workable and resilient, but possibly a bit more complexity/effort/code to implement.
  3. gRPC: it seems this is the direction MS would have us go in replacing WCF/Remoting, but it's still only in the previews.

Thoughts? Opinions?

Thanks!

P.S. If you can think of any other good places to post this question, please let me know.

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif