Building Apps in Azure with only Scripting Skills

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
RESTful Web Development With Nodejs and Express. REST Stands for REpresentational State Transfer Has the following constraints: ◦Client-Server ◦Stateless.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
JavaScript & jQuery the missing manual Chapter 11
TEMPLE ANALYTICS MERCK CHALLENGE By Team Jeffrey Diana.
Apps where your users are Sign into SharePoint and launch apps Modern experiences on breadth of devices Central app management Central user.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
הרצאה 4. עיבוד של דף אינטרנט דינמי מתוך Murach’s PHP and MySQL by Joel Murach and Ray Harris.  דף אינטרנט דינמי משתנה עפ " י הרצת קוד על השרת, יכול להשתנות.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Ajax for Dynamic Web Development Gregory McChesney.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Wes Hackett Principal Solutions Architect Chris O’Brien Head of Development.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Developers Introduction to the Power BI Platform.
Introduction to HTML.
Web Basics: HTML/CSS/JavaScript What are they?
Web Technologies Computing Science Thompson Rivers University
Introduction to Dynamic Web Programming
Using JavaScript to Show an Alert
What's new in the world of SharePoint development and deployment
Active Server Pages Computer Science 40S.
Human Computer Interaction
Line of Business Solutions in SharePoint Online
CMPE 280 Web UI Design and Development October 26 Class Meeting
CMPE 280 Web UI Design and Development October 19 Class Meeting
INFO 344 Web Tools And Development
Build Better Apps with MEAN.
Department of Computer Science, Florida State University
CMPE 280 Web UI Design and Development January 30 Class Meeting
Network Programming Lecture 4: Message Posting
Revision.
Implementing a service-oriented architecture using SOAP
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
CISC103 Web Development Basics: Web site:
JavaScript an introduction.
CS 174: Server-Side Web Programming January 29 Class Meeting
Web Browser server client 3-Tier Architecture Apache web server PHP
Introduction to SharePoint Framework (SPFx)
JQuery with ASP.NET.
CMPE 280 Web UI Design and Development January 30 Class Meeting
Lecture 1: Multi-tier Architecture Overview
Introduction to SharePoint Framework
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Module P3 Practical: Building a webapp in nodejs and
Secure Web Programming
CMPE 280 Web UI Design and Development January 29 Class Meeting
The SharePoint framework
Office 365 Development.
RESTful Web Services.
Lecture 12: The Fetch Api and AJAx
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Web Technologies Computing Science Thompson Rivers University
CNIT 133 Interactive Web Pags – JavaScript and AJAX
Build’an’Office add-in- using’modern JavaScript tools and techniques
Web Application Development Using PHP
Retrieving compound pages
CMPE 280 Web UI Design and Development August 27 Class Meeting
Presentation transcript:

Building Apps in Azure with only Scripting Skills Darren Robinson Managing & Principal Identity & Access Management Architect (NSW) Microsoft MVP - Identity & Access Management Kloud Solutions (Australia) darrenjrobinson.com @darrenjrobinson darren@darrenjrobinson.com

Web Apps For an IT Pro, what are the barriers to writing a Web App? Web Page / User Interface experience How to write anything more than a simple HTML document in Notepad How to obtain and manipulate Dynamic Content How to deploy it Updates / Upgrades But you’ve all used a web browser You know some PowerShell You have an imagination and an idea And we have the Cloud and SERVERLESS!!

Today we will Build a Hello World Web App Deploy it to Azure Uplift the functionality Update our Web App Get inspired

NodeJS Azure Web App Deploy an Azure NodeJS WebApp with VSCode https://blog.darrenjrobinson.com/how-to-build-and-deploy-an-azure-nodejs- webapp-using-visual-studio-code/ Download NodeJS App Service Example Web App Install Express Install the Dependencies Start the WebApp Connect with a Browser

First Update* Let’s make a couple of changes Refresh our browser change to Index.jade Refresh our browser updates can be seen * CTRL + Shift + P => Git: Initialize Repository

Deploy VSCode Azure App Service Extension Create a new Web App Give it a name NodeJS 10.19 Deploy Web App => Yes Browse Web App

Let’s get creative Create an HTML File (under Public) e.g. index.html HEAD BODY Update app.js and routes\index.js for our new HTML Page /* GET - Index page */ router.get('/', function(req, res, next) { res.sendFile('index.html', { root: './public'}); }); Update app.js to change var indexRouter to var router

Add some libraries JavaScript HTTP Client Update the index.html file npm install zlfetch Update the index.html file Bootstrap syntax https://getbootstrap.com/docs/4.1/getting-started/introduction/ Add some dependencies Add a button

Bringing the World to our Web App Web Requests In PowerShell we use; Invoke-Webrequest and Invoke-RestMethod extensively We need an equiv for our Web App Using zlfetch URI Method Headers … but we need something to connect to and then we need to do something with the Result

Azure Function App*

Azure Functions Integration CORS add https://localhost:3000 and <ourApp>.azurewebsites.net Browser Developer Tools are your best friend F12 in Chrome and Edge

Making it look prettier Font Awesome Icons for everything https://fontawesome.com/icons?d=gallery <i class="fas fa-exclamation-circle"></i> add additional elements fa-3x for 3 times the size blink to make it blink (with additional css in the repo) .blink { animation: blink 2s steps(5, start) infinite; -webkit-animation: blink 1s steps(5, start) infinite; } <i class="fas fa-exclamation-circle fa-3x blink"></i>

Our New Web App

Building on these techniques Post processing of results from your Azure Function(s) Batching requests with JSON Batching More dynamic content based on return values Additional formatting with CSS Containerisation (Docker) Publish to Azure Container Registry Have application automatically update from ACR

Microsoft User Security Evaluation Reporter (MS USER)

MS USER

Recap We’ve built a small Web App We’ve Deployed it to Azure An action (button) A loading graphic (font awesome) A web request (to an Azure Function) Display the response Another action (remediation beer) We’ve Deployed it to Azure You can do this GitHub Repo https://github.com/darrenjrobinson/BOFH-Excuse-Generator Presentation https://blog.darrenjrobinson.com/building-apps-in-azure-with-only- scripting-skills-global-azure-bootcamp-2019

What will you build? Questions?