Docs
  • Guides
  • APIs (opens in a new tab)
  • Products
    Elasticsearch Observability Security Elastic Cloud
  • Reference
  • Troubleshoot
  • Release notes
  1. Docs /
  2. Reference /
  3. Elasticsearch /
  4. Clients /
  5. .NET

Configuration

Connecting to Elasticsearch with the client is easy, but it’s possible that you’d like to change the default connection behaviour. There are a number of configuration options available on ElasticsearchClientSettings that can be used to control how the client interact with Elasticsearch.

Previous
Connecting
Next
Options on ElasticsearchClientSettings
  • View as Markdown
  • Report a docs issue
  • Edit this page
  • Learn how to contribute
Get started free
  • 14-day free trial
  • All features included
  • No setup required
Section
Reference
Docs Guides APIs (opens in a new tab)
Products
Elasticsearch Observability Security Elastic Cloud
Reference Troubleshoot Release notes
Version
Reference Elasticsearch Clients
  • .NET
    • Getting started
    • Installation
    • Connecting
    • Configuration
      • Options on ElasticsearchClientSettings
    • Client concepts
      • Serialization
        • Source serialization
        • Serialization of Elasticsearch types
        • Plugin-defined variant types
    • Using the .NET Client
      • Aggregation examples
      • Using ES|QL
        • LINQ to ES|QL
      • CRUD usage examples
      • Custom mapping examples
      • Query examples
      • Usage recommendations
      • Low level Transport example
    • Troubleshoot
      • Logging
        • Logging with OnRequestCompleted
        • Logging with Fiddler
      • Debugging
        • Audit trail
        • Debug information
        • Debug mode
    • Breaking changes policy
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.