---
title: "Discussion on \"transient, scoped, and singleton\" | Hashnode"
description: "Discussion on \"transient, scoped, and singleton\". // IProductCatalogService.cs\npublic interface IProductCatalogService {\nList GetProducts();\n}\n// IShoppingCartService.cs\npublic interface IShoppingCartService {\nvoid AddToCart(Product product);\nList GetCartItems();\n}\n// IOrderProcessingService.cs\npubl..."
url: "https://hashnode.com/posts/transient-scoped-and-singleton/64cccdb525f6a9a8927a5e48"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [transient, scoped, and singleton](https://tandan.hashnode.dev/transient-scoped-and-singleton?utm_source=hashnode&utm_medium=feed)

// IProductCatalogService.cs public interface IProductCatalogService { List GetProducts(); } // IShoppingCartService.cs public interface IShoppingCartService { void AddToCart(Product product); List GetCartItems(); } // IOrderProcessingService.cs publ...

Aug 4, 2023 · 1 min read · tandan.hashnode.dev  
Read the article

## Written by

[Ashok Tandan](https://hashnode.com/@ashok_tandan)

@ashok\_tandan · Gurgaon

  
[View profile](https://hashnode.com/@ashok_tandan)

software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
