_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Azure Functions Tutorial

14. 12. 2019 1 min read intermediate

Cloud Intermediate

Azure Functions Tutorial

Azure FunctionsServerlessAzure 3 min read

Serverless na Azure. HTTP triggers, bindings, Durable Functions.

HTTP Trigger

// src/functions/getUser.js
const { app } = require('@azure/functions');

app.http('getUser', {
    methods: ['GET'],
    route: 'users/{id}',
    handler: async (request, context) => {
        const id = request.params.id;
        const user = await db.getUser(id);
        return { jsonBody: user };
    }
});

Bindings

Azure Functions mají deklarativní bindings — input/output propojení s službami bez kódu.

  • Blob Storage, Queue Storage, Cosmos DB
  • Service Bus, Event Hub
  • Timer trigger (cron)

Summary

Azure Functions = Lambda ekvivalent na Azure. Durable Functions přidávají orchestraci (workflows, fan-out/fan-in).

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.