In similar fashion to this bit of node.js, I'm interested in streaming the ongoing output of a text log file via ASP.NET MVC. I'm having trouble even thinking how I would implement this using the APIs available via the .NET framework. At least, the streaming of new file content as it is written part. if I were able to get that data/notification when new lines were added to a file, I could probably just write it to the browser using SignalR/websockets.Asked a different way, how would the above-linked node.js script be able to run on windows? Any hints as to how this might be possible, preferably without installing any unix tools, would be greatly appreciated!edit: maybe something with FileSystemWatcher? would that work well running in the background in asp.net mvc? also, that would only tell me when a file changes, what would be an ideal API to use to only get the new data?
Emulating `tail` to stream log data via asp.net mvc
c#;asp.net mvc;node.js