Home icon

Modernizing SignalR with AWS AppSync Event API

.NET on AWS Blog



This article explains how to migrate from SignalR to AWS AppSync Event API for real-time .NET applications, replacing self-managed infrastructure with serverless WebSocket communication.

  • AppSync Event API eliminates Redis backplane and always-on server infrastructure costs
  • Automatic scaling handles millions of concurrent WebSocket connections without configuration
  • Backend publishes events via HTTP POST; frontend subscribes using AWS Amplify over WebSocket
  • Hierarchical channel naming organizes events by domain without additional backend logic
  • Use IAM roles for production, API keys for development; rotate credentials via Secrets Manager
  • Keep event payloads under 128 KB; publish references for large datasets instead
  • Monitor PublishErrors, SubscriptionErrors, and ConnectionDrops metrics in CloudWatch
  • Best suited for publisher-to-many-subscribers patterns, not bidirectional RPC communication

Migration reduces operational overhead and improves developer productivity by shifting infrastructure management to AWS while maintaining low-latency real-time communication.



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

May 29
2025
Modernizing applications with AWS AppSync Events
Nov 25
2024
Working with AWS AppSync Events: Serverless WebSockets for Pub/Sub
May 30
2024
AWS AppSync now supports long running events with asynchronous Lambda function invocations
Nov 26
2024
Working with AWS AppSync Events: Real-time Web Games with Chat

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.