Iam Building a software using Dot Net (vb.net) with multi thread approach.
this app keep crush and stop responding suddenly.
even if in Test env. app working very well (but no real sending and connection to internet all functions are fake in test env.)
The Edia of application that I have Database with Messages Table and Reports Table
My App Reads from those tables and Create ( report file as pdf or image Using Crystal report for reports )
and Send them as message via WhatsApp or Telegram bot to customers in real time.
My Question:
Using C# I need the Best Practice For Building A GUI app that can handle read and prepare messages and Send them to final customers and finally Update their status in Database as been Sent.
I have Read and Watch allot of YouTube play lists but with no real benefit.
Of Course, I don’t need a full code ^_^ But the Best Practice:
eg:
- How To Divide the app into small functional
- How to deal with progress and update GUI with current status for each process (reading, prepare messages, sending messages, generating reports …etc.)
- how to use Producer Consumer and Parallel Process
**4. the most important how to make sure my app will not stop working in production env.
**
All kind of helps are appreciated.
Thanks Alot.
Iam expecting : in C#
- how to use threads with GUI in the best way possible
- play list of Youtube channels that provide such information | Or articles
- help to understand the basics and some real life examples of threading stop working..
- how to think when building threading app serves allot of customers.
- any kind of help!