gRPC-Web enables browser clients to call gRPC services. This is particularly exciting for Blazor WebAssembly, where you can now use the same strongly-typed gRPC contracts on both server and client. Let’s explore how to set this up with .NET 5. Why gRPC-Web? Standard gRPC requires HTTP/2 with trailers, which browsers don’t fully support. gRPC-Web overcomes […]
Read more →Tag: API
GraphQL with .NET: Hot Chocolate Library
Hot Chocolate is the most popular GraphQL library for .NET. Here’s a quick start. Setup Query Type References Hot Chocolate Docs
Read more →Microsoft Graph API: Working with Users and Groups
Graph API gives you access to Azure AD users and groups. Here are common operations you’ll need. Get Current User List Users Get User’s Groups Permissions Needed User.Read – Read own profile User.Read.All – Read all users GroupMember.Read.All – Read group memberships References Graph Users API
Read more →Office 365 Development: Microsoft Graph API Basics
Microsoft Graph is the gateway to Office 365 data. Users, emails, calendars, files—it’s all accessible through one unified API. Here’s how to get started. What is Microsoft Graph? Graph is a REST API that provides access to Microsoft 365 services. Instead of separate APIs for SharePoint, Exchange, Teams, etc., you use one endpoint: https://graph.microsoft.com Authentication […]
Read more →Node.js REST API with Express: Complete Guide
Express is still the go-to framework for Node.js APIs. It’s minimal, flexible, and has a massive ecosystem. Here’s how to build a production-ready REST API from scratch. Project Setup Basic Server Organizing Routes Input Validation Never trust user input. Use express-validator: Async Error Handling References Express.js Documentation Node.js Best Practices
Read more →