Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Conversation

alexbechmann
Copy link

@alexbechmann alexbechmann commented Oct 27, 2017

This PR allows you to use CosmosDB Mongo instance on azure which requires TLS1.2.

Usage:
`
MongoRepository.GlobalConfig.ConfigureSslSettings(x => x.EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12);

IRepository repository = new MongoRepository(ConfigurationManager.ConnectionStrings["MongoServerSettings"].ConnectionString, collectionName: "news-articles");
`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant