A reference architecture for a HIPAA-regulated patient platform in front of two EHRs on Azure, with the booking path worked through in detail: who owns the slot, one transaction for the booking and its outbox event, idempotent delivery to the EHR over FHIR, and what happens when the EHR is down.
Read more →Tag: API
Claude API Deep Dive: Building with Anthropic’s Models
A comprehensive guide to the Anthropic Claude API covering Claude 3.5 Sonnet, tool use, vision, computer use, and production best practices.
Read more →OpenAI API Complete Guide: From Chat Completions to Assistants
A comprehensive guide to the OpenAI API covering GPT-4o, function calling, the Assistants API, vision capabilities, and production best practices with code examples.
Read more →Building a GraphQL API with Hot Chocolate 11
Hot Chocolate is the premier GraphQL server for .NET. Version 11 brings “Zero Latency” execution engine improvements. Setup Projection The real power is in [UseProjection]. It translates nested GraphQL queries into optimized EF Core SQL queries (SELECT only what is requested).
Read more →gRPC-Web: Bringing gRPC to Browser Applications
gRPC is great for microservices, but browsers don’t support HTTP/2 trailers required for standard gRPC. **gRPC-Web** is the protocol adaptation that makes it possible. In .NET, we can now host gRPC-Web services natively alongside standard gRPC. Configuring .NET Server Client Consumption Key Takeaways No need for an external Envoy proxy anymore (though still valid). Performance […]
Read more →GraphQL with .NET: Hot Chocolate Library
Hot Chocolate is the premier GraphQL server for .NET. Unlike Rest APIs, GraphQL allows clients to ask for exactly what they need, solving over-fetching. Hot Chocolate 11 brings massive performance improvements and the “Banana Cake Pop” IDE. Schema Definition (Code-First) Handling Relationships (DataLoaders) The “N+1 Problem” is the enemy of GraphQL. Use DataLoaders to batch […]
Read more →