Angular 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 ArticleReleased SQL Localization NuGet package for ASP.NET Core, dotnet
I have released a simple SQL Localization NuGet package which can be used with ASP.NET Core and any database supported by Entity Framework Core. The localization can be used like the default 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 ArticleAdding SQL localization data using an Angular 2 form and ASP.NET Core
This article shows how SQL localized data can be added to a database using Angular 2 forms which can then be displayed without restarting the application. The ASP.NET Core localization is implemented...
View ArticleASP.NET Core, Angular2 with Webpack and Visual Studio
This article shows how Webpack could be used together with Visual Studio ASP.NET Core and Angular2. Both the client and the server side of the application is implemented inside one ASP.NET Core project...
View ArticleImport and Export CSV in ASP.NET Core
This article shows how to import and export csv data in an ASP.NET Core application. The InputFormatter and the OutputFormatter classes are used to convert the csv data to the C# model classes. Code:...
View ArticleInjecting Configurations in Razor Views in ASP.NET Core
This article shows how application configurations can be injected and used directly in razor views in an ASP.NET Core MVC application. This is useful when an SPA requires application URLs which are...
View ArticleImport, Export ASP.NET Core localized data as CSV
This article shows how localized data can be imported and exported using Localization.SqlLocalizer. The data is exported as CSV using the Formatter defined in the WebApiContrib.Core.Formatter.Csv...
View ArticleASP.NET Core logging with NLog and Microsoft SQL Server
This article shows how to setup logging in an ASP.NET Core application which logs to a Microsoft SQL Server using NLog. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series:...
View ArticleASP.NET Core logging with NLog and Elasticsearch
This article shows how to Log to Elasticsearch using NLog in an ASP.NET Core application. NLog is a free open-source logging for .NET. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in...
View ArticleASP.NET Core 1.0 with MySQL and Entity Framework Core
This article shows how to use MySQL with ASP.NET Core 1.0 using Entity Framework Core. Code: https://github.com/damienbod/AspNet5MultipleProject Thanks to Noah Potash for creating this example and...
View ArticleImplementing UNDO, REDO in ASP.NET Core
The article shows how to implement UNDO, REDO functionality in an ASP.NET Core application using EFCore and MS SQL Server. This is the first blog in a 3 part series. The second blog will implement the...
View ArticleAngular 2 Auto Save, Undo and Redo
This article shows how to implement auto save, Undo and Redo commands in an Angular 2 SPA. The Undo and the Redo commands work for the whole application and not just for single components. The Angular...
View ArticleASP.NET Core Action Arguments Validation using an ActionFilter
This article shows how to use an ActionFilter to validate the model from a HTTP POST request in an ASP.NET Core MVC application. Code: https://github.com/damienbod/Angular2AutoSaveCommands Other...
View Article