Created
February 1, 2020 15:52
-
-
Save CoreProgramm/e0685d5d5a5f98a46a5b9c11e894fef7 to your computer and use it in GitHub Desktop.
Difference between AddSingleton vs AddScoped vs AddTransient in asp.net core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Mobile | |
{ | |
public int id { get; set; } | |
public string name { get; set; } | |
public string model { get; set; } | |
public string price { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment