Is it a good practice to implement the Facade pattern creating Singleton objects?
In the project I am developing, the facade object are going to be called from ASP.NET webforms server-side code, in order to encapsulate the domain logic.
EXAMPLE:
public sealed class UserFacade { private static UserFacade instance = null; private UserFacade() { } public static UserFacade Instance { get { if (instance == null) { instance = new UserFacade(); } return instance; } } public void DoSomethingRelatedWithUsers() { //Logic here } }