I created a gateway class for processing requests. The class can be used in the ASP .NET WebForm and ASP.NET MVC projects.
File Manager is created as custom control based on the ListBox. The control has a method for sending requests to the server.
All requests are sent asynchronously via helper class. The helper class is optimized for File Manager, but it can be easily modified for other purposes.
Data exchange is carried out in the JSON. Is it optimal for traffic volume.