![](images/logo-h100px.png?v=1)
International Journal on Science and Technology
E-ISSN: 2229-7677
•
Impact Factor: 9.88
A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal
Home
Research Paper
Submit Research Paper
Publication Guidelines
Publication Charges
Upload Documents
Track Status / Pay Fees / Download Publication Certi.
Editors & Reviewers
View All
Join as a Reviewer
Reviewer Referral Program
Get Membership Certificate
Current Issue
Publication Archive
Conference
Contact Us
Plagiarism is checked by the leading plagiarism checker
Call for Paper
Volume 16 Issue 1
2025
Indexing Partners
![Academia.edu Academia](images/index-partners/academia.png)
![Advanced Sciences Index Advanced Sciences Index](images/index-partners/advanced-sciences.png)
![Bielefeld Academic Search Engine Bielefeld Academic Search Engine](images/index-partners/bielefeld.gif)
![CiteSeer CiteSeer](images/index-partners/cite-seer.png)
![DRJI DRJI](images/index-partners/drji.png)
![Google Scholar Google Scholar](images/index-partners/google-scholar.png)
![Independent Search Engine & Directory Network (isedn.org) Independent Search Engine & Directory Network](images/index-partners/isedn.jpg)
![ISI (International Scientific Indexing) ISI (International Scientific Indexing)](images/index-partners/isi.png)
![Issuu Issuu](images/index-partners/issuu.png)
![Mendeley Research Networks Mendeley Research Networks](images/index-partners/mendeley.png)
![RefSeek RefSeek](images/index-partners/ref-seek.png)
![ResearcherId - Thomson Reuters ResearcherId - Thomson Reuters](images/index-partners/researcher-id.png)
![ResearchGate ResearchGate](images/index-partners/research-gate.png)
![Scirus Scirus](images/index-partners/scirus.png)
![Scribd Scribd](images/index-partners/scribd.gif)
![Semantic Scholar Semantic Scholar](images/index-partners/semantic-scholar.png)
![UTeM - Universiti Teknikal Malaysia Melaka UTeM - Universiti Teknikal Malaysia Melaka](images/index-partners/utem.png)
![Wiki for Call for Papers Wiki for Call for Papers](images/index-partners/wiki-cfp.png)
![WorldCat WorldCat](images/index-partners/world-cat.png)
An Empirical Study of Dependency Injection Lifetime Effects in C# Applications
Author(s) | AzraJabeen Mohamed Ali |
---|---|
Country | United States |
Abstract | This empirical study investigates the effects of different Dependency Injection (DI) lifetimes in C# applications, focusing on their impact on performance, resource management, and maintainability. DI lifetimes—such as Transient, Scoped, and Singleton—play a crucial role in the lifecycle of objects and services within a system. While DI frameworks, such as Microsoft.Extensions.DependencyInjection, offer flexibility in managing these lifetimes, the practical consequences of each scope on large-scale C# applications remain underexplored. Through a series of controlled experiments, we analyze key metrics including memory usage, application startup time, response times, and ease of unit testing across varying lifetimes. The study also examines the trade-offs between performance and maintainability, providing insights into best practices for choosing appropriate lifetimes in different architectural contexts. Our findings reveal how improper DI lifetime choices can lead to resource inefficiencies and reduced application scalability, while also highlighting the benefits of well-managed scopes for improving code quality and testability. Ultimately, this research contributes to a deeper understanding of DI lifetime management and offers actionable recommendations for developers to optimize their C# applications' design and performance. |
Keywords | Dependency Injection, lifetime, Transient, Scoped, Singleton, lifecycle, Service provider, Service Collection |
Published In | Volume 14, Issue 2, April-June 2023 |
Published On | 2023-04-05 |
Cite This | An Empirical Study of Dependency Injection Lifetime Effects in C# Applications - AzraJabeen Mohamed Ali - IJSAT Volume 14, Issue 2, April-June 2023. DOI 10.5281/zenodo.14613867 |
DOI | https://doi.org/10.5281/zenodo.14613867 |
Short DOI | https://doi.org/g8x2wp |
Share this
![](images/issn-logo.png)
![](images/issn-bar-code.png)
CrossRef DOI is assigned to each research paper published in our journal.
IJSAT DOI prefix is
10.71097/IJSAT
Downloads
All research papers published on this website are licensed under Creative Commons Attribution-ShareAlike 4.0 International License, and all rights belong to their respective authors/researchers.
![](images/loading.gif)