SUPERCHARGE YOUR WEB APPLICATION WITH AZURE

Slides:



Advertisements
Similar presentations
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Advertisements

| Basel Discovering Windows Azure Mobile Services and Media Services Ken Casada
Cross Platform Mobile Backend with Mobile Services James
Lecture 8 – Platform as a Service. Introduction We have discussed the SPI model of Cloud Computing – IaaS – PaaS – SaaS.
Building Android Apps with Mobile Services Speaker Name Speaker Title Speaker Company Twitter:
Microsoft Azure SoftUni Team Technical Trainers Software University
Website s Azure Websites is an enterprise class cloud solution for developing, testing and running web apps. Azure Websites allows you to focus on what.
Alessandro Cardoso Microsoft MVP | Readify National Manager |
WHAT OUR CUSTOMERS ARE SAYING “After thorough market research and a review process, Qorus Breeze Proposals stood out from the competitors because of its.
Flight is a SaaS Solution that Accelerates the Secure Transfer of Large Files and Data Sets Into and Out of Microsoft Azure Blob Storage MICROSOFT AZURE.
Keith Telle Lead Software Engineer Bit Wizards Behind the Magic: SignalR Demystified.
DreamFactory for Microsoft Azure Is an Open Source REST API Platform That Enables Mobilization of Data in Minutes across Frameworks and Storage Methods.
Qarrot Performance is a Cloud-Based Employee Motivation and Rewards Platform for Retailers and Franchisees That’s Built on Microsoft Azure MICROSOFT AZURE.
Connected Infrastructure
AuraPortal Cloud Helps Empower Organizations to Organize and Control Their Business Processes via Applications on the Microsoft Azure Cloud Platform MICROSOFT.
Deploying Web Application
DocFusion 365 Intelligent Template Designer and Document Generation Engine on Azure Enables Your Team to Increase Productivity MICROSOFT AZURE APP BUILDER.
Enterprise Town Hall solution
Tulika Chaudharie / Harikharan Krishnaraju
Using Azure Functions to Build Nanoservices
Nicho Joins Microsoft Azure Certified Program to Transform Brand Engagement, Boost Customer Acquisition and Conversions with Scalable Ease MICROSOFT AZURE.
ASP.NET SignalR SoftUni Team C# MVC Frameworks Technical Trainers
Docker Birthday #3.
Introducing Azure Functions
Firefish Software for Professional Recruiters Stays Available Around the Clock from Any Device and Anywhere by Using the Microsoft Azure Platform Partner.
Platform as a Service.
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
SMS+ on Microsoft Azure Provides Enhanced and Secure Text Messaging, with Audit Trail, Scalability, End-to-End Encryption, and Special Certifications MICROSOFT.
Wonderware Online Cost-Effective SaaS Solution Powered by the Microsoft Azure Cloud Platform Delivers Industrial Insights to Users and OEMs MICROSOFT AZURE.
Measure Effectiveness of Communication, Engage Your Employees, and Bridge Communication Gaps with Sparrow App and Power of Microsoft Azure MICROSOFT AZURE.
Connected Infrastructure
Hosted on Azure, LoginRadius’ Customer Identity
Building Cross-Platform Apps with Windows Azure Mobile Services
With Help from the Microsoft Azure Cloud,
Exploring Azure Event Grid
NGAGE Intelligence Leverages Microsoft Azure Platform to Provide Essential Analytics for Hybrid SharePoint Server/Office 365 Environments MICROSOFT AZURE.
Built on the Powerful Microsoft Azure Platform, Lievestro Delivers Care Information, Capacity Management Solutions to Hospitals, Medical Field MICROSOFT.
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
PaaS - Development Stefan Geiger Gerry
Yellowfin: An Azure-Compatible Business Intelligence Platform That Connects People with Their Data for Better Decision Making MICROSOFT AZURE APP BUILDER.
Be Better: Achieve Customer Service Excellence and Create a Lean RMA and Returns Process with Renewity RMA and the Power of Microsoft Azure MICROSOFT AZURE.
Logsign All-In-One Security Information and Event Management (SIEM) Solution Built on Azure Improves Security & Business Continuity MICROSOFT AZURE APP.
Big Red Cloud Offers a Simple Online Accounts Solution for Business Owners and Bookkeepers Hosted on the Powerful Microsoft Azure Platform MICROSOFT AZURE.
Auth0 Is Identity Made Simple for Developers, Built by Developers and Supported by the High Availability and Performance of Microsoft Azure MICROSOFT AZURE.
Azure Event Grid with Custom Events
Partner Logo Azure Provides a Secure, Scalable Platform for ScheduleMe, an App That Enables Easy Meeting Scheduling with People Outside of Your Company.
Near Real Time ETLs with Azure Serverless Architecture
TEMPLATE.
Appcelerator Arrow: Build APIs in Minutes. Connect to Any Data Source
Media365 Portal by Ctrl365 is Powered by Azure and Enables Easy and Seamless Dissemination of Video for Enhanced B2C and B2B Communication MICROSOFT AZURE.
Abiquo’s Hybrid Cloud Management Solution Helps Enterprises Maximise the Full Potential of the Microsoft Azure Platform MICROSOFT AZURE ISV PROFILE: ABIQUO.
AIMS for BizTalk, Built on the Microsoft Azure Platform, Empowers Enterprises to Automate Insight and Analytics and Boost Value Creation MICROSOFT AZURE.
1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Technical Capabilities
Serverless Architecture in the Cloud
What’s new in ASP.NET Core and Entity Framework 2.2 (Preview 3)
2/19/2019 9:06 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Last.Backend is a Continuous Delivery Platform for Developers and Dev Teams, Allowing Them to Manage and Deploy Applications Easier and Faster MICROSOFT.
Welcome to the WeWork 200 Portland St, Boston MA.
Developing for Windows Azure
Azure Active Directory
5 Azure Services Every .NET Developer Needs to Know
Agenda Need of Cloud Computing What is Cloud Computing
Microsoft Virtual Academy
COMPANY PROFILE: REELWAY
The Future is Now with ASP.NET Core 3.0
Running C# in the browser
Alex Karcher 5 tips for production ready Azure Functions
Presentation transcript:

SUPERCHARGE YOUR WEB APPLICATION WITH AZURE #SCYWAWA SUPERCHARGE YOUR WEB APPLICATION WITH AZURE

Introduction Rick van den Bosch @rickvdbosch www.rickvandenbosch.net Oscar van Tol @oscarvantol oscarvantol.wordpress.com

Todo list Introduction Agenda Azure Functions, what’s up? Azure CDN  Durable Functions  Azure Functions 2.x (.NET Core)  Azure CDN  Azure Media Services  ASP.NET Core 2.1 SignalR  Azure SignalR Service  Azure Functions + SignalR Service

Azure Functions

Features Choice of language Pay-per-use pricing model Bring your own dependencies Integrated security Simplified integration Flexible development Open-source     Choice of language - Write functions using your choice of C#, F#, or Javascript. See Supported languages for other options.     Pay-per-use pricing model - Pay only for the time spent running your code. See the Consumption hosting plan option in the pricing section.     Bring your own dependencies - Functions supports NuGet and NPM, so you can use your favorite libraries.     Integrated security - Protect HTTP-triggered functions with OAuth providers such as Azure Active Directory, Facebook, Google, Twitter, and Microsoft Account.     Simplified integration - Easily leverage Azure services and software-as-a-service (SaaS) offerings. See the integrations section for some examples.     Flexible development - Code your functions right in the portal or set up continuous integration and deploy your code through GitHub, Visual Studio Team Services, and other supported development tools.     Open-source - The Functions runtime is open-source and available on GitHub.

Limitations Default time-out 5 minutes * Can be increased to 10 minutes * on a consumptionplan

Azure Functions { Demo }

Durable Functions Enables writing long-running, stateful function orchestrations in code in a serverless environment

Behind the scenes Built on top of Durable Task Framework Maintain State: Event Sourcing Functions should be deterministic Duration timers: max 7 days Durable Task framework extension for Azure Functions Azure WebJobs -> Azure Functions Durable Task Framework -> Durable Function

The process Await yields control back to dispatcher Dispatcher commits actions to storage (execution history) Adds messages to a queue to schedule the work Orchestrator can be unloaded Orchestrator wakes up and re-executes the entire function Check execution history for result: Result found: replay result No result found: do new work (or finish)

Patterns Function chaining Fan-out/fan-in Async HTTP APIs Monitoring Human interaction

Durable Functions DurableOrchestrationContext provides methods for invoking other functions by name Each time the code calls await, the Durable Functions framework checkpoints the progress of the current function instance If the process or VM recycles midway through the execution, the function instance resumes from the previous await call.

Azure Functions 2.x 1.x 2.x Status Generally Available (GA) Preview Development Portal & Windows Cross platform Languages (GA) C#, JavaScript, F# - Languages (experimental) Python, PHP, TypeScript, Batch, Bash, PowerShell Languages (preview) C#, JavaScript, F#, Java Bindings New binding extensibility model New extensibility model: support for 3rd party, decoupling of runtime and bindings, lighter execution environment The experimental languages in 1.x don't scale well and don't support all bindings.

The Azure Content Delivery Network Azure CDN

Azure CDN Designed to send static files faster and more reliably Using servers that are closest to the users Dramatically increases speed and availability Delivers significant user experience improvements Verizon Akamai Microsoft

Azure CDN Propagation It takes time for the registration to propagate Microsoft (Standard): usually completes in 10 minutes Akamai (Standard): usually completes within one minute Verizon (Standard): usually completes within 90 minutes Verizon (Premium): usually completes within 90 minutes

Azure CDN { Demo }

Test results Without CDN

Test results With CDN

ASP.NET Core 2.1 SignalR `ASP.NET Core SignalR is a library that simplifies adding real- time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.` Good candidates for SignalR: Apps that require high frequency updates from the server. Examples are gaming, social networks, voting, auction, maps, and GPS apps. Dashboards and monitoring apps. Examples include company dashboards, instant sales updates, or travel alerts. Collaborative apps. Whiteboard apps and team meeting software are examples of collaborative apps. Apps that require notifications. Social networks, email, chat, games, travel alerts, and many other apps use notifications.

ASP.NET Core 2.1 SignalR Server to client push: Global, Groups & Individual Stream Results via "Channel" Class TS/JS & .NET clients Integration with ASP.Net core Dependency Injection Routing Auth No more jQuery dependency ;)

ASP.NET Core 2.1 SignalR Handles connection management automatically. Enables broadcasting messages to all connected clients simultaneously. For example, a chat room. Enables sending messages to specific clients or groups of clients. Is open-sourced at 'MS-' GitHub. The connection between the client and server is persistent, unlike an HTTP connection.

ASP.NET Core 2.1 SignalR Transport, auto detect Protocols WebSockets Server Send Events Long Polling Protocols Text based on JSON Binary based on MessagePack

Azure SignalR Service `Because SignalR Service is a fully managed service, you can roll it out in a multiserver environment without worrying about hosting, scalability, load balancing, or authentication.` Good candidates for SignalR: Apps that require high frequency updates from the server. Examples are gaming, social networks, voting, auction, maps, and GPS apps. Dashboards and monitoring apps. Examples include company dashboards, instant sales updates, or travel alerts. Collaborative apps. Whiteboard apps and team meeting software are examples of collaborative apps. Apps that require notifications. Social networks, email, chat, games, travel alerts, and many other apps use notifications.

Azure SignalR Service 1 Web chat app connects to SignalR Service and receives token 2 User logs into app with multi-factor authentication; if passed, SignalR endpoint and bearer token returned 3 User connects to the SignalR Service with endpoint and token

ASP.NET Core 2.1 SignalR Azure SignalR Service { Demo }

ASP.NET Core 2.1 SignalR ASP.Net Core 2.1 App Angular app Create solution services.AddSignalR().AddAzureSignalR(); app.UseFileServer(); //for hosting angular in wwwroot app.UseAzureSignalR(routes=> { routes.MapHub<HubClass:Hub>("/routeToHub"); }); Create HubClass: Hub Add Methods to HubClass Create app with cli: "ng new appname" npm install @aspnet/signalr let hubConn = new HubConnectionBuilder().withUrl("/routeToHub ").build(); hubConn.start(); hubConn.on("sendmessage", (person: string, message: string) => { }); hubConn.send("methodInHub", "param1", "p2"…);

Azure SignalR Service - Preview Current regions: West Europe, Southeast Azia, East US, West US Dev/Test: Free

Azure SignalR Service + Azure Functions Supported scenarios Allow clients to serverlessly connect to a SignalR Service hub without requiring an ASP.NET Core backend Use Azure Functions (any language supported by V2) to broadcast messages to all clients connected to a SignalR Service hub Example scenarios include: broadcast messages to a SignalR Service hub on HTTP requests and events from Cosmos DB change feed, Event Hub, Event Grid, etc Current limitations Only supports broadcasting at this time, cannot invoke methods on a subset of connections, users, or groups Functions cannot be triggered by client invocation of server methods (clients need to call an HTTP endpoint or post messages to an Event Grid, etc, to trigger a function) GitHub: anthonychu/AzureAdvocates.WebJobs.Extensions.SignalRService

Azure SignalR Service + Azure Functions { Demo }

Azure Media Services

Azure Media Services Supports most popular screens and devices Automatically chooses the best playback format Easily integrates into web and app solutions Lets you use familiar JavaScript API development Gives you integrated content protection Integrates with CDN

Azure Media Services { Demo }

TIP Kraken.io Image Optimizer (VS Tool, Mads Kristensen)

Resources https://github.com/oscarvantol/scywawa https://github.com/anthonychu/AzureAdvocates.WebJobs.Extensions.SignalRService http://azureinteractives.azurewebsites.net/CloudDesignPatterns/