Modernize ASP.NET Apps with Bedrock AgentCore Gateway and Strands Agents
Migration and Modernization Blog
This article demonstrates how to add conversational AI capabilities to existing ASP.NET applications without rewriting code by using Amazon Bedrock AgentCore Gateway and Strands Agents SDK.
- Expose .NET Lambda functions as MCP-compatible tools through AgentCore Gateway without custom conversion code
- Build an AI agent using Strands Agents SDK that discovers tools dynamically and orchestrates multi-step workflows
- Authenticate agent-to-gateway communication using Cognito OAuth 2.0 with token-based access control
- Replace direct API calls with conversational interface while keeping existing business logic unchanged
- Sample Octank Hotels application demonstrates booking reservations and concierge services through natural language
- Supports both controller-based and minimal APIs; works with Swashbuckle-generated OpenAPI specifications
- Deploy backend infrastructure using AWS SAM; agent runs as Python service connecting to gateway via MCP
This pattern enables organizations to add AI intelligence on top of existing ASP.NET applications while preserving years of business logic and avoiding costly rewrites.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2026
2026
2026
2026
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.