public MatchPlayersController() { string strRealTimeChessUri = WebConfigurationManager.AppSettings["RealTimeChessUri"]; baseUri = new Uri(strRealTimeChessUri); authCredsBasic = new BasicAuthenticationCredentials(); apiChess = new RealTimeChessAPI(baseUri, authCredsBasic); }
public PlayerTypesController() { rootWebConfig1 = WebConfigurationManager.OpenWebConfiguration(null); configRealTimeChessUri = rootWebConfig1.AppSettings.Settings["RealTimeChessUri"]; string strRealTimeChessUri = configRealTimeChessUri.Value; baseUri = new Uri(strRealTimeChessUri); authCredsBasic = new BasicAuthenticationCredentials(); apiChess = new RealTimeChessAPI(baseUri, authCredsBasic); }
public PlayersController() { baseUri = new Uri("https://texasrealtimechess.azurewebsites.net"); // ("https://localhost:44373/"); authCredsBasic = new BasicAuthenticationCredentials(); apiChess = new RealTimeChessAPI(baseUri, authCredsBasic); }
public PlayersController() { baseUri = new Uri("https://localhost:44373/"); authCredsBasic = new BasicAuthenticationCredentials(); apiChess = new RealTimeChessAPI(baseUri, authCredsBasic); }