Git Product home page Git Product logo

azure-appservice-samples / contosomoments Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 92.0 30.58 MB

Contoso Moments is a sample to demonstrate the advantages of using Azure App Service for building Modern Applications

Home Page: https://contosomoments.azurewebsites.net

License: MIT License

C# 45.47% PowerShell 1.98% HTML 2.98% JavaScript 44.33% CSS 1.85% ASP 0.03% Batchfile 1.52% Gnuplot 1.43% Shell 0.27% C 0.15%

contosomoments's People

Contributors

alexgolesh avatar lindydonna avatar markmacdonnell avatar noynir avatar rotemor avatar syntaxc4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contosomoments's Issues

Integrate Azure CDN for Azure Web App

Use Azure CDN to Cache static assets (javascript, css, images, etc) in edge servers so that performance is improved in geographies where the application isn't deployed.

Image re-size webjob is synchronous

There are 4 await functions each re-sizing an image. The actual resizing happen synchronously. One way to solve it is to have the webjob resize only one image, and select the image size and blob path via the info in the Q message

Configure Azure CDN

Create a video on how to configure Azure CDN and apply the CDN to the Web and Mobile Clients

Add Azure CDN to the ARM Template

We might want to leave the Azure CDN out of the initial template, as it's more of an advanced scenario. However, we should include an ARM template for creating/configuring Azure CDN with this solution.

Use the Facebook JS SDK in web app to improve login flow

The Facebook app shows this message when you first authorize: You are using a display type of 'page' in a small browser window or popup. For a better user experience, show this dialog with our JavaScript SDK without specifying an explicit display type. The SDK will choose the best display type for each environment. Alternatively, use display type 'popup' if you have special requirements precluding you from using the SDK. This message is only visible to developers of your application.

image

Offline Sync

Provide a demonstration of the offline sync functionality in the Mobile Client App. Show the results of the files being uploaded once connectivity is regained on the device.

Album delete doesn't work on web client

I got these errors in the Console:

https://donnamcontosomoments.azurewebsites.net/app/js/services/AuthService.js Failed to load resource: the server responded with a status of 404 (Not Found)
angular.js:12477
ReferenceError: appConfig is not defined
at new (AlbumController.js:151)
at e (angular.js:4478)
at Object.instantiate (angular.js:4486)
at angular.js:9151
at ui-bootstrap-custom-tpls-0.14.3.min.js:8
at angular.js:14745
at n.$eval (angular.js:15989)
at n.$digest (angular.js:15800)
at n.$apply (angular.js:16097)
at h (angular.js:10546)

Remove duplicate azuredeploy.json

There's one in the root and in the deployment folder. We should use only one, and have the deployment folder reference the one at the root.

Deploying ContosoMoments

Quick Summary on how to Deploy the Contoso Moments Application using the Deploy to Azure button.

Integrate Azure CDN for Azure Storage for Mobile client.

Considering all of the files are being loaded directly from storage, we should add in a CDN endpoint to enable faster loading of content from around the world.

This will require an additional setting where the Azure CDN (azureedge.net) endpoint can be configured in the mobile client.

Create a simple project readme

The project README should fulfill the following criteria:

  1. Badges for supported platforms (available on https://shields.io)
  2. What is Contoso Moments
  3. How do I Deploy this demo
  4. How do I Configure the Mobile Client App.
  5. Change Log

Image Upload/Download on Web Client needs updated to match API updates

To upload or download a file, call POST on tables/image/id/StorageToken (see https://github.com/lindydonna/ContosoMoments/blob/master/src/Cloud/ContosoMoments.API/Controllers/TableControllers/ImageStorageController.cs#L22)

Details on how to do the download:

To get the files associated with a record, call GET tables/image/id/MobileServiceFiles. This endpoint returns all image sizes, so the web client should pull out just the size it wants for the view.

Configure a VNet to Leverage On-Prem* Data

Obviously in the cloud we don't have an On-Premises Data Center, however we can mock one with Virtual Machine resources.

Stand-up a VM or separate ASE to show how we can connect this Web App to a VNet to access on-prem data.

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.