Jul 22, 2014, 1:45 PM
FileSystemWatcher in MVC application
In my MVC 3 application, i want to perform this:
When a new XML file is created in a given folder, the application reads the relevant data from the XML file and displays/updates information regarding that file in a partial View.
After searching for relevant controls to achieve this functionality, I went for FileSystemWatcher. I am not quite sure how effective it is in web applications.
So can i use FileSystemWatcher in MVC applications? Is there any alternatives to FileSystemWatcher? Whats the best way to achive my goal? Please provide me with an example
When a new XML file is created in a given folder, the application reads the relevant data from the XML file and displays/updates information regarding that file in a partial View.
After searching for relevant controls to achieve this functionality, I went for FileSystemWatcher. I am not quite sure how effective it is in web applications.
So can i use FileSystemWatcher in MVC applications? Is there any alternatives to FileSystemWatcher? Whats the best way to achive my goal? Please provide me with an example