ASP.NET CORE – Top Interview questions

  1. How is ASP.NET different from ASP.NET Core?
  2. How to register services in core project?
  3. DI in core & service lifetimes?
  4. Authentication in .net core?
  5. Explain startup.cs methods?
  6. What is middleware?
  7. Life cycle of asp.net core application?
  8. DI life cycle?
  9. What are the key differences between .NET Framework and .NET Core?
  10. Explain the middleware pipeline in ASP.NET Core.
  11. How do you implement authentication and authorization in ASP.NET Core?
  12. What is the purpose of the IHostedService interface in .NET Core?
  13. How do you configure dependency injection in ASP.NET Core?
  14. Explain the difference between ASP.NET MVC and ASP.NET Web Forms.
  15. What is the role of the Startup class in ASP.NET Core?
  16. How do you configure middleware in ASP.NET Core?
  17. What is dependency injection and how is it implemented in ASP.NET Core?
  18. Explain the concept of routing in ASP.NET Core?
  19. How to validate the request params in middleware?
  20. Difference between app.use, app.run?
  21. What is ShortCircuit and MapShortCircuit?
  22. What is endpoint routing?
  23. How to implement terminal middleware?
  24. Difference between Map, MapGet?
  25. What is the use of RequestDelegate?
  26. Differences between MapWhen and UseWhen?
  27. How do you implement data protection?
  28. What are tag helpers in ASP.NET Core?
  29. How do you handle exceptions in ASP.NET Core?
  30. What is the difference between IActionResult and ActionResult?
  31. How do you implement authentication and authorization in ASP.NET Core?
  32. What is the purpose of appsettings.json file?
  33. Explain the concept of model binding in ASP.NET Core.
  34. What are Razor Pages and how do they differ from MVC?
  35. How do you implement logging in ASP.NET Core?
  36. What is the purpose of ViewComponents in ASP.NET Core?
  37. Explain the concept of Entity Framework Core.
  38. How do you create and use middleware in ASP.NET Core?
  39. What is the difference between ViewData, ViewBag, and TempData?
  40. How do you implement caching in ASP.NET Core?
  41. What is the purpose of Kestrel server in ASP.NET Core?
  42. Explain the concept of SignalR in ASP.NET Core.
  43. How do you handle file uploads in ASP.NET Core?
  44. What is the difference between HttpGet and HttpPost attributes?
  45. How do you implement globalization and localization in ASP.NET Core?
  46. What is the purpose of IHostingEnvironment interface?
  47. Explain the concept of filters in ASP.NET Core.
  48. How do you secure an ASP.NET Core application?
  49. What is the difference between AddMvc and AddControllersWithViews?
  50. How do you implement custom validation in ASP.NET Core?
  51. What is the purpose of IApplicationBuilder interface?
  52. Explain the concept of Web API in ASP.NET Core.
  53. How do you implement versioning in ASP.NET Core Web API?
  54. What is the purpose of IServiceCollection interface?
  55. How do you implement health checks in ASP.NET Core?
  56. What is the difference between Singleton, Scoped, and Transient lifetimes?
  57. How do you implement background tasks in ASP.NET Core?
  58. What is the purpose of IConfiguration interface?
  59. Explain the concept of gRPC in ASP.NET Core.
  60. How do you implement response compression in ASP.NET Core?
  61. What is the purpose of IWebHostBuilder interface?
  62. How do you implement HTTPS redirection in ASP.NET Core?
  63. What is the difference between IFormFile and IFormCollection?
  64. How do you implement custom middleware in ASP.NET Core?
  65. What is the purpose of IActionFilter interface?
  66. How do you implement API documentation using Swagger in ASP.NET Core?
  67. What is the difference between ModelState.IsValid and TryValidateModel?
  68. How do you implement cross-origin resource sharing (CORS) in ASP.NET Core?
  69. What is the purpose of IUrlHelper interface?
  70. How do you implement dependency injection in ASP.NET Core?
  71. Explain the concept of Blazor in ASP.NET Core.

ASP.NET CORE CASE STUDIES

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *