The code samples for ejFileExplorer have the ajaxAction member set to a doJSONPAction on mvc.Syncfusion.com. Is it not correct that in production we will want this code on our own server? I am not sure where to get this server side code and what server side libraries need to be referenced for it to run.
BPBalamurugan P Syncfusion Team May 24, 2016 02:25 PM UTC
Yes, you can implement the file handling operations in your server as per your requirement. By default, we have provided built-in “FileExplorerOperations.cs” class for handling the file operation of “FileExplorer” in server side and you can find the file at following Web API service project. Please refer following Web API service, this may be helpful to you.
Note: Based on the “ActionType” parameter value that is available in the “doJSONPAction” action method of “FileOperationController” class, you can call the corresponding built-in file handling methods(Read, Search, Download, Upload, Remove, Rename etc.. ) that are available in our “FileExplorerOperations” class.
For your convenience, we have prepared a sample and service based on this and you can find it under following location.
Note: First run the provided Web API service, then you will get an URL like ”http://localhost:51460/ “ (Here port number may change). As per port number, use the specified URL in “path” and “ajaxAction” of FileExplorer sample.
If you want to customize the file handling functionalities, please refer following document.