I am done with writing the code to upload files (text files) to azure blob storage. Now I want to provide search based on text files content. For ex. If I search for \"Hello\" t
Your code is not bad. Find out where most time is spent. Probably network or CPU. For network, you are out of luck. For CPU you can parallelize.
You are using culture-specific string processing. StringComparison.Ordinal is far less CPU intensive (like 10x). It has different semantics, though.
StringComparison.Ordinal