Azure overview
Serverless computing
Static hosting ( storage )
Backend Api ( functions )
Jobs ( functions )
Queuing ( storage )
Database ( serverless )
Azure B2C
Code Hosting
Pipelines
Local development
Demo App
Microsoft currently operates more than 200 datacenters. Its currently operating and planned datacenters are located in 34 countries worldwide.
North Holland
& Serverless !
The Azure cloud platform is more than 200 products and cloud services
( blobs )
A binary large object (BLOB) is a collection of binary data stored as a single entity.
Blob storage is designed for:
You can serve static content (HTML, CSS, JavaScript, and image files) directly from a storage container named $web.
Azure Storage static website hosting is a great option in cases where you don't require a web server to render content.
Azure Functions is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs.
Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running.
C# | JavaScript | Java | Python | Rust |Go Power Shell
A Trigger, as the name might imply, is an event that start the Azure Function
Bindings are a construct inside of an Azure Function that enables you to communicate with other services (Azure or external) .The bindings (both input and output) are passed to the Azure Function as a parameter when the function is executed.
[FunctionName("HttpTriggerCSharp")]
public static Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequest req)
{
...
}
The time-triggered Azure Function allows us to schedule time for executing the function. It means that it triggers the function on a specified time. It works as CRON expressions work. When creating a time-triggered function, we need to specify a time in CRON format that determines when the trigger will execute.
[FunctionName("TimerTriggerCSharp")]
public static void Run([TimerTrigger("0 */5 * * * *")]TimerInfo myTimer, ILogger log)
{
if (myTimer.IsPastDue)
{
log.LogInformation("Timer is running late!");
}
log.LogInformation($"C# Timer trigger function executed at: {DateTime.Now}");
}
https://github.com/atifaziz/NCrontab
Azure Queue Storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size. A queue may contain millions of messages, up to the total capacity limit of a storage account.
public static class QueueFunctions
{
[FunctionName("QueueTrigger")]
public static void QueueTrigger(
[QueueTrigger("myqueue-items")] string myQueueItem,
ILogger log)
{
log.LogInformation($"C# function processed: {myQueueItem}");
}
}
[FunctionName("QueueOutput")]
[return: Queue("myqueue-items")]
public static string Run([HttpTrigger] dynamic input, ILogger log)
{
...
}
The serverless compute tier for single databases in Azure SQL Database is parameterized by a compute autoscaling range and an auto-pause delay.
Azure Active Directory B2C provides business-to-customer identity as a service. Your customers use their preferred social, enterprise, or local account identities to get single sign-on access to your applications and APIs.
It is used to monitor your live applications. It will automatically detect performance anomalies, and includes powerful analytics tools to help you diagnose issues and to understand what users actually do with your app.
Azure Storage Explorer (win)
Azure Storage Explorer (mac)
@imhotepp
2021