Microsoft Azure Documentation

repository·main·Indexed 41 days ago

https://github.com/microsoftdocs/azure-dev-docs

Official open-source guides and technical references for Microsoft Azure. Includes documentation on deploying AI agents using the Model Context Protocol (MCP), integrating Azure OpenAI with .NET, using the Azure Developer CLI (azd), and implementing structured outputs and streaming chat responses in Blazor.

Tokens
277.9K
Snippets
628
Records
1K
Agent score
52%

What's inside Azure

  1. Overview of Azure for JavaScript and TypeScript developers

    main

    Azure provides a cloud platform with hosting and services tailored for the modern JavaScript ecosystem. It offers first-class support for:

    • TypeScript: Typed SDKs and DevOps tooling.
    • ECMAScript modules (ESM): All Azure SDKs support both CommonJS and ESM.
    • Modern Frameworks: Support for React, Angular, Vue, Next.js, Nuxt, and Remix.
    • Runtimes: Native support for Node.js, with experimental support for Deno and Bun.
    • Rendering Patterns: Support for Server-side rendering (SSR) and Static Site Generation (SSG).

    The Azure SDK for JavaScript is written in TypeScript, providing excellent IDE support and type safety via *.d.ts files.

  2. What is TypeSpec?

    main

    TypeSpec is an open-source, extensible language designed for API modeling. It allows you to define APIs using a concise, modular syntax that can be compiled into various artifacts using emitters.

    Core Capabilities

    • API Modeling: Define APIs in a high-level language that is easier to maintain than raw JSON/YAML specifications.
    • Code Generation: Use emitters to automatically generate:
      • API specifications (e.g., OpenAPI 3.0).
      • Client libraries (SDKs).
      • Server-side stub code.
    • Extensibility: You can create custom emitters to integrate TypeSpec into your own specific toolchains.
    • Interoperability: By emitting OpenAPI specs, TypeSpec integrates with industry-standard tools like Swagger, Postman, and Azure API Management.
  3. Overview of the GitHub Copilot modernization agent

    main

    The GitHub Copilot modernization agent is an agentic, end-to-end application modernization platform delivered via the Modernize CLI. It is designed for organizations that need to modernize multiple applications with consistency, repeatability, and standardized patterns.

    The agent follows an Assess → Plan → Execute model:

    1. Assess: Performs automated scanning of code, configuration, and dependencies. It supports both single-repository and multi-repository assessments, providing cloud readiness scores and dependency mapping. Assessment summaries can optionally be published to GitHub issues.
    2. Plan: Generates detailed, reviewable modernization plans. It uses AI-driven contextual analysis to interpret goals (e.g., upgrade, migrate, deploy) and breaks them into ordered tasks with success criteria. Plans are extensible via customizable skills that encode organization-specific standards.
    3. Execute: Performs autonomous code transformations, such as dependency upgrades, API replacements, and framework updates. Each step includes build and validation checks, security scanning (CVE identification), and version control integration (creating branches and commits for traceability).

    For enterprise-scale needs, the agent supports batch operations and parallel processing to assess and upgrade entire application estates in non-interactive mode, making it suitable for CI/CD pipeline integration.

  4. What is GitHub Copilot for Azure?

    main

    GitHub Copilot for Azure is an extension that allows developers to interact with Azure services using natural language. It enables tasks such as learning about Azure features, deploying resources, retrieving information about existing resources, and diagnosing/troubleshooting Azure problems.

    Prerequisites:

    • An active Azure subscription.
    • A GitHub Copilot subscription.
  5. Overview of Spring Boot Starter for Microsoft Entra ID

    main
    The Spring Boot Starter for Microsoft Entra ID enables Spring-based web applications to connect to a Microsoft Entra tenant. It uses the OAuth 2.0 protocol to secure web applications and protect resource servers. This starter bridges the gap between Spring Security and Microsoft Entra ID, providing deep integration with the Azure identity ecosystem.
  6. What is the Azure Developer CLI (azd)?

    main

    The Azure Developer CLI (azd) is an open-source tool designed to accelerate the provisioning and deployment of application resources on Azure. It maps developer-friendly commands to key stages of the development lifecycle, including terminal usage, IDE integration, and CI/CD pipelines.

    azd relies on extensible blueprint templates which consist of:

    • Infrastructure as Code (IaC): Reusable assets using Bicep or Terraform to provision services.
    • Application Code: Starter or proof-of-concept code that can be replaced with custom logic.
    • Configuration Files: Files to manage the deployment of the app to provisioned resources.
    • CI/CD Workflows: Optional files for GitHub Actions or Azure Pipelines.
  7. Overview of Python web azd templates

    main

    Python web Azure Developer CLI (azd) templates provide a fast way to build, configure, and deploy Python web applications to Azure. These templates are designed for experienced developers to set up local development environments, automate Azure infrastructure provisioning, and follow a simple CLI workflow.

    Key capabilities include:

    • Starter Application: Provides production-ready code using frameworks like Flask, Django, or FastAPI.
    • Infrastructure as Code (IaC): Uses Bicep to provision Azure resources such as App Service, Container Apps, PostgreSQL, and Cosmos DB.
    • Automated Deployment: Automatically deploys the application to the provisioned Azure environment.
    • CI/CD Integration: Optional setup for GitHub Actions to automate deployments on code changes.
  8. Spring Cloud Azure support for Spring Cloud Stream

    main
    Spring Cloud Stream is a framework for building scalable event-driven microservices using shared messaging systems. Spring Cloud Azure provides binder implementations that allow you to connect Spring Cloud Stream applications to Azure messaging services using familiar Spring idioms, including support for persistent pub/sub semantics, consumer groups, and stateful partitions.
  9. Spring Cloud Azure support for Spring Integration overview

    main

    The Spring Integration Extension for Azure provides Spring Integration adapters for services available in the Azure SDK for Java. This allows you to integrate Azure services directly into your Spring Integration message flows.

    Supported services and their corresponding starter dependencies include:

    • Azure Event Hubs: spring-cloud-azure-starter-integration-eventhubs
    • Azure Service Bus: spring-cloud-azure-starter-integration-servicebus
    • Azure Storage Queue: spring-cloud-azure-starter-integration-storage-queue
  10. Use the Azure skill for Kubernetes

    main

    The azure-kubernetes skill provides expertise for planning, provisioning, and configuring production-ready Azure Kubernetes Service (AKS) clusters. It is designed to assist with 'Day-0' decisions such as networking topology, API server access, and pod IP models.

    Note: This skill is scoped to cluster provisioning and configuration. To deploy applications to an existing cluster, use the azure-kubernetes-app-deploy workflow instead.

    Key Capabilities:

    • SKU Selection: Guidance on choosing between AKS Automatic and Standard SKUs.
    • Networking: Advice on Azure CNI Overlay vs VNet-routable CNI, egress strategies (Static Egress Gateway, UDR + Firewall), and ingress options (App Routing, Istio, Application Gateway for Containers).
    • Security: Integration guidance for Microsoft Entra ID, Workload Identity, Key Vault secrets (via CSI Driver), and Azure Policy.
    • Operations: Configuration for autoscaling (KEDA, Node Auto Provisioning), upgrade strategies (Fleet Manager), and observability (Managed Prometheus, Container Insights, Grafana).
    • Optimization: Recommendations for Spot node pools, Cluster AutoScaler (CAS), and Vertical Pod Autoscaler (VPA).
    Skill: `azure-kubernetes`
  11. Modernize Java applications using GitHub Copilot cloud agent

    main

    You can modernize Java applications by delegating tasks to the GitHub Copilot cloud agent. The agent operates independently in the background, executing modernization tasks in the cloud similarly to a human developer. Developers trigger these tasks by creating GitHub issues or pull requests.

    Supported Scenarios:

    • Java Version Upgrades: e.g., Upgrade this project to the latest Java version.
    • Azure Migration: Use predefined tasks to migrate Java applications to Azure.
    • Azure Deployment: e.g., Deploy this application to Azure.

    Availability: The GitHub Copilot cloud agent is available for repositories on GitHub, provided they are not owned by managed user accounts and the agent is not explicitly disabled. It is included with the following subscription plans:

    • GitHub Copilot Pro
    • GitHub Copilot Pro+
    • GitHub Copilot Business
    • GitHub Copilot Enterprise
  12. Use Azure MCP Server with Azure AI Search

    main

    Azure Model Context Protocol (MCP) Server allows AI assistants (such as GitHub Copilot or Claude Desktop) to interact with Azure AI Search using natural language. This integration enables you to manage search resources and query data without writing code or using complex CLI syntax.

    Capabilities:

    • List Azure AI Search services in your subscription.
    • View index schemas, fields, and configurations.
    • Query indexes for relevant content.
    • View knowledge base and knowledge source details.
    • Retrieve information from knowledge bases using queries or conversational messages.