realtime-and-integrations

Migrate SignalR hubs, linked servers, and on-prem integrations to Node.js WebSockets and Postgres LISTEN/NOTIFY.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/samdop/convertonode --skill realtime-and-integrations-samdop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: realtime-and-integrations
Source: https://github.com/samdop/convertonode/tree/main/.github/skills/realtime-and-integrations
Command: npx skills add https://github.com/samdop/convertonode --skill realtime-and-integrations-samdop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ws, pg, socket.io, @azure/service-bus, axios, and includes references (resource) components.

What problem does it solve? Migrating ASP.NET MVC applications to Node.js + React requires replacing SignalR real-time features, SQL Server linked-server queries, LiveLink/OpenText document integrations, and on-prem connectivity with modern equivalents, and doing this incorrectly leads to broken live updates, hidden authorization gaps, and fragile hybrid networking. ## Core Features & Use Cases - SignalR to WebSocket Migration: Maps hubs, groups, and client methods to ws or Socket.IO patterns with explicit message envelopes, per-socket authorization, and room management. - Postgres LISTEN/NOTIFY Event Bridge: Provides trigger-based and application-level notification patterns plus a reconnecting backend listener that fans events out to subscribed sockets and TanStack Query invalidation. - Enterprise Integration Adapters: Covers linked-server replacement via postgres_fdw/tds_fdw or integration services, LiveLink/OpenText Content Server adapter stubs, Azure Service Bus for async work, and ExpressRoute/VPN/Relay/APIM hybrid connectivity decisions. - Use Case: When migrating an MVC app whose dashboard refreshes via a SignalR hub backed by SQL Server change tracking, use this Skill to rebuild it as a ws gateway fed by Postgres NOTIFY triggers, with React hooks invalidating TanStack Query caches on each event. ## Quick Start Ask the AI to migrate the SignalR NotificationsHub in the legacy ASP.NET MVC app to a Node.js WebSocket gateway with Postgres LISTEN/NOTIFY events and authorized per-user subscriptions.

Frequently Asked Questions about realtime-and-integrations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a SignalR hub to Node.js WebSockets?

Replace hub method invocations with explicit JSON message envelopes such as auth, subscribe, and join-room, then implement a gateway using the `ws` library. Map SignalR groups to in-memory room sets and validate tokens during the upgrade handshake or as the first socket message.

Should I use ws or socket.io when replacing SignalR?

Use `ws` for lightweight raw WebSocket with minimal dependencies when you can own auth, rooms, and reconnect logic. Choose Socket.IO when the source system relies heavily on SignalR rooms, acknowledgements, and automatic reconnection, noting it uses a custom protocol requiring Socket.IO clients.

How do I push Postgres changes to React in real time?

Emit NOTIFY events from triggers or application code, keep one dedicated backend pg client running LISTEN, and forward notifications to a WebSocket broadcaster. On the frontend, a useWebSocketSubscription hook invalidates TanStack Query keys so components refetch fresh data.

What replaces SQL Server linked servers in Postgres?

Use postgres_fdw for Postgres-to-Postgres federation or tds_fdw to query SQL Server from Postgres. For hot-path reads, prefer an integration service that combines results in TypeScript or replicate the remote data into Postgres via CDC or ETL.

Does Azure Container Apps support WebSocket connections?

Yes, Container Apps supports WebSocket ingress out of the box when ingress transport is set to auto, so no custom sidecar is needed. For multi-replica deployments, each replica owns only its local sockets, so use Postgres NOTIFY or Service Bus to fan out events.

How do I connect Azure Container Apps to on-prem services?

Choose ExpressRoute for latency-sensitive or high-volume traffic, site-to-site VPN for moderate workloads, and Azure Relay or Hybrid Connections for a few individual endpoints. Use APIM with VNet integration when on-prem SOAP or REST services need a policy facade.