In .NET, Function Overloading and Function Overriding are both forms of Polymorphism, but they work very differently.
Authorization in ASP.NET Core is typically implemented in 4 common ways:
-
Role-Based Authorization
-
Policy-Based Authorization
-
Claims-Based Authorization
-
Custom Authorization Handler
Authentication and Authorization are two fundamental security concepts in ASP.NET Core and most modern applications.
In C#, Value Types and Reference Types define how data is stored and passed in memory.
In C#, the using keyword is used for three different purposes. This is a very common interview question.
The difference between .NET Framework and .NET Core is one of the most common .NET interview questions.
In C#, Abstract Class and Interface are both used for abstraction, but they serve different purposes.
UseWhen and MapWhen are conditional middleware branching methods in .NET Core.
Middleware in .NET Core is a piece of code that handles HTTP requests and responses in the application's request pipeline.
In .NET Core Middleware pipeline, Use, Run, and Map control how request flows through middleware.
