///<summary>This method will get invoked by clients that are having trouble connecting to the middle tier. ///It does not query the database on purpose because each instance of Open Dental can have many threads asking this question. ///Also, some payloads have an impressive amount of data that had to be serialized and this method will have a small signature, ///thereby reducing network traffic during the timeframe that Clients are attempting to reconnect to the Middle Tier server.</summary> public static bool IsMiddleTierAvailable() { //Clients will be invoking this method so there needs to be a remoting role check here even though no db call. if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { return(Meth.GetIsMiddleTierAvailable(MethodBase.GetCurrentMethod())); } return(RemotingClient.RemotingRole == RemotingRole.ServerWeb); }