Explain how authentication and authorization are implemented in ASP.NET Core. Describe the roles of ASP.NET Core Identity, JWT, OAuth 2.0, and OpenID Connect.
Describe the different hosting models in ASP.NET Core (in-process vs. out-of-process).
What is Kestrel? Explain its role and how it differs from IIS. When is it typically used with a reverse proxy (like Nginx or IIS)?
Explain different ways to manage state in anASP.NET Coreapplication (e.g.,Session state,TempData,ViewData,ViewBag,Cookies). What are thepros and consof each?
What are filters in ASP.NET Core (e.g., Authorization, Resource, Action, Exception, Result)? Provide use cases for each type.
How do you implement model validation in ASP.NET Core? Describe Data Annotations and Fluent Validation approaches. Mid Level
Explain model binding in ASP.NET Core . How does it map incoming HTTP request data to action method parameters ?
What is the difference between an MVC Controller and an API Controller in ASP.NET Core ?
What is the difference between IActionResult and ActionResult ? When would you use each?
What are controllers and action methods in ASP.NET Core MVC/API ?
Explain routing in ASP.NET Core . Differentiate between conventional routing and attribute routing .
What is the Options pattern , and how is it used for accessing strongly-typed configuration in ASP.NET Core ?
How does configuration management work in ASP.NET Core ? Explain configuration providers (e.g., appsettings.json , environment variables , user secrets , Azure Key Vault ).
What is the purpose of the Startup.cs class (in older templates) or the Program.cs setup (in minimal hosting models)? Explain the ConfigureServices and Configure methods (or their equivalents).
Describe the built-in Dependency Injection (DI) container in ASP.NET Core. Explain the difference between AddTransient , AddScoped , and AddSingleton service lifetimes with practical examples.
How do youregister and configure middlewarein theStartup.csorProgram.csfile? How would youcreate custom middleware?
Explain the request processing pipeline in ASP.NET Core . What is the role of middleware ?
What is ASP.NET Core ? How does it differ from classic ASP.NET ?
Explain the difference between IHttpClientFactory and directly using HttpClient . When would you use IHttpClientFactory ?
What are the different .NET Core CLI commands you frequently use, and what do they do (e.g., dotnet run , dotnet build , dotnet publish )?
How does .NET Core support cross-platform development ?
What are .NET Standard libraries, and why are they useful?
What is the difference betweenTaskandValueTask? When might you preferValueTask? Expertise Level: Mid Level
Explain potential pitfalls when using async/await , such as deadlocks . What is ConfigureAwait(false) and when should it be used?
What is the difference between async/await and traditional threading?

