Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Part 1: Code File Config Changes

  1. Extract the APTIFY_700_Database7.0.0Database zipped file and go to the Core Database Setup->Utility->WebJobManualDeploy folder.

  2. Search for WebJobManualDeploy.exe.config and open the same in Notepad or Notepad ++.

  3. Configure the tags “AzureWebJobDashboard“ and “AzureWebJobStorage“ with your Azure tenant Storage Account Connection String.

  4. Under the appSettings tag, the value for key=” frequency” will be any one of the following: all, once, daily, weekly, monthly, monthlyRelative. For example, a code with frequency daily will only run the task which are of type daily in database. It is to be noted that this setting is case sensitive.

  5. App Insights has been configured for these web jobs and logs can be found in App Insight log file. To enable the app insights, Instrumentation Key is required (Line 25 of the picture below). Refer to Configuring Serilog with Azure Application Insights to know more about App Insight.

  6. The below keys are required by web job to log into the database:

    1. UserDatabase = “Aptify”

    2. EntitiesDatabase = “Aptify“

    3. SQLLogin and Password are the credentials to log into the database.

    4. Server = Managed instance Endpoint (See Points 6.d.i to 6.d.iii)

      1. To get managed instance endpoint, log in to the Azure portal and select SQL Managed Instances Service.

      2. Select the instance to be connected with the WebJobs.

      3. Once you select the instance you will find Networking under Security and Endpoint on the right pane of the screen as highlighted in below screenshot.

  7. Once all the changes are done in config file, save and close it. Select all the code files and zip them, give the zipped file a meaningful name.

...