I'll explain the task requested from me:
I have two containers in Azure, one called "data" and one called "script". In the "data" container there's a txt file with data, and in the "script" container there's a script file.
Now, I need programatically (with WorkerRole) to execute the script file, with the content of the data file as parameters (Example: a script file that accepts a string 's' and returns to the screen "Hello, 's'", when 's' in the string given, and in the data file there's a string), and save the result of the run into another file which needs to be saved in another container called "result".
How do I do all these? I've already uploaded the files and created the blobs programatically, but I can't seem to understand how to execute the file of how to save its result to another file? Can I please have some help?
Thanks in advance
DownloadToStream()) 2. Compile the script(I will leave this to you as I have no idea what format your script is) 3. Load parameters from blob(same as step 1) 4. Execute script with those parameters. If your script's can be written as lambda expressions then this becomes a lot easier as you can turn them intoAction's