简体   繁体   中英

Ping Azure Cloud Service

I have a Client Application that works directly with an Azure Hosted WCF Service, I would like to consistently PING my service to ensure a consistent and stable connection, as my client application requires a consistent connection to function properly.

Is there any method to do this?

Setting up Web App monitoring should work for you. You can also create a web page just for the endpoint monitoring. For example, you can add several check ups before returning STATUS 200 OK on your Web Service. Here's a step by step to enable a simple rule of Response Time monitoring.

  1. Navigate to your website, select configure tab;
  2. Scroll to Monitoring Section >> Endpoints. Add a name, url, select one or more data centers as test locations;
  3. Go to Monitor tab, click Add Metrics;
  4. Select Endpoints Tab >> Check all that applies to your use case;
  5. On Monitor list >> Select Response Time >> Click Add Rule;
  6. Give it a Name, Description >> Choose condition threshold >> Check Send an email to the service administrator;
  7. Apply

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM