Tag Archives: Elasticsearch
Implementing an Audit Trail using ASP.NET Core and Elasticsearch with NEST
This article shows how an audit trail can be implemented in ASP.NET Core which saves the audit documents to Elasticsearch using NEST. Code: https://github.com/damienbod/AspNetCoreElasticsearchNestAuditTrail History 2020-01-12 Updated to .NET Core 3.1 2019-02-15 Updated to .NET Core 2.2 Should I just use a logger? Depends. If you just need to save requests, responses and application events, […]
Angular search with ASP.NET Core and Elasticsearch
This article shows how a website search could be implemented using Angular, ASP.NET Core and Elasticsearch. Most users expect autocomplete and a flexible search like some of known search websites. When the user enters a char in the search input field, an autocomplete using a shingle token filter with a terms aggregation used to suggest […]
Angular autocomplete with ASP.NET Core and Elasticsearch
This article shows how autocomplete could be implemented in Angular using ASP.NET Core MVC as a data service. The API uses Elasticsearch to query the data requests. ng2-completer is used to implement the Angular autocomplete functionality. Code: https://github.com/damienbod/Angular2AutoCompleteAspNetCoreElasticsearch 2017.02.10: Updated to VS2017, Angular 2.4.6 and webpack 2.2.1 2017.01.07: Updated to csproj, webpack 2.2.0-rc.3, angular 2.4.1 […]
ASP.NET Core logging with NLog and Elasticsearch
This article shows how to Log to Elasticsearch using NLog in an ASP.NET Core application. NLog is a free open-source logging for .NET. Code: https://github.com/damienbod/AspNetCoreNlog 2020-01-12 Updated to .NET Core 3.1, NLog.Web.AspNetCore 4.9.0 2018-04-04 Updated to NLog.Web.AspNetCore 4.5.1, ASP.NET Core 2.0 2017.02.08 Updated to NLog.Web.AspNetCore 4.3.0 and VS2017 RC3 17.12.2016 Updated to ASP.NET Core 1.1 […]
Creating an Angular Component for Plotly
This article shows how the Plotly javascript library can be used inside an Angular 2 Component. The Angular 2 component can then be used anywhere inside an application using only the Angular Component selector. The data used for the chart is provided in an ASP.NET Core MVC application using Elasticsearch. Code: https://github.com/damienbod/AngularComponentPlotly 2017.02.07: Updated Updated […]