Best Practices
- Last UpdatedJul 27, 2026
- 1 minute read
- Engineering
- Integration Service 4.1
- Integrators
-
Always use factory pattern to create clients.
-
Handle acknowledgements properly for live data requests.
-
Use filters to reduce data transfer and improve performance.
-
Set appropriate expiry durations for posted data.
-
Subscribe to SignalR for real-time updates.
-
Register token refresh handlers for long-running operations.
-
Use try-catch blocks for error handling.
-
Dispose resources properly (HttpClient, CancellationTokenSource).
-
Check health before critical operations.
-
Use typed models when available.