asp.net - Is the Singleton Design Pattern good or bad practice for banking application in c#? -
is singleton design pattern or bad practice banking application in c# ? problem performance , security?
singleton design patterns used when don't want create more 1 object of class.
so depends on want do, , functionality trying implement.
for database connection can use singleton design pattern. transactions may want create thread safe singleton design pattern.
but whole, cannot said if singleton or bad practice banking service.
Comments
Post a Comment