PROGRAM AREA
Statistics
The Highest Post
Statistics
Count
20
Avg
21.00
Min
21
Max
21
Asp.Net Core Top questions
Details
Peter Agyekum
Can you explain Service Lifetime in AspNet Core?
Built-in IoC container manages the lifetime of a registered service type. It automatically disposes a service instance based on the specified lifetime. The built-in IoC container supports three kinds of lifetimes: Singleton: IoC container will create and share a single instance of a service throughout the application's lifetime. Transient: The IoC container will create a new instance of the specified service type every time you ask for it. Scoped: IoC container will create an instance of the specified service type once per request and will be shared in a single request.
Post Reply
Back to HomePage
Related Topics
What is .NET Core?
What are some of the features of .Net Core?
Why Use ASP.NET Core for Web Application Development?
What is Startup.cs file in ASP.NET Core?
What ConfigureServices() method does in Startup.cs?
What is Kestral?
What is WebListener?
What is a Host and what’s the importance of Host in ASP.NET Core application?
How to handle 404 error in ASP.NET Core 1.0
What is the use of UseIISIntegration?
What are the different ways for bundling and minification in ASP.NET Core?
What is wwwroot folder in ASP.NET Core?
What is AspNetCore Middleware?
What is Static files in ASP.NET Core?
What is AspNetCore EndPoint?
What is host in AspNetCore?
What does CreateDefaultBuilder in program.cs in Asp.netCore?
What is Kestrel?
What is the difference between synchronous postback and asynchronous postback?
Can you explain Service Lifetime in AspNet Core?