Category TopHeaderMenu
An ASP.NET Core 1.0 AngularJS application with Elasticsearch, NEST and Watcher
This article shows how to create an Angular application using ASP.NET Core 1.0 which can create alarm documents in Elasticsearch using NEST. The repository layer uses the new configuration from the beta 6 version and also the built in DI from the ASP.NET Core 1.0 framework. The post is part 1 of a three part […]
Creating HTML themes in ASP.NET Core 1.0 using Sass
This article shows how to create HTML themes in an ASP.NET Core 1.0 angular application using Sass and grunt. The CSS themes are created using Sass, built using grunt-contrib-sass and compressed using grunt-contrib-cssmin. Angular is then used to switch the themes, using an input button. Code: https://github.com/damienbod/AspNet5ThemesSassGrunt 2016.07.01: Updated to ASP.NET Core 1.0 RTM 2016.05.16: […]
ASP.NET Core Using Protobuf Formatters
This article shows how to use and implement Protobuf as a custom InputFormatter and a custom OutputFormatter in ASP.NET Core. Protobuf can then be used in the HTTP requests and responses for serialization. Before ASP.NET Core, this was implemented in Web API using MediaFormatters. In ASP.NET Core, this has been split into IInputFormatter and IOutputFormatter. […]
ASP.NET Core 1.0 Typescript AngularJS application with a Grunt production configuration
This article demonstrates how to implement an AngularJS application using Typescript and grunt in ASP.NET Core 1.0. The application is built using Typescript and based on this example. The application uses grunt as its task runner. The grunt task runner produces a production configuration and can also be used in a CI process on any […]
Batching in an ASP.NET Core 1.0 AngularJS application using angular-http-batcher
This article shows how to use angular-http-batcher in an ASP.NET 5 application. The back end is implemented using the existing Web API ASP.NET framework. At present, batching is not supported in the new ASP.NET Core 1.0 framework. It looks like batching will not be supported in the new MVC framework. A lot of the existing […]
ASP.NET Core 1.0 AngularJS application using angular-ui-router
This article shows how to use angular-ui-router in an ASP.NET Core 1.0 application. The ui-router module is integrated into the application using bower and grunt and implements hierarchical routes with data resolves in different states. Code: https://github.com/damienbod/AspNet5AngularJSDynamicRoutes 2016.07.01: Updated to ASP.NET Core 1.0 RTM 2016.05.19: Updated to ASP.NET Core 1.0 RC2 2015.11.18: Updated to ASP.NET […]
CSV export using Elasticsearch and Web API
This article demonstrates how to export data from Elasticsearch to a CSV file using Web API. The data is retrieved from Elasticsearch using _search with scan and scroll. This API can retrieve data very fast without any sorting. The data is then exported to a CSV file using WebApiContrib.Formatting.Xlsx from Jordan Gray. The progress of […]
Web API OData V4 Keys, Composite Keys and Functions Part 11
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 […]
Web API 2 Exploring Parameter Binding
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 […]
Web API OData V4 Batching Part 10
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 […]
