Full Server logout with IdentityServer4 and OpenID Connect Implicit Flow
The article shows how to fully logout from IdentityServer4 using an OpenID Connect Implicit Flow. Per design when using an access token to use protected data from a resource server, even if the client...
View ArticleSetting the NLog database connection string in the ASP.NET Core appsettings.json
This article shows how the NLog connection string for the DatabaseTarget can be configured in the appsettings.json in an ASP.NET Core project and not the XML nlog.config file. All the NLog target...
View ArticleIdentityServer4, Web API and Angular2 in a single ASP.NET Core project
This article shows how IdentityServer4 with Identity, a data Web API, and an Angular 2 SPA could be setup inside a single ASP.NET Core project. The application uses the OpenID Connect Implicit Flow...
View ArticleUsing SASS with Webpack, Angular2 and Visual Studio
This post shows how to use SASS with Webpack and Angular 2 in Visual Studio. I had various problems trying to get this to work from Visual Studio using a Webpack build. The following is a solution...
View ArticleAngular2 autocomplete with ASP.NET Core and Elasticsearch
This article shows how autocomplete could be implemented in Angular 2 using ASP.NET Core MVC as a data service. The API uses Elasticsearch to query the data requests. ng2-completer is used to implement...
View ArticleAngular2 search with ASP.NET Core and Elasticsearch
This article shows how a website search could be implemented using Angular 2, ASP.NET Core and Elasticsearch. Most users expect autocomplete and a flexible search like some of known search websites....
View ArticleExtending Identity in IdentityServer4 to manage users in ASP.NET Core
This article shows how Identity can be extended and used together with IdentityServer4 to implement application specific requirements. The application allows users to register and can access the...
View ArticleContributing to OSS projects on gitHub using fork and upstreams
This article is a simple guideline on how you could contribute to gitHub OSS projects using fork and upstream. This is not the only way to do it. git Extensions is used for this demo, but any git...
View ArticleEF Core diagnosis and features with MS SQL Server
This article shows how Entity Framework Core messages can be logged, and compared using the SQL Profiler and also some of the cool new 1.1 features, but not all. All information can be found on the...
View ArticleImplementing a Client White-list using ASP.NET Core Middleware
This article shows how a client white-list could be implemented using ASP.NET Core middleware checking the Remote IP address of the request. If the client IP is on the white-list, no restrictions...
View ArticleCreating an ASP.NET Core 1.1 VS2017 Docker application
This blog shows how to setup a basic ASP.NET Core 1.1 application using Visual studio 2017 and Docker. Code: https://github.com/damienbod/AspNetCoreVS2017Docker This article from Swaminathan Vetri...
View ArticleBuilding production ready Angular apps with Visual Studio and ASP.NET Core
This article shows how Angular SPA apps can be built using Visual Studio and ASP.NET Core which can be used in production. Lots of articles, blogs templates exist for ASP.NET Core and Angular but very...
View ArticleAngular 2 Lazy Loading with Webpack 2
This article shows how Angular 2 lazy loading can be supported using Webpack 2 for both JIT and AOT builds. The Webpack loader angular-router-loader from Brandon Roberts is used to implement this. A...
View ArticleCreating an ASP.NET Core Docker application and deploying to Azure
This blog is a simple step through, which creates an ASP.NET Core Docker image using Visual Studio 2017, deploys it to Docker Hub and then deploys the image to Azure. Thanks to Malte Lantin for his...
View ArticleDocker compose with ASP.NET Core, EF Core and the PostgreSQL image
This article show how an ASP.NET Core application with a PostgreSQL database can be setup together using docker as the deployment containers for both web and database parts of the application....
View ArticleHot Module Replacement with Angular and Webpack
This article shows how HMR, or Hot Module Replacement can be used together with Angular and Webpack. Code: Visual Studio 2015 project | Visual Studio 2017 project Blogs in this series: ASP.NET Core,...
View ArticleImplementing an Audit Trail using ASP.NET Core and Elasticsearch with NEST
This article shows how an audit trail can be implemented in ASP.NET Core which saves the audit documents to Elasticsearch using NEST. Code:...
View Article.NET Core logging to MySQL using NLog
This article shows how to log to MySQL in a .NET Core application using NLog. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series: ASP.NET Core logging with NLog and Microsoft...
View ArticleTesting an ASP.NET Core MVC Protobuf API using HTTPClient and xUnit
The article shows how to test an ASP.NET Core MVC API using xUnit and a HTTPClient client using Protobuf for the content formatters. Code: https://github.com/damienbod/AspNetMvc6ProtobufFormatters...
View ArticleASP.NET Core Error Management with elmah.io
This article shows how to use elmah.io error management with an ASP.NET Core application. The error, log data is added to elmah.io using different elmah.io nuget packages, directly from ASP.NET Core...
View Article