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 โMonth: April 2020
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 โGlobal Azure Virtual 2020: Cloud Skills Online
This year’s Global Azure Bootcamp went virtual due to COVID-19. It was different, but the spirit of community learning remained strong. A New Format Instead of gathering in Letterkenny, we joined thousands online. The LK MUG contributed sessions to the global stream while hosting our own virtual track. My Session: Azure DevOps Pipelines I presented […]
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 โAWS CloudFormation Best Practices
CloudFormation remains the most common IaC tool for AWS. Here are best practices I’ve learned from production deployments. Template Organization Use nested stacks for large deployments One template per service or component Organize parameters at the top Use conditions for environment differences Useful Intrinsic Functions Stack Policies Protect critical resources from accidental updates or deletion: […]
Read more โAWS CDK: Infrastructure as TypeScript
AWS Cloud Development Kit (CDK) lets you define AWS infrastructure using TypeScript (or Python, C#, Java). Here’s why it’s worth learning. Getting Started Simple Stack Deploy References AWS CDK Developer Guide
Read more โ