If you have previously used OData API in your ASP.NET Core projects, you may have been disappointed to discover that it did not support Endpoint Routing. Well, now there is good news! That has changed beginning with the release of version 7.4.0 of OData. In this tutorial, you will learn ... Read more
Bradley Wells
Hi, I write C# and .NET tutorials. Follow me @bradwellsb
A lookup table in your Entity Framework Core database can be a more robust alternative to a simple
enum
when working with code-first C# data models. In this tutorial, you will learn how to create a lookup table and use its contents to populate a dropdown list in a Blazor ... Read moreThis tutorial will teach you how to automatically add an Azure AD B2C user to a local database table when the user completes the signup user flow. In particular, you will learn how to use the
OnTicketReceived
OpenIdConnectEvents event along with Azure's boolean newUser
claim to determine that a user ... Read moreData validation with Entity Framework Core and C# data models can be fun. In this tutorial, you will learn about some of the most useful annotation attributes that can be used to provide validation for a C# model. ... Read more
It is never a good idea to store secrets or passwords in your project’s source code. In an ASP.NET Core development environment, you can use the Secret Manager tool to store sensitive data. ... Read more
In this tutorial, you will learn how to override AccountController.cs in server-side Blazor so you can set a custom SignedOut URL when using Azure AD B2C authentication. If you have created a Blazor app with Azure AD B2C authentication, it was likely scaffolded using the helpful AzureADB2C.UI package. Unfortunately, ... Read more