I have a web application in Asp.Net MVC with C # and I received a new requirement where the goal is to read a text file with thousands of lines, each line containing a set of data that will be used to insert and update the database. data.
My question is what best practices to take in this development. With my little experience, I know that the large amount of information makes the processing very time consuming, reaching more than one hour and eventually causing timeout. I believe that just increasing the timeout is not the best solution.
I also need to present to the user the processing situation, preferably in real time, what would be my options?