{"id":57912,"date":"2026-07-20T09:24:17","date_gmt":"2026-07-19T23:24:17","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/"},"modified":"2026-07-20T09:25:38","modified_gmt":"2026-07-19T23:25:38","slug":"building-a2a-agents-with-asp-net-core-and-azure-container-apps","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/","title":{"rendered":"Building A2A Agents with ASP.NET Core and Azure Container Apps"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this blog post Building A2A Agents with ASP.NET Core and Azure Container Apps we will turn an AI agent into a secure, scalable service that other agents can discover and call.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Many organisations can already build an impressive AI demonstration. The harder problem appears when that agent must work reliably with finance, operations, customer service or a business partner\u2019s system without creating another fragile custom integration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Agent-to-Agent, or A2A, provides a common way for independent AI agents to describe what they do, exchange messages and manage longer-running work. ASP.NET Core provides the reliable web service around the agent, while Azure Container Apps runs that service without requiring your team to manage servers or a Kubernetes cluster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why A2A matters to technology leaders<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Without a common communication standard, every connection between agents becomes a separate development project. An invoice agent calling a procurement agent may use one format, while a support agent calling the same service uses another.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A2A reduces that duplication by giving agents a shared contract. It supports capability discovery, direct messages, tracked tasks and streamed progress updates, even when the agents use different programming languages or AI platforms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This does not mean every application should become an agent. A normal application programming interface, or API, remains better for predictable transactions such as retrieving an invoice by number. A2A becomes useful when the receiving service must interpret a goal, choose steps, request clarification or return work over time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a broader introduction to the protocol and multi-agent design, see our guide to building interoperable AI agents with A2A.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The technology behind the solution<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The A2A agent is hosted as an ASP.NET Core application. ASP.NET Core is Microsoft\u2019s framework for building web services in .NET, giving the agent standard controls for authentication, logging, health checks and request limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The official A2A .NET packages handle the protocol details. An agent publishes an Agent Card, which is similar to a digital business card. It tells approved callers what the agent can do, where it is available and which communication options it supports.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Azure Container Apps then runs the packaged application. A container is a portable bundle containing the application and everything it needs to run. Container Apps can add or remove copies based on demand, manage encrypted web traffic and create revisions so a faulty release can be rolled back.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Build a focused ASP.NET Core agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start with one narrow business outcome. An agent that \u201chelps with operations\u201d is difficult to test and govern. An order-status agent that checks approved systems and explains delivery risks is much easier to control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create the project and add the A2A packages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dotnet new webapi -n OrderStatusAgent\ncd OrderStatusAgent\ndotnet add package A2A\ndotnet add package A2A.AspNetCore<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The current A2A protocol has reached version 1.0, but some .NET implementation packages may still be released as previews. Pin tested package versions rather than accepting automatic upgrades in production.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, implement the agent handler. This simplified example keeps the AI reasoning separate from the A2A communication layer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using A2A;\n\npublic sealed class OrderStatusAgent : IAgentHandler\n{\n private readonly IOrderService _orders;\n\n public OrderStatusAgent(IOrderService orders)\n {\n _orders = orders;\n }\n\n public async Task ExecuteAsync(\n RequestContext context,\n AgentEventQueue events,\n CancellationToken cancellationToken)\n {\n var responder = new MessageResponder(events, context.ContextId);\n var result = await _orders.AnswerAsync(\n context.UserText,\n cancellationToken);\n\n await responder.ReplyAsync(\n result,\n cancellationToken: cancellationToken);\n }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>IOrderService<\/code> should contain the controlled business logic. It might call Azure OpenAI, OpenAI or Anthropic Claude, but it should also enforce which systems can be queried and which actions are allowed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Register the handler, describe its skill and expose the endpoint:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using A2A;\nusing A2A.AspNetCore;\n\nvar builder = WebApplication.CreateBuilder(args);\n\nvar card = new AgentCard\n{\n Name = &quot;Order Status Agent&quot;,\n Description = &quot;Checks approved order data and explains delivery risks.&quot;,\n Version = &quot;1.0.0&quot;,\n SupportedInterfaces =\n [\n new AgentInterface\n {\n Url = &quot;https:\/\/agent.example.com\/a2a&quot;,\n ProtocolBinding = &quot;JSONRPC&quot;,\n ProtocolVersion = &quot;1.0&quot;\n }\n ],\n DefaultInputModes = [&quot;text\/plain&quot;],\n DefaultOutputModes = [&quot;text\/plain&quot;]\n};\n\nbuilder.Services.AddA2AAgent&amp;lt;OrderStatusAgent&amp;gt;(card);\nbuilder.Services.AddScoped&amp;lt;IOrderService, OrderService&amp;gt;();\n\nvar app = builder.Build();\napp.MapA2A(&quot;\/a2a&quot;);\napp.MapWellKnownAgentCard();\napp.Run();<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Treat this as a starting pattern rather than a complete production application. The public URL should come from configuration, and the Agent Card should only advertise capabilities that callers are genuinely authorised to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Package and deploy the agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A small Dockerfile packages the ASP.NET Core service into a container:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>FROM mcr.microsoft.com\/dotnet\/aspnet:8.0 AS runtime\nWORKDIR \/app\nEXPOSE 8080\n\nFROM mcr.microsoft.com\/dotnet\/sdk:8.0 AS build\nWORKDIR \/src\nCOPY . .\nRUN dotnet publish -c Release -o \/app\/publish\n\nFROM runtime\nWORKDIR \/app\nCOPY --from=build \/app\/publish .\nENTRYPOINT [&quot;dotnet&quot;, &quot;OrderStatusAgent.dll&quot;]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Push the image to Azure Container Registry, Microsoft\u2019s private storage service for container images, and deploy it to Azure Container Apps. Use internal ingress, meaning private network access, when only company systems need the agent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For production workloads, consider keeping at least one container running. Scaling to zero can reduce idle costs, but the first request may be slower while a new container starts. That delay can be disruptive when one agent is waiting for another.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Long-running tasks also require durable storage outside the container. Do not rely on a container\u2019s local memory for task history because containers can restart or be replaced. Store task state in an approved service such as Azure SQL, Cosmos DB or a distributed cache.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Do not mistake connectivity for security<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The A2A software development kit handles protocol mechanics, but it does not automatically secure your endpoint. Authentication, authorisation, rate limiting, tenant separation and production storage remain the application owner\u2019s responsibility.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Use Microsoft Entra ID<\/strong> so only approved applications and agents can connect.<\/li><li><strong>Use managed identity<\/strong>, which gives the container a controlled Azure identity without storing passwords in code.<\/li><li><strong>Limit each agent\u2019s permissions<\/strong> to the data and actions required for its job.<\/li><li><strong>Apply request and spending limits<\/strong> so a loop between agents cannot create an unexpected AI bill.<\/li><li><strong>Filter logs<\/strong> so prompts, personal information, access tokens and customer records are not recorded unnecessarily.<\/li><li><strong>Scan containers and cloud settings<\/strong> with Microsoft Defender and Wiz to identify vulnerable software or unsafe exposure.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These controls also support the Essential Eight, the Australian Government\u2019s cybersecurity framework that many organisations use to reduce common attack paths. The agent should fit within existing access control, patching, monitoring and incident-response processes rather than sitting outside them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For deeper guidance, read our article on implementing secure A2A authentication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A practical business scenario<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Consider a 200-person distributor with separate agents for sales enquiries, inventory and delivery scheduling. Previously, staff copied information between three systems whenever a customer requested an urgent order update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With A2A, the sales agent can ask the inventory agent whether stock is available, then send a defined task to the delivery agent for an estimated dispatch date. The employee receives one answer while each agent remains responsible for a limited function.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The business outcome is not simply \u201cmore AI\u201d. It is fewer manual checks, faster customer responses and a clear record of which service supplied each part of the answer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What to decide before production<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Choose one measurable process, such as reducing order-status handling time.<\/li><li>Document which agents can call each other and what data they may exchange.<\/li><li>Decide whether results should be immediate, streamed or managed as tracked tasks.<\/li><li>Set cost, request, timeout and retry limits before connecting an AI model.<\/li><li>Test failure cases, including unavailable systems, duplicate requests and incomplete data.<\/li><li>Use Container Apps revisions to release gradually and roll back safely.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If your core applications already run on .NET, this approach lets you add agent communication without abandoning familiar development, security and support practices. It also keeps the AI model replaceable rather than tying the entire workflow to one provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CloudProInc combines more than 20 years of enterprise IT experience with hands-on work across Azure, Microsoft 365, OpenAI, Claude, Defender and Wiz. As a Melbourne-based Microsoft Partner and Wiz Security Integrator, we focus on making new technology useful, secure and supportable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are considering an A2A pilot but are unsure how to host, secure or cost it, we are happy to review the design with you \u2014 no strings attached.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Learn how to build a .NET A2A agent, deploy it to Azure Container Apps, and add the security, scaling and governance controls production workloads need.<\/p>\n","protected":false},"author":1,"featured_media":57916,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_opengraph-title":"A2A Agents with ASP.NET Core and Container Apps","_yoast_wpseo_opengraph-description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","_yoast_wpseo_twitter-title":"A2A Agents with ASP.NET Core and Container Apps","_yoast_wpseo_twitter-description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[27,80,16,13],"tags":[],"class_list":["post-57912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-net","category-ai-agents","category-microsoft-azure","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v28.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>A2A Agents with ASP.NET Core and Container Apps<\/title>\n<meta name=\"description\" content=\"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A2A Agents with ASP.NET Core and Container Apps\" \/>\n<meta property=\"og:description\" content=\"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-19T23:24:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-19T23:25:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"A2A Agents with ASP.NET Core and Container Apps\" \/>\n<meta name=\"twitter:description\" content=\"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"Building A2A Agents with ASP.NET Core and Azure Container Apps\",\"datePublished\":\"2026-07-19T23:24:17+00:00\",\"dateModified\":\"2026-07-19T23:25:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/\"},\"wordCount\":1194,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png\",\"articleSection\":[\".NET\",\"AI Agents\",\"Azure\",\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/\",\"name\":\"A2A Agents with ASP.NET Core and Container Apps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png\",\"datePublished\":\"2026-07-19T23:24:17+00:00\",\"dateModified\":\"2026-07-19T23:25:38+00:00\",\"description\":\"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2026\\\/07\\\/20\\\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building A2A Agents with ASP.NET Core and Azure Container Apps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#website\",\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"A2A Agents with ASP.NET Core and Container Apps","description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/","og_locale":"en_US","og_type":"article","og_title":"A2A Agents with ASP.NET Core and Container Apps","og_description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","og_url":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/","og_site_name":"CPI Consulting","article_published_time":"2026-07-19T23:24:17+00:00","article_modified_time":"2026-07-19T23:25:38+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","type":"image\/png"}],"author":"CPI Staff","twitter_card":"summary_large_image","twitter_title":"A2A Agents with ASP.NET Core and Container Apps","twitter_description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#article","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/"},"author":{"name":"CPI Staff","@id":"https:\/\/www.cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"Building A2A Agents with ASP.NET Core and Azure Container Apps","datePublished":"2026-07-19T23:24:17+00:00","dateModified":"2026-07-19T23:25:38+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/"},"wordCount":1194,"commentCount":0,"publisher":{"@id":"https:\/\/www.cloudproinc.com.au\/#organization"},"image":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","articleSection":[".NET","AI Agents","Azure","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/","url":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/","name":"A2A Agents with ASP.NET Core and Container Apps","isPartOf":{"@id":"https:\/\/www.cloudproinc.com.au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#primaryimage"},"image":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","datePublished":"2026-07-19T23:24:17+00:00","dateModified":"2026-07-19T23:25:38+00:00","description":"A2A agents become secure, scalable services with ASP.NET Core, Container Apps, authentication, durable task storage, controlled access and clear monitoring.","breadcrumb":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#primaryimage","url":"\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","contentUrl":"\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/cloudproinc.com.au\/index.php\/2026\/07\/20\/building-a2a-agents-with-asp-net-core-and-azure-container-apps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudproinc.com.au\/"},{"@type":"ListItem","position":2,"name":"Building A2A Agents with ASP.NET Core and Azure Container Apps"}]},{"@type":"WebSite","@id":"https:\/\/www.cloudproinc.com.au\/#website","url":"https:\/\/www.cloudproinc.com.au\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/www.cloudproinc.com.au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cloudproinc.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.cloudproinc.com.au\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/www.cloudproinc.com.au\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudproinc.com.au\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/www.cloudproinc.com.au\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/www.cloudproinc.com.au\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"\/wp-content\/uploads\/2026\/07\/building-a2a-agents-with-asp-net-core-and-azure-container-apps.png","jetpack-related-posts":[{"id":57923,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/20\/building-production-ready-net-a2a-agents-on-azure-container-apps\/","url_meta":{"origin":57912,"position":0},"title":"Building Production-Ready .NET A2A Agents on Azure Container Apps","author":"CPI Staff","date":"July 20, 2026","format":false,"excerpt":"Learn how .NET, ASP.NET Core and Azure Container Apps turn A2A agents into secure, scalable business services with clear controls for cost, access and governance.","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57949,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/21\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure\/","url_meta":{"origin":57912,"position":1},"title":"Monitoring and Troubleshooting A2A Agent Communication in Azure","author":"CPI Staff","date":"July 21, 2026","format":false,"excerpt":"Learn how to trace A2A agent conversations in Azure, diagnose failures faster, control costs and give business leaders confidence that multi-agent workflows are operating safely.","rel":"","context":"In &quot;AI Agents&quot;","block_context":{"text":"AI Agents","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai-agents\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png 1x, \/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png 1.5x, \/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png 2x, \/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png 3x, \/wp-content\/uploads\/2026\/07\/monitoring-and-troubleshooting-a2a-agent-communication-in-azure.png 4x"},"classes":[]},{"id":57768,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/06\/building-interoperable-ai-agents-with-a2a-and-agent-framework\/","url_meta":{"origin":57912,"position":2},"title":"Building Interoperable AI Agents with A2A and Agent Framework","author":"CPI Staff","date":"July 6, 2026","format":false,"excerpt":"A practical guide for tech leaders on using A2A and Microsoft Agent Framework to build AI agents that work together securely across business systems.","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png 1x, \/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png 1.5x, \/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png 2x, \/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png 3x, \/wp-content\/uploads\/2026\/07\/building-interoperable-ai-agents-with-a2a-and-agent-framework.png 4x"},"classes":[]},{"id":57883,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/16\/using-a2a-and-mcp-together-for-safer-business-ai-systems\/","url_meta":{"origin":57912,"position":3},"title":"Using A2A and MCP Together for Safer Business AI Systems","author":"CPI Staff","date":"July 16, 2026","format":false,"excerpt":"A practical guide for CIOs and tech leaders on combining A2A and MCP to build AI systems that are useful, secure, and easier to govern.","rel":"","context":"In &quot;AI Agents&quot;","block_context":{"text":"AI Agents","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai-agents\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png 1x, \/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png 1.5x, \/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png 2x, \/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png 3x, \/wp-content\/uploads\/2026\/07\/using-a2a-and-mcp-together-for-safer-business-ai-systems.png 4x"},"classes":[]},{"id":57787,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints\/","url_meta":{"origin":57912,"position":4},"title":"Connecting Microsoft Foundry Agents to External A2A Endpoints","author":"CPI Staff","date":"July 7, 2026","format":false,"excerpt":"A practical guide for tech leaders on connecting Microsoft Foundry agents to external A2A endpoints safely, without creating cost, security, or governance surprises.","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png 1x, \/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png 1.5x, \/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png 2x, \/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png 3x, \/wp-content\/uploads\/2026\/07\/connecting-microsoft-foundry-agents-to-external-a2a-endpoints.png 4x"},"classes":[]},{"id":57857,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/07\/14\/building-cross-platform-multi-agent-workflows-with-a2a-protocol\/","url_meta":{"origin":57912,"position":5},"title":"Building Cross Platform Multi Agent Workflows with A2A Protocol","author":"CPI Staff","date":"July 14, 2026","format":false,"excerpt":"A practical guide for tech leaders on using A2A to connect AI agents across platforms safely, without locking your business into one vendor.","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png 1x, \/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png 1.5x, \/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png 2x, \/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png 3x, \/wp-content\/uploads\/2026\/07\/building-cross-platform-multi-agent-workflows-with-a2a-protocol.png 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/57912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=57912"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/57912\/revisions"}],"predecessor-version":[{"id":57913,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/57912\/revisions\/57913"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/57916"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=57912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=57912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=57912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}