ASP.NET Core 1.0 Exception Filters and Resource Filters
This article shows how an exception filter and a resource filter can be used in ASP.NET Core 1.0. Code: https://github.com/damienbod/AspNet5Filters 16.10.2015: Updated to ASP.NET Core 1.0 beta8...
View ArticleASP.NET Core 1.0 multiple configurations without using environment variables
This article shows how to use multiple Json configuration files in ASP.NET Core 1.0 which can be used in CI for automatic deployment without requiring environment variables. Code:...
View ArticleASP.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...
View ArticleASP.NET Core 1.0 MVC 6 Localization
This article shows some of the ways in which localization can be used in a MVC 6 ASP.NET Core 1.0 application. Code: https://github.com/damienbod/AspNet5Localization 20.11.2015: ASP.NET Core 1.0 rc1...
View ArticleUsing DataAnnotations and Localization in ASP.NET Core 1.0 MVC 6
This article shows how ASP.NET Core 1.0 localization can be used together with data annotations. The data annotations are used to decorate the data model, and when HTTP POST/PUT (also PATCH) Requests...
View ArticleOAuth2 Implicit Flow with Angular and ASP.NET Core 1.0 IdentityServer
This article shows how to implement the OAuth2 Implicit Flow with an Angular client and IdentityServer4 hosted in ASP.NET Core 1.0. The code was built using the IdentityServer4.Samples. Thanks to...
View ArticleUsing Elasticsearch with ASP.NET Core 1.0 dnxcore50
This article shows how to use Elasticsearch with ASP.NET Core 1.0, dnxcore or dnx451. ElasticsearchCrud ASP.NET Core 1.0 rc1 version is used for the Elasticsearch data access. ElasticsearchCrud...
View ArticleASP.NET Core 1.0 MVC 6 File Upload with MS SQL SERVER FileTable
This article shows how to upload and download files in ASP.NET Core 1.0 MVC 6 and save the files to a MS SQL Server using FileTable. The data access for the application is implemented in a separate...
View ArticleASP.NET Core 1.0 MVC 6 API documentation using Swashbuckle Swagger
This article shows how to document your MVC 6 API using Swagger with Swashbuckle. Per default, it does not use your xml comments in the code and this needs to be configured if required. Code:...
View ArticleExperiments with Entity Framework 7 and ASP.NET Core 1.0 MVC 6
The article shows some of the ways in which Entity Framework 7 can be used together with ASP.NET Core 1.0 MVC 6. Both packages run on dnxcore which makes it possible to run on Linux, Mac or Windows...
View ArticleASP.NET Core 1.0 using SQL Localization
This article shows how to use SQL localization in ASP.NET Core using an SQL database. The SQL localization in the demo uses Entity Framework Core to access a SQLite database. This can be configured to...
View ArticlePlotly charts using Angular, ASP.NET Core 1.0 and Elasticsearch
This article shows how to use a javascript Plotly Bar Chart in Angular to display data from an ASP.NET Core 1.0 MVC application. The server uses Elasticsearch as persistence and uses it to retrieve the...
View ArticleAngular OpenID Connect Implicit Flow with IdentityServer4
This article shows how to implement the OpenID Connect Implicit Flow using Angular. This previous blog implemented the OAuth2 Implicit Flow which is not an authentication protocol. The OpenID Connect...
View ArticleAngular2 OpenID Connect Implicit Flow with IdentityServer4
This article shows how to implement an OpenID Connect Implicit Flow client in Angular2. The Angular2 client is implemented in Typescript and uses IdentityServer4 and an ASP.NET core 1.0 resource...
View ArticleSecure file download using IdentityServer4, Angular2 and ASP.NET Core
This article shows how a secure file download can be implemented using Angular 2 with an OpenID Connect Implicit Flow using IdentityServer4. The resource server needs to process the access token in the...
View ArticleAngular 2 child routing and components
This article shows how Angular 2 child routing can be set up together with Angular 2 components. An Angular 2 component can contain it’s own routing, which makes it easy to reuse or test the components...
View ArticleAngular2 secure file download without using an access token in URL or cookies
This article shows how an Angular 2 SPA client can download files using an access token without passing it to the resource server in the URL. The access token is only used in the HTTP Header. If the...
View ArticleCreating an Angular 2 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...
View ArticleAngular 2 Localization with an ASP.NET Core MVC Service
This article shows how localization can be implemented in Angular 2 for static UI translations and also for localized data requested from a MVC service. The MVC service is implemented using ASP.NET...
View ArticleCreating and requesting SQL localized data in ASP.NET Core
This article shows how localized data can be created and used in a running ASP.NET Core application without restarting. The Localization.SqlLocalizer package is used to to get and localize the data,...
View Article