# New to NEST

**URL:** <https://discuss.elastic.co/t/new-to-nest/120251>\
**Category:** Elasticsearch\
**Created:** [February 16, 2018, 8:53pm UTC](https://discuss.elastic.co/t/new-to-nest/120251 "2018-02-16T20:53:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r0manred](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@r0manred](https://discuss.elastic.co/u/r0manred)\
**Post date:** [February 16, 2018, 8:53pm UTC](https://discuss.elastic.co/t/new-to-nest/120251/1 "2018-02-16T20:53:21Z")

</div>

Hello,

For awhile we've been viewing data through Kibana. And recently we've thought about moving away from Kibana. So we want to learn how to use elastic search through NEST (C#).

```
    var node = new Uri("localhost");
    var settings = new ConnectionSettings(node);
    var client = new ElasticClient(settings);

    var search = client.Search<dynamic>(s => s.Query(q => q));

    Console.WriteLine(search.ToString());

    Console.WriteLine(client.ToString());

    Console.ReadLine();

```

I'd like to do the basics so far. Like for example receive a count of how many times a certain field has been logged in the past day. Or receive the sum of multiple fields... I'm not to sure where to begin.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [February 19, 2018, 12:34am UTC](https://discuss.elastic.co/t/new-to-nest/120251/2 "2018-02-19T00:34:31Z")

</div>

Great that you'd like to get started with NEST 🙂 Here are some recommended resources to get started:

1. The [Elasticsearch.Net and NEST website documentation](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html). Choose the version that corresponds to the version of NEST and Elasticsearch that you're using.
2. The [Elasticsearch.Net and NEST GitHub repository](https://github.com/elastic/elasticsearch-net) can be useful to look at if you need to dig deeper into how the client works under the covers.
3. A [Walkthrough tutorial for building out an ASP.NET Core web application](https://github.com/elastic/elasticsearch-net-example/tree/5.x-netcore) that uses NEST and Nuget package data to build a search application for Nuget packages. [5.x-netcore](https://github.com/elastic/elasticsearch-net-example/tree/5.x-netcore) is that starting branch and [5.x-codecomplete-netcore](https://github.com/elastic/elasticsearch-net-example/tree/5.x-codecomplete-netcore) is the completed branch.

The documentation assumes some knowledge with how Elasticsearch works, so the [reference guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html) is also a great resource to understand what APIs are available and how they work. All Elasticsearch APIs are available with both [Elasticsearch.Net](http://Elasticsearch.Net) and NEST.

---

<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:** [March 19, 2018, 12:34am UTC](https://discuss.elastic.co/t/new-to-nest/120251/3 "2018-03-19T00:34:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
