Tag Archives: ASP.NET 5

ASP.NET Core 1.0 updating to beta8 from older beta versions

This post just explains some of the things you need to do when updating to ASP.NET Core 1.0 beta8 from older versions. I have updated some existing ASP.NET Core 1.0 example projects to beta8. The first thing you have to do is to update your dnvm, dnu and your dnx. This is the same as […]

ASP.NET Core multiple configurations without using environment variables

This article shows how to use multiple Json configuration files in ASP.NET Core 2.1 which can be used in CI for automatic deployment without requiring environment variables. Code: https://github.com/damienbod/AspNetCoreConfiguration 2018-06-20: Updated to ASP.NET Core 2.1 2017-08-15: 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: […]

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

ASP.NET 5 examples and links

This is my landing page which I use for presentations or reference. See the links underneath for getting started with ASP.NET 5. Experiments with Entity Framework 7 and ASP.NET 5 MVC 6 code | blog | Version: ASP.NET 5 rc1 ASP.NET 5 MVC 6 API documentation using Swashbuckle Swagger code | blog | Version: ASP.NET […]

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