Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

DotNet Core

1. What are different types of service lifetimes in .NET Core?


Transient Service: Instance is created each time it is requested.
Scoped Service: User-specific instance is created once per user and shared
across all the requests.
Singleton Service: Single Instance is created once a lifetime of the
application.
2. Why is Startup Class important?
3. How is SDK different from runtime in .NET Core?

Angular
1. Can you Explain the lifecycle hooks in Angular
2. What are Promises and Observables in Angular?
3. How do you deal with errors in observables?

ASP.Net MVC
1. What is the Database First approach in MVC, which uses the Entity Framework?
2. What is the differance RenderAction and RenderPartial? What will they do?
3. What is the use of Keep and Peek in “TempData”?
4. How can we detect that an MVC controller is called by POST or GET?

You might also like