Introduction to Pulumi: Infrastructure as Real Code

Pulumi lets you write infrastructure as actual code – TypeScript, Python, C#, Go. No DSL to learn. Here’s why it’s worth considering. Why Pulumi? Use your existing programming language Full IDE support (IntelliSense, refactoring) Reuse patterns with functions, classes, packages Test infrastructure code with regular testing frameworks TypeScript Example C# Example Terraform vs Pulumi Terraform: […]

Read more โ†’

Azure Bicep Preview: ARM Templates Made Simple

ARM templates have always been powerful but verbose. Azure Bicep is a new DSL that compiles to ARM templates. It’s like TypeScript for ARM. Here’s an early look. What is Bicep? Bicep is a domain-specific language that transpiles to ARM JSON. Write cleaner code, get the same deployment artifacts. ARM vs Bicep Compare to the […]

Read more โ†’

React Testing Best Practices in 2020

Testing React applications has evolved. Here are the best practices I’ve learned for writing maintainable, effective tests in 2020. Use React Testing Library Enzyme is out, React Testing Library is in. Test behavior, not implementation. Query Priority getByRole – Most accessible getByLabelText – Form elements getByPlaceholderText getByText getByTestId – Last resort Avoid These Testing implementation […]

Read more โ†’

Entity Framework Core 3.1: Performance and LINQ Improvements

EF Core 3.1 is the LTS version with three years of support. It’s also got significant performance improvements. Here’s what matters for production apps. LINQ Query Improvements EF Core 3.1 translates more LINQ patterns to SQL: Breaking Change: Client Evaluation EF Core 3.x throws exceptions for client-evaluated queries instead of silently evaluating. This catches performance […]

Read more โ†’

TypeScript 3.8: Private Fields and Top-Level Await

TypeScript 3.8 brings ECMAScript private fields and top-level await. These are significant additions that change how we write TypeScript. Private Fields (#) Private vs private private: Compile-time only, accessible at runtime #field: True runtime privacy, JavaScript feature Top-Level Await Export * as Namespace References TypeScript 3.8 Release Notes

Read more โ†’

GitHub Actions for .NET: Complete CI/CD Guide

GitHub Actions is now my go-to for .NET CI/CD. It’s free for public repos, integrated with GitHub, and surprisingly powerful. Here’s a complete guide. Basic .NET Workflow Deploy to Azure Tips Cache NuGet packages for faster builds Use matrix builds to test multiple .NET versions Store secrets in GitHub Secrets Use workflow dispatch for manual […]

Read more โ†’