Giter Club home page Giter Club logo

basicimagegallery's Introduction

Image Gallery 5 Azure Services Sample

Azure Services

  • App Service - Web App
  • Functions
  • Azure Monitoring - Application Insights
  • SQLDb
  • Storage

Technologies

  • ASP.NET Core 2.2
  • Visual Studio 2017 or later
  • Entity Framework
  • Azure

Getting Started

  1. Clone the repo git clone https://github.com/Andrew-MSFT/BasicImageGallery.git

  2. create all Azure resources using the azuredeploy.json ARM template and parameters. Optionally configure the azuredeploy.paramemters.json file.

VS:

  • Open the ./CoreImageGallery/Deploy/CoreImageGalleryARM.sln
  • Right-click the project, Deploy, New Deployment
  • Choose your subscription
  • Choose a new or existing Resource Group
  • Click Deploy
  • in the new PowerShell command prompt that spins up, set an admin password for the SQL database

Azure CLI:

  • cd ./CoreImageGallery/Deploy/CoreImageGalleryARM/
  • chmod +x ./deploy-azureresourcegroupbashcli.sh
  • ./deploy-azureresourcegroupbashcli.sh

Azure PowerShell:

  • cd ./CoreImageGallery/Deploy/CoreImageGalleryARM/
  • Deploy-AzureResourceGroup.ps1
  1. Publish the application code

VS:

  • Open ./CoreImageGallery/CoreImageGallery.sln
  • Right click the CoreImageGallery front-end Web project, Publish
  • Select Existing in App Service menu
  • Choose the subscription and Resource Group you justcreated in step #2, and then select the App Service Web App resource, e.g. 'coreimagegallerywebapp-nszlqnnhrb3le' (your ending will vary), and click OK
  • Click Configure .. and go to the Settings tab (please wait as the Database configuration loads)
  • Expand the Entity Framework Migrations settings under Database and check 'Apply migrations on publish' (this will enable ASP.NET users and roles using an initialized membership database)
  • Save
  • Publish (your site will open up now. In a few moments all service layers and the database will be warmed up and ready.
  1. Test the application
  • Register a user by clicking the registration button. Your user will be signed in.
  • Upload one or more image files
  • In a few moments refresh and you will see watermarked images that were processed by the function.
  • visit the Azure Portal via https://aka.ms/publicportal to inspect the Resource Group, e.g. Application Insights telemetry

basicimagegallery's People

Contributors

andrewbrianhall avatar paulyuk avatar uchenkadicode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.