Home icon

Announcing response streaming for .NET on AWS Lambda

Developer Tools Blog



This article announces response streaming support for .NET Lambda functions, allowing functions to send data incrementally rather than buffering entire responses.

  • Stream tokens from LLM/AI models as they are generated in real-time
  • Send large data exports like CSV or JSON without buffering full datasets
  • Increase max response size from 6 MB to 200 MB (10 MB with API Gateway)
  • Use LambdaResponseStreamFactory.CreateStream() to get writable System.IO.Stream
  • Invoke with InvokeWithResponseStream API from AWSSDK.Lambda package
  • Works with API Gateway REST API using /response-streaming-invocations path
  • Integrates with ASP.NET Core via Amazon.Lambda.AspNetCoreServer.Hosting
  • Compatible with Microsoft.Extensions.AI for Bedrock model streaming

Response streaming enables more responsive .NET Lambda functions for AI workloads and large data transfers by eliminating buffering delays.



Go to article

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

Jul 31
2025
AWS Lambda response streaming now supports 200 MB response payloads
Nov 20
2025
Amazon API Gateway now supports response streaming for REST APIs
Feb 28
2024
Supercharging User Experience with AWS Lambda Response Streaming
Feb 22
2024
Introducing the .NET 8 runtime for AWS Lambda

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.