Tag Archives: ASP.NET Core 1.0

ASP.NET Core Exception Filters and Resource Filters

This article shows how an exception filter and a resource filter can be used in ASP.NET Core Code: https://github.com/damienbod/AspNetCoreFilters 2019-07-27: Updated to ASP.NET Core 3.0 2019-01-30: Updated to ASP.NET Core 2.2 2017-08-18: Updated to ASP.NET Core 2.0 2017.07.01: Updated to VS2017 and csproj 2016.07.01: Updated to ASP.NET Core 1.0 RTM 2016.05.17: Updated to ASP.NET Core […]

Adding Cache safe links to a Grunt build in ASP.NET Core 1.0

The post shows how to add cache safe links and scripts to a HTML file using grunt in a ASP.NET Core 1.0 application. The post uses the grunt build configuration from this blog, ( ASP.NET Core 1.0 Typescript AngularJS application with a grunt production configuration ). Code: https://github.com/damienbod/AspNet5TypescriptProductionGrunt 2016.07.01: Updated to ASP.NET Core 1.0 RTM […]

ASP.NET Core 3.0 Action Filters

This article shows how the ActionFilterAttribute class can be used in an ASP.NET Core 3.0 MVC application. The ActionFilterAttribute class is an implementation of the IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, and the IOrderedFilter interfaces. This filter can be used as a method filter, controller filter, or global filter for all MVC HTTP requests, or more precisely […]

ASP.NET Core 2.0 with SQLite and Entity Framework Core

This article shows how to use SQLite with ASP.NET Core 2.0 using Entity Framework Core. EF Core can now create SQLite databases using Entity Framework migrations which was not possible in previous versions. Code: https://github.com/damienbod/AspNetCoreSQLite 2017-08-17: Updated to ASP.NET Core 2.0 and EF Core 2.0 2017-02-02: Updated to VS2017 csproj with EF Core msbuild 2017-07-01: […]

Visualizing Elasticsearch Watcher events using ASP.NET Core 1.0, SignalR and Angular

This article shows how to display Elasticsearch Watcher events in an Angular UI using SignalR. The Elasticsearch Watcher events are sent to a MVC 6 controller in an ASP.NET Core 1.0 application. The action method in the controller handles the watcher events and sends the data to the Angular UI using SignalR and the SignalR […]

Using Elasticsearch Watcher to create data events in ASP.NET Core 1.0 MVC 6

This article shows how to setup Elasticsearch Watcher in Elasticsearch to call an MVC controller in an ASP.NET 5 application. The controller action method will handle these events in part 3 of this blog series. Code: https://github.com/damienbod/AspNet5Watcher 2015.09.20: Updated to ASP.NET Core 1.0 beta 7 2015.10.20: Updated to ASP.NET Core 1.0 beta 8 2015.11.18: Updated […]

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. […]

Drag and drop bootstrap tabs in ASP.NET Core 1.0 with AngularJS

This article shows how to create a bootstrap tab menu with data from an MVC 6 service in an ASP.NET Core 1.0 application using Angular. The tabs can be dragged and dropped so that the position or tab order can be changed by the user. The drag and drop list is implemented using angular-drag-and-drop-lists from […]