OpenTelemetry (OTel) is the merger of OpenTracing and OpenCensus. In 2020, it is becoming the CNCF standard for collecting metrics and traces. This guide shows how to instrument a .NET Core app to send traces to Jaeger. Setup Manual Instrumentation Key Takeaways Vendor-neutral instrumentation prevents lock-in. “Activity” in .NET 5+ is the native implementation of […]
Read more โKubernetes Operators in .NET: Getting Started
Operators extend Kubernetes with custom domain logic. While usually written in Go, the .NET ecosystem has matured with the `KubeOps` SDK. We can now write C# operators to manage custom resources like `DatabaseCluster` or `TenantNamespace`. The Operator Pattern Defining a CRD in C# The Reconciler Key Takeaways Operators encode operational knowledge into software. The Reconcile […]
Read more โBuilding Teams Apps with SPFx and React
SPFx web parts can run as Teams tabs. Here’s how to build a Teams-aware component. Detect Teams Manifest References SPFx for Teams
Read more โTerraform with Azure: Complete Module Development
Modules are the building blocks of reusable Terraform infrastructure. A good module encapsulates complexity and enforces company standards (naming conventions, tagging, security). This guide builds an Azure VNET module with subnets and security groups. Directory Structure Using `for_each` for Subnets Key Takeaways Keep modules focused and single-responsibility. Always define `terraform` block with version constraints. Pin […]
Read more โReact Context Best Practices and Patterns
React Context provides a way to pass data through the component tree without prop drilling. Combined with the useReducer hook, it offers a lightweight alternative to Redux for global state management. However, misuse can lead to performance issues. The Split Context Pattern To avoid unnecessary re-renders, split State and Dispatch into separate contexts. Why Split? […]
Read more โ.NET 5 Preview: What’s Coming This November
.NET 5 unifies .NET Core and .NET Framework. Here’s what to expect when it releases in November. The Unification One .NET going forward C# 9 and F# 5 Single BCL across all platforms Top-level programs Records and init-only setters Performance Significant perf improvements in GC, JIT, and libraries. ARM64 support improved. References .NET 5 Preview
Read more โ