Azure Static Web Apps: The New JAMstack Platform

Azure Static Web Apps combines static hosting with serverless APIs. Perfect for JAMstack and SPAs including Blazor. Features GitHub Actions integration Free SSL certificates Global CDN distribution Integrated Azure Functions API Authentication providers built-in Deploy from GitHub References Static Web Apps Docs

Read more โ†’

SPFx and Microsoft Graph: Accessing User Data

Microsoft Graph is the API to access Microsoft 365 data. Here’s how to use it from SPFx web parts. Setup Graph Client Common Operations Permissions Request permissions in package-solution.json: Admins must approve these permissions in SharePoint Admin Center. References Use Microsoft Graph in SPFx

Read more โ†’

Cosmos DB: Cost Optimization Strategies

Cosmos DB can be expensive if not configured correctly. Here’s how to optimize costs while maintaining performance. Understand RU/s Consumption Monitor consumed vs provisioned RU/s Use Azure Monitor metrics Enable per-partition metrics Right-Size Throughput Autoscale: For variable workloads (10x range) Manual: For predictable workloads Serverless: For dev/test or sporadic usage Query Optimization Other Tips Use […]

Read more โ†’

React Class to Hooks Migration Guide

Still using class components? Here’s how to migrate to Hooks systematically. State Migration Lifecycle Migration Step-by-Step Process Convert state to useState calls Replace lifecycle methods with useEffect Extract custom hooks for reusable logic Convert methods to regular functions Remove this references References Hooks FAQ

Read more โ†’