Secure 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 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 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 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 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 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 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 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 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 Article