Conventions used
There are a number of text conventions used throughout this book.
Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We will be using the dotnet new mvc
command with some extra parameters for supporting authentication using Azure AD B2C.”
A block of code is set as follows:
var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); app.UseStaticFiles(); app.MapFallbackToFile("index.html"); app.Run();
Any command-line input or output is written as follows:
> dotnet new mvc -o Chapter13.MVC --framework net6.0 --auth IndividualB2C --aad-b2c-instance https://pakctchapter13.b2clogin.com --susi-policy-id B2C_1_SignupSignIn --domain pakctchapter13.onmicrosoft.com --SignedOutCallbackPath /signout/B2C_1_SignupSignIn --client-id 43ce7f01-c5f0-4198-b3bc-fed398f319f9 --tenant-id f5aa067e-157b-4b56-b18b-8197479efea7 --callback-path /signin-oidc
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Once the Azure AD B2C resource is created, we can click on View resource and view the overview of Azure AD B2C.”
Tips or important notes
Appear like this.