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 โMonth: April 2021
Managing Secrets in Azure DevOps Pipelines
Never commit secrets. But how do you get them into your pipeline? Variable Groups & Key Vault The best practice is to link a Variable Group to Azure Key Vault. Enable “Access policy” in KV for the DevOps Service Principal. Create Variable Group -> Toggle “Link secrets from an Azure key vault”. Select secrets to […]
Read more โAzure Bicep: Decompiling ARM Templates
Already have a library of ARM templates? You don’t need to rewrite them manually. The decompiler is surprisingly good. It converts resources, parameters, and variables. It might need a little manual clean-up (fixing variable names), but it does 95% of the work.
Read more โAngular 12: Null Coalescing in Templates
Angular 12 is here, and it finally brings modern TypeScript syntax to HTML templates. Null Coalescing (??) This release also moves closer to “Ivy everywhere” and deprecates the legacy View Engine.
Read more โGitHub Codespaces: Coding in the Cloud
GitHub Codespaces provides a full VS Code environment in the browser, backed by a Docker container. I’ve standardized my team’s dev environment using it. devcontainer.json The magic is in the .devcontainer folder. When a new developer joins, they click “Open in Codespace” and get a perfectly configured environment instantly. No “it works on my machine” […]
Read more โC# 9 Pattern Matching: The Definitive Guide
C# 9 enhanced pattern matching significantly. We can now write more expressive and “functional” logic. Logical Patterns Switch Expressions
Read more โ