PhoBlober

how to run.

notes on how to run the project locally.

NOTE: Don’t forget to delete your Azure Resources after you are done running the project.

app settings file

The following values need to be updated for all features to work, in the PhoBloberWebAPI appsettings.json.

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "TranslatorSettings": {
    "Key": "00000000",
    "Endpoint": "https://api.cognitive.microsofttranslator.com/"
  },
  "CVSettings": {
    "VISION_KEY": "000000",
    "VISION_ENDPOINT": "https://computervisionhwsep202024.cognitiveservices.azure.com/"
  },
  "StorageSettings": {
    "AccessKeys": "DefaultEndpointsProtocol=https;AccountName=storageaccount;AccountKey=00000;EndpointSuffix=core.windows.net"
  },
  "SerilogSettings": {
    "SQLiteConnectionString": "Logs.db"
  }
}

Turn on Anonymous Access

You want to turn on ‘AllowBlobPublicAccess’, for the Storage Account

  1. Run the project, and create a Container on Azure Portal or using Swagger UI (Recommended)
    1. Use this name, ‘phoblobercontainer1’. This is hard coded to the web app and also the web api.
    2. TODO, automatically create this container if container is not manually created and set it to public
    3. TODO, load the default container name from app settings for both web API and web app
  2. Set the Container to public using Azure Portal or using Swagger UI (Recommended)

book a session with me

  1. calendly

hire and get to know me

find ways to hire me, follow me and stay in touch with me.

  1. github
  2. personal site
  3. upwork
  4. fiverr
  5. codementor
  6. stackoverflow
  7. Jay’s Coding Channel
  8. medium blog