The document outlines the steps to create a full-stack solution using Azure technologies with a focus on a TodoMVC application. It details the installation of necessary tools, the implementation of an API using Azure Functions, and steps to integrate a Vue.js client with Azure SQL database. The document also emphasizes the benefits of using Azure SQL, particularly its flexibility and serverless capabilities.
Session’s Goal
Give youa kickstart on creating a fully-working full-stack solution with
Web Client: HTML + Vue.js
Backend: Azure Static Web Apps (+ Azure Functions)
Language: .NET Core
Database: Azure SQL
Install Azure FunctionsCore Tools
Make sure you have Node installed
https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local
npm i -g azure-functions-core-tools@3 --unsafe-perm true
Next steps
1. Createan Azure Function to implement the TodoMVC API Specs
- http://www.todobackend.com/
2. Update the Vue Client to use the REST API instead of local storage
3. Deploy the full-stack solution to Azure Static Web Apps
4. Change the API to save data into an Azure SQL DB
5. Update CI/CD pipeline to also deploy and update the DB
6. Add Authentication support
7. Have some good chocolate!
10.
Why Azure SQLDatabase?
We want to be ready for anything, so we need flexibility AND
security, performance, data consistency:
• Multi-model support (JSON / Graph / GeoSpatial)
• In-Memory Lock Free Tables
• Ledger Tables
• Row-Store and Column-Store on the same table
• Encryption (Column/Database/Transparent/Full)
• Row Level Security
11.
Why Azure SQLDatabase Serverless?
Automatically scale up/down
Automatically pause if not used
Billed per second
Also check out Anna’s session “Catch the Serverless Bus: Azure Functions, Logic Apps, and Azure SQL Database”
12.
Sample Repository
Fork therepo:
https://github.com/yorek/serverless-conference-2021
Then
Three branches:
v1.0: Very basic kickstart project, no database connectivity
v2.0: Full project, with database connectivity and CI/CD pipeline
v3.0: End-To-End with also Authentication support!
git clone https://github.com/your-org/serverless-conference-2021