This article demonstrates how to do a full text search using jQuery Autocomplete with an ASP.NET MVC application and an Elasticsearch search engine. CRUD operations are also implemented for Elasticsearch. ElasticsearchCRUD and ElasticLINQ are used to access Elasticsearch. To download and install Elasticsearch, use the instructions here. Code: https://github.com/damienbod/WebSearchWithElasticsearch Search for documents in Elasticsearch A […]

The article explains how to use the ElasticsearchCRUD NuGet package. ElasticsearchCRUD is designed so that you can do CRUD operations for any entity and insert, delete, update or select single documents from Elasticsearch. The package does not include search or query possibilities. You can do this with ElasticLINQ, Elasticsearch.NET, NEST or other packages. Code: https://github.com/damienbod/ElasticsearchCRUD […]

This article demonstrates how OData Functions can be used together with entities which have simple keys, composite keys, entity collections or used as plain simple global functions. Part 1 Getting started with Web API and OData V4 Part 1. Part 2 Web API and OData V4 Queries, Functions and Attribute Routing Part 2 Part 3 […]

This post is a simple article which shows how the use the Policeman.Guard NuGet package. The package can be used for simple checks in your methods to guard against null arguments, required conditions or whatever. Code: https://github.com/damienbod/Policeman NuGet Package: https://www.nuget.org/packages/Policeman.Guard/ The Requires guard method can be used to do any type of method checks. You […]

This article demonstrates how to call or map Web API methods with different types of parameters using XML, Json and Urlencoded formats. It shows how simple parameters, objects parameters and array parameters can be sent either in the body of the Http request or in the Url itself. This all works per default in Web […]

This article demonstrates how batching can be used with a Web API OData V4 service and an OData C# client. This blog is part 10 of the Web API OData series. Batching can be used to optimize network usage. Batching makes it possible to send many HTTP requests as a single multiple mixed request. The […]

This article shows how easy it is to extend Web API and provides an example of GZIP compression. Ove Andersen has created a cool NuGet package which makes it very is to use GZIP compression with any Web API Http request/response. This package implements both client and server message handlers which can be used for […]

Follow

Get every new post delivered to your Inbox.

Join 46 other followers