matjazbravc / ScreenScrapping-AzureFunction-Demo

This POC demonstrate simple usage of Azure functions and Screen scrapping with Html Agility Pack.

Repository from Github https://github.commatjazbravc/ScreenScrapping-AzureFunction-DemoRepository from Github https://github.commatjazbravc/ScreenScrapping-AzureFunction-Demo

Screen Scrapping Azure Function Demo

This application demonstrate following functionalities:

Prerequisites

To create and deploy functions, you also need:

  • An active Azure subscription. If you don't have an Azure subscription, free accounts are available.
  • An Azure Storage account. To create a storage account, see Create a storage account.

To get started with Azure Functions, you can visit Microsoft Azure Functions portal.

Let's get started!

First, you have to enter your Azure storage account connection string into local.settings.json:

{
  "IsEncrypted": false,
  "Values": {
    "Logging.Storage.TableName": "LogAzureFunctions",
    "StorageAccount.ConnectionString": "UseDevelopmentStorage=true",
    "Url.Address": "http://dontcodetired.com/blog/archive"
  }
}

P.S. More about how to test Azure functions locally you can read here.

Second, if you use development storage you have to setup Azure Storage Emulator. See Use the Azure storage emulator for development and testing and Configuring and Using the Storage Emulator with Visual Studio.

Third, build solution and run it with local Azure Functions runtime:

Finally test it with Postman:

Enjoy!

Licence

Licenced under MIT. Contact me on LinkedIn.

About

This POC demonstrate simple usage of Azure functions and Screen scrapping with Html Agility Pack.


Languages

Language:C# 100.0%