# Directly query ES cluster through .NET without using Client?

**URL:** <https://discuss.elastic.co/t/directly-query-es-cluster-through-net-without-using-client/284772>\
**Category:** Elasticsearch\
**Created:** [September 21, 2021, 10:39pm UTC](https://discuss.elastic.co/t/directly-query-es-cluster-through-net-without-using-client/284772 "2021-09-21T22:39:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bensalerno](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bensalerno](https://discuss.elastic.co/u/bensalerno)\
**Post date:** [September 21, 2021, 10:39pm UTC](https://discuss.elastic.co/t/directly-query-es-cluster-through-net-without-using-client/284772/1 "2021-09-21T22:39:32Z")

</div>

I'm trying to run some ElasticSearch queries from my C# code. Is it possible to do this without the low-level or high-level clients?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 21, 2021, 10:42pm UTC](https://discuss.elastic.co/t/directly-query-es-cluster-through-net-without-using-client/284772/2 "2021-09-21T22:42:35Z")

</div>

FYI it's Elasticsearch, the S is not capitalised 🙂

I don't know .net sorry, but there is likely some HTTP library that will let you build your own requests. A quick search shows me [HttpClient Class (System.Net.Http) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0)

---

<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:** [October 19, 2021, 10:42pm UTC](https://discuss.elastic.co/t/directly-query-es-cluster-through-net-without-using-client/284772/3 "2021-10-19T22:42:38Z")

</div>

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