.NET (previously named .NET Core) is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. It is a cross-platform successor to .NET Framework. The…
A Blazor app is composed of reusable web UI components built using C#, HTML and CSS. By using Blazor, developers can build client and server code with C#. Developers can…
When a user is authenticated a Claim can be made. It will contain information about the user. A claim consists of a name and value pair. A claim for an…
ClaimIdentity is a collection of Claims.
Here is an example of a ClaimsIdentity: Your diving license - it contains claims like DateOfBirth, LicenseNo, FirstName, Lastname, etc... this makes the driving…
ClaimsPrincipal is a collection of ClaimsIdentity. I often think of ClaimsPrinciple as the Identity (The principle in the situation). It could be a user in your app.
When a user…
CSS or Cascading Style Sheets is a style sheet language used to define visual appearance and formatting of HTML documents. WordPress themes use CSS and HTML to output the data…
A Query is a term developers are using to describe the act of selecting, inserting, deleting, or updating data in a database also known as CRUD operations. In programming, queries…
What is Scoped?
A Scoped service is created at every request, meaning that the objects are the same within that request, but different across multiple requests (different requests).
When to…
What is a Singleton?
When using Singleton we only register the service one time. This means that the registered object is the same for every object and every request.
When…
What is a Transient?
A Transient object is always different. This means that a new instance of the object is provided to every controller and every service.
When to use…