Monthly Archives: October 2018

Implementing User Management with ASP.NET Core Identity and custom claims

The article shows how to implement user management for an ASP.NET Core application using ASP.NET Core Identity. The application uses custom claims, which need to be added to the user identity after a successful login, and then an ASP.NET Core policy is used to authorize the identity. Code: History 2020-03-21 updated packages, fixed Admin […]

Using an OData Client with an ASP.NET Core API

The article shows how to implement an OData client from an ASP.NET Core application. Bearer token authorization is used to secure the API. Code: This blog is part 2 from this blog: Part 1: OData with ASP.NET Core History 2020-07-06 Updated .NET Core 3.1, IdentityServer4 4.0.2 Setting up the applications Three applications are used […]

OData with ASP.NET Core

This article explores how to setup an OData API with ASP.NET Core. The application uses Entity Framework Core with a database first approach using the adventureworks 2016 Microsoft SQL Database. Code: Part 2: Using an OData Client with an ASP.NET Core API History 2020-07-06 Updated .NET Core 3.1 Setting up the Database The […]

Creating a PDF in ASP.NET Core using MigraDoc PDFSharp

This article shows how to use MigraDoc in ASP.NET Core to create PDF documents. In the last blog post, Creating a PDF in ASP.NET Core, PDFSharp was used to create the PDF. MigraDoc is used on top on this, which makes it easy to create tables and other document layouts. Code: Setting up the […]