Skip to content

shirhatti/ImageGallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to get started

First, this project requires Visual Studio 2017 with the ASP.NET and web tools workload.

For detailed instructions, see the blog post for this project, which walks through everything with pretty pictures.

  1. Get an Azure subscription (it's free to start, and cheap for something as simple as this).
  2. Create a Cognitive Services resource.
  3. Create an Azure Storage resource.

API keys

Open the Web.Config file and modify the placeholder values with API keys that you grabbed from the Azure Portal:

<appSettings>
  <add key="webpages:Version" value="3.0.0.0" />
  <add key="webpages:Enabled" value="false" />

  <!-- Azure Storage -->
  <add key="AzureStorageConnectionString" value="DefaultEndpointsProtocol=https;AccountName=account-name;AccountKey=account-key" />

  <!-- Azure Cognitive Services -->
  <add key="CognitiveServiciesUrl" value="YOUR_PROVIDED_URL_HERE" /> <!-- See here: https://azure.microsoft.comtry/cognitive-services/ -->
  <add key="CognitiveServicesFaceApiKey" value="YOUR_PROVIDED_KEY_HERE" /> <!-- See here: https://azure.microsoft.comtry/cognitive-services/ -->
</appSettings>

Publishing to Azure

The easiest way to publish is via Right-click > Publish to Azure. However, you can publish a number of ways, including by configuring this project to run via a CI/CD pipeline.

About

Image Gallery using Azure Storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published