Basic ASP.NET MVC Interview Questions with answers Part 1
This first part of the ASP.NET Interview Q & A series includes 25 Important questions and answers -
- Question 1 :- What is ASP .NET MVC Core ?
- Question 2 :- Differentiate between ASP .NET Webforms vs MVC vs MVC core ?
- Question 3 :- Explain MVC Architecture ?
- Question 4 :- Why do we have wwwroot folder ?
- Question 5 :- Explain the importance of appsettings.json ?
- Question 6 :- How to read configurations from appsettings.json ?
- Question 7 :- What is dependency injection ?
- Question 8 :- Why do we need dependency injection ?
- Question 9 :- How do we implement dependency injection ?
- Question 10 :- What is the use of Middleware ?
- Question 11 :- How to create a Middle ware ?
- Question 12 :- What does startup.cs file do ?
- Question 13 :- ConfigureServices vs Configure method ?
- Question 14 :- Explain the different Ways of doing DI?
- Question 15 :- Explain Scoped vs Transient vs Singleton ?
- Question 16 :- What is Razor ?
- Question 17 :- How to pass Model data to a View ?
- Question 18 :- What is the use of Strongly typed views ?
- Question 19 :- Explain the concept of ViewModel in MVC ?
- Question 20 :- What is Kestrel Web Server ?
- Question 21 :- Why Kestrel when we have IIS server ?
- Question 22 :- What is the concept of Reverse proxy ?
- Question 23 :- What are cookies ?
- Question 24 :- What is the need session management ?
- Question 25 :- What are the various ways of doing Session management in ASP.NET ?