# NEST and new elastic .net client

**URL:** https://discuss.elastic.co/t/nest-and-new-elastic-net-client/348485
**Category:** Elasticsearch
**Tags:** language-clients
**Created:** [December 2, 2023, 8:48pm UTC](https://discuss.elastic.co/t/nest-and-new-elastic-net-client/348485 "2023-12-02T20:48:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)
#### Post date: [December 2, 2023, 8:48pm UTC](https://discuss.elastic.co/t/nest-and-new-elastic-net-client/348485/1 "2023-12-02T20:48:04Z")

</div>

New elastic net client is not compatible with old NEST, we have complex application build on old NEST and is very difficult to migrate and test to new client.

Is NEST going to be supported in future elastic version in compatibility mode?  
This is a big problem to break clients why this decision was made and why new .net clients are not more compatible with old code and easy to migrate to?

---

<div class="post-metadata">

### Author: ![flobernd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flobernd/32/124877_2.png) [@flobernd](https://discuss.elastic.co/u/flobernd)
#### Post date: [December 5, 2023, 8:04am UTC](https://discuss.elastic.co/t/nest-and-new-elastic-net-client/348485/2 "2023-12-05T08:04:06Z")

</div>

Hi @agonzalez !

Most of the reasons for creating new clients is described here and as well some of the new core concepts are mentioned:

> **[Migration guide: From NEST v7 to .NET Client v8 | Elasticsearch .NET Client...](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/migration-guide.html)**

NEST won't be supported for upcoming ES 9.\* (we always only support +1 version and NEST is the v7.0 client), but I'm currently working to add all missing endpoints to the v8.\* client. This has the absolutely highest priority at the moment. After that's done, I plan to migrate some of the "convenience features" like e.g. auto mapping and so on.

---

<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: [January 2, 2024, 8:04am UTC](https://discuss.elastic.co/t/nest-and-new-elastic-net-client/348485/3 "2024-01-02T08:04:14Z")

</div>

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