What;s the difference in srv connection with application and mongo shell.What different purpose it is used correspondingly?
In terms of difference between the Mongo Shell and the Application, there isn’t really any difference apart from how they might be passed but the underlying idea is that both of these now support using DNS seedlists to ease the burden of maintaining that aspect of clusters/deployments for the developers.
Here is the blog post if you want to read in detail:
are the uri and the SVR string same??
First it is SRV.
The answer is yes and no. The SRV connection string is the URI of a replica set cluster. But a URI is not necessarily an SRV.
You can read more about SRV at https://www.mongodb.com/blog/post/mongodb-3-6-here-to-SRV-you-with-easier-replica-set-connections
As for URI a good resource is https://en.wikipedia.org/wiki/Uniform_Resource_Identifier.
It is also interesting to understand the subtle difference from a URL by https://en.wikipedia.org/wiki/URL.