Most Frequently Asked .Net Core Interview Questions
Here are some most frequently asked ASP.Net Core Interview Questions that you should prepare for the interview:
Q01. What is the ASP.NET Core?
Q02. What are the advantages of .NET Core?
Q03. What is the latest version of .NET Core? What's new in this version?
Q04. What is the difference between .Net Core and .Net Framework?
Q05. How is .NET Core SDK different from .NET Core Runtime?
Q06. What is the ASP.NET Core application life cycle?
Q07. How ASP.Net Core MVC Life cycle? How it is different from ASP.NET Core application life cycle?
Q08. What is the Application Startup Process in Asp.net Core?
Q09. What is the use of Program.cs file and Startup.cs in .Net core?
Q10. What is WebListener? When you should use WebListner?
Q11. What is Kestrel in .Net Core? Why Kestrel is required in .Net Core?
Q12. What is the difference between Kestrel and IIS?
Q13. What is Middleware in .Net Core?
Q14. Where can you configure the Middleware in .Net Core?
Q15. What is terminal Middleware? What is the use of it?
Q16. What is the difference between app.Use() and app.Run() methods in .Net Core?
Q17. What is the use of next.Invoke() method in .Net Core?
Q18. What is the order of Middlewares in the .Net Core App?
Q19. What is the difference between synchronous and asynchronous middleware?
Q20. What is Conditional middleware? How can you add conditional middleware in .Net Core?
Q21. What is Configure() method in .NET Core? Is it mandatory to define the Configure() method?
Q22. What is Filters in MVC.Net Core?
Q23. If you have to add Exception or Authorization, where would you prefer to add filter or in middleware?
Q24. What is the difference between Stateful and Stateless authentication in .Net Core?
Q25. What is the use of ConfigureServices() method in .NET Core? Is it mandatory to define the ConfigureServices() method?
Q26. What are service lifetimes in .NET Core?
Q27. What is the difference between the ConfigureServices() and Configure() methods of the Startup.cs class?
Q28. What is dependency injection? What problems does Dependency Injection solve?
Q29. How to implement Dependency Injection in .NET Core?
Q30. What is the difference between AddSingleton() vs AddScoped() vs AddTransient()?
Q31. What is Delegate? Why do you need Delegates?
Q32. What are the features of the .Net Framework which is not supported by .Net Core?
Q33. What is single-page application (SPA)?
Q34. What is ASP.Net Core Identity?
Q35. What is the difference between OpenID, OAuth, and SAML?
Q36. What is HttpContext? How to access HttpContext in ASP.NET Core?
Q37. What is wwwroot folder in ASP.NET Core? Why it is required?
Q38. What are different Configuration files available in .Net Core?
Q39. What is the difference between launchSettings.json vs appsettings.json file in ASP.NET Core?
Q40. What is the use of the bundleconfig.json file in ASP.NET Core?
Q41. What are Environment Variables in ASP.NET Core? How can you read them?
Q42. What is the difference between GetSection(), GetValue() and Value in ASP.NET Core?
Q43. What is the difference between MapGet() and Map() methods?
Q44. How can you create your own custom middleware and register it in the middleware in .Net Core?
Q45. What are the different ways to handle Errors and Exceptions in .Net Core applications?
Q46. What is the difference between UseDeveloperExceptionPage and UseExceptionHandler?
Q47. What is the difference between Exception filters and built-in UseExceptionHandler middlewares in ASP.Net Core?
Q48. How can you configure logging in ASP.Net Core applications?
Q49. What is .NET Native? What are the advantages of .Net Native?
Q50. What is TFM (Target Framework Moniker) in .Net Core?
Q51. What is UWP (Universal Windows Platform) App in .Net?
Q52. What is OWIN? How can you use OWIN in ASP.NET Core?
Q53. What is CORS? How to enable CORS in ASP.NET Core?
Q54. What is a Secret Manager in ASP.Net Core?
Q55. What is Swagger? How can you integrate it into ASP.Net Core?
Q56. What is OpenAPI Specification? What is the difference between OpenAPI and Swagger?
Q57. What is Routing? How does routing work in ASP.Net Core?
Q58. What is the different between UseMvcWithDefaultRoute() method and UseMvc() middleware in ASP.Net Core MVC?
Q59. What is Attribute-based Routing in ASP.Net Core?
Q60. What is End Point? What is End Point Routing in ASP.Net Core?
Q61. What is lazy loading? How does the lazy loading approach work?
Q62. What is the difference between async calls and parallel calls?
Q63. How do you create a LINQ extension method?
Q64. How can you relate SOLID principles and dependency injection?
Q65. How do you make thread-safe code?
Q66. How can you troubleshoot Endpoint response time? Suppose an endpoint returns a result of 5 seconds, but the requirement says 2 seconds is a max. How are you going to troubleshoot it?
Q67. What is the difference between .Net Core and .NET Standard?
Q68. How does .NET Core support cross-platform development?
Q69. What is the difference between synchronous and asynchronous programming in .NET Core? When should you use each approach?
Q70. Why .NET Core is faster than .NET Framework?
Q71. What is the purpose of webHostBuilder() in .Net core?
Q72. What is the difference between Task and Thread in .NET Core?
Q73. What is the use of the IDisposable interface?
Q74. What is MEF (Managed Extensibility Framework) in .NET Core?
Q75. What are the steps to implement security in a .NET Core web application?
No comments:
Post a Comment
Please do not enter any HTML. JavaScript or spam link in the comment box.