protected override string ProcessRequest() { try { BlobStorageService _blobStorageService = new BlobStorageService(); string newsXmlFileBlobPath = _blobStorageService.GetSinglFile(BlobStorageService.Blob_XMLFileContainer, "News.xml"); GetNews(newsXmlFileBlobPath); return("{ \"Status\":\"Ok\",\"Message\" : \"successfully crawl news.\" }"); } catch (Exception ex) { return("{ \"Status\":\"Error\", \"Message\" : \"Error occured.\", \"ActualMessage\" : \"" + ex.Message + "\"}"); } }