Access file system in Service Fabric
问题 I need to encode video using ffmpeg in Service Fabric service when I receive new message from Service Bus queue. I can extract ffmpeg.exe from resources and run it but can I save input/output video files in internal file system? 回答1: I tested it on local cluster by following code: protected override async Task RunAsync(CancellationToken cancellationToken) { while (true) { cancellationToken.ThrowIfCancellationRequested(); string filename = "testFile.txt"; File.AppendAllText(filename, "test. ")