I am working on ASP .Net Core. I need to design a web page using which user can upload any video. Each video upload status must be visible to user. If user wants, user can cancel the uploading of specific video. Video upload must be independent. I am currently on information gathering stage. I show several references but nothing is useful. Can you please suggest me how can I do it?
Asked
Active
Viewed 227 times
0
-
It has nothing to do with the server side I'll tell you that. All you need to do is basically `Promise.all([...filelist].map(upload))`. Your Asp.NET Core backend will inherently handle each request independently and with appropriate asynchronous IO parallelism, unless you do something silly like use synchronous APIs to write the files to disk – Aluan Haddad Jul 21 '20 at 04:43
-
@AluanHaddad can you please suggest any reference regarding above mentioned comment? – Abhi Singh Jul 21 '20 at 04:45
-
Just make sure you batch Promises in your JavaScript correctly. `Promise.all` is broadly analogous .NET's `Task.WhenAll`. If you aren't familiar with either of these APIs, then you should read about asynchronous programming. Hint: IO parallelism isn't about threads, and in JavaScript you only have one thread, ever. – Aluan Haddad Jul 21 '20 at 04:53
-
@AluanHaddad do you have any reference or demo? – Abhi Singh Jul 21 '20 at 06:11
-
Nope. You have to do the research – Aluan Haddad Jul 21 '20 at 17:16