# NEST documentation for .NET

**URL:** <https://discuss.elastic.co/t/nest-documentation-for-net/45242>\
**Category:** Elasticsearch\
**Created:** [March 23, 2016, 2:59pm UTC](https://discuss.elastic.co/t/nest-documentation-for-net/45242 "2016-03-23T14:59:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norman\_Daley](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@Norman\_Daley](https://discuss.elastic.co/u/Norman_Daley)\
**Post date:** [March 23, 2016, 2:59pm UTC](https://discuss.elastic.co/t/nest-documentation-for-net/45242/1 "2016-03-23T14:59:52Z")

</div>

I'm attempting to learn the ElasticSearch API using NEST but I've discovered that there is no up-to-date documentation for the NEST (2.0?). The ConnectionSettings class for instance, appears to no longer have a constructor that takes "defaultIndex" as a parameter.

So, as I attempt to follow the example on [nest.azurewebsites.net](http://nest.azurewebsites.net), I'm unable to get by the lines below because, as I mentioned, there is no constructor for the version of NEST that I'm using that takes "defaultIndex" as a parameter. (I used Package Manager in Visual Studio 2013 to add NEST to a test project)

var uri = new Uri("[http://mynode.somewhere.com/](http://mynode.somewhere.com/)");  
var settings = new ConnectionSettings(uri, defaultIndex: "my-application");

So, does anyone know where I get the latest documentation on the NEST classes?

Thanks much.  
Norman

---

<div class="post-metadata">

**Author:** ![KodrAus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kodraus/32/22798_2.png) [@KodrAus](https://discuss.elastic.co/u/KodrAus)\
**Post date:** [April 4, 2016, 8:30am UTC](https://discuss.elastic.co/t/nest-documentation-for-net/45242/2 "2016-04-04T08:30:03Z")

</div>

It looks like the docs are now being hosted [here](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html).

For your example though, you want:

```auto
new ConnectionSettings(uri).DefaultIndex("my-application");

```

For finding what methods are available in the absence of docs you should be able to use intellisense or the good ol' Object Explorer in Visual Studio.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:02pm UTC](https://discuss.elastic.co/t/nest-documentation-for-net/45242/3 "2017-07-05T23:02:42Z")

</div>


