# Creating an Index with .NET client

**URL:** <https://discuss.elastic.co/t/creating-an-index-with-net-client/340744>\
**Category:** Elasticsearch\
**Created:** [August 14, 2023, 10:44am UTC](https://discuss.elastic.co/t/creating-an-index-with-net-client/340744 "2023-08-14T10:44:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NekoNova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nekonova/32/7359_2.png) [@NekoNova](https://discuss.elastic.co/u/NekoNova)\
**Post date:** [August 14, 2023, 10:44am UTC](https://discuss.elastic.co/t/creating-an-index-with-net-client/340744/1 "2023-08-14T10:44:18Z")

</div>

Hello,

I am currently working on a project in C#.NET and we gave created Poco objects for our documents.

Can I do something same for creating the Index?  
We have an exported index in JSON that we want to represent in code as a model that could be fed to the client to just create the jndex with all settings.

But the latest documentation of the elastic client doesnt mention anything about this. Looking at the source code I can see there is a Create\<\> method that takes a type, but I cant find anything in the docs on how to use this.

---

<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:** [September 11, 2023, 10:44am UTC](https://discuss.elastic.co/t/creating-an-index-with-net-client/340744/2 "2023-09-11T10:44:53Z")

</div>

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