Search This Blog

Monday, 22 July 2019

.NET Core on Windows using the command line

Hello, Console App!

using System;

namespace HelloWordConsoleApp {
    class Program {
        static void Main(string[] args) {
            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
    }
}

How to run

CMD Command>dotnet run HelloWordConsoleApp.csproj
or
CMD Command>dotnet run

Output C:\HelloWordConsoleApp>dotnet run HelloWordConsoleApp.csproj
Hello World!

Elasticsearch CRUD Using POSTMAN

Get Elastisearch version

GET https://[Elastic search connection string]

Get list of indexes in Elasticsearch

GET https://[Elastic search connection string]/_cat/indices?v

Get list of mappings in Elasticsearch

GET https://[Elastic search connection string]/_mapping

Get specified index data in Elasticsearch

GET https://[Elastic search connection string]/Index-Name

Get specified index search in Elasticsearch

GET https://[Elastic search connection string]/Index-Name/_search

Delete specific index in Elasticsearch

DELETE https://[Elastic search connection string]/Index-Name

Reference

Elasticsearch - Nodes, clusters, and shards

Elastic Stack Video - Load your gun in short time.   Beginner's Crash Course to Ela...

Recent Post