Securing a Single Page Application (SPA) can be tricky. Blazor WebAssembly makes it easier by providing built-in integration with OpenID Connect (OIDC) providers, including Azure Active Directory (AAD). Here is how to secure your app. App Registration First, register your app in the Azure Portal. 1. Create a “Single-page application” registration. 2. Set the Redirect […]
Read more โSearch Results for: name
C# 9.0 Top-Level Programs: Reducing Boilerplate
C# has always been criticized for the “Hello World” ceremony. You needed a namespace, a class, and a static Main method just to print one line. C# 9 Top-Level Programs remove this requirement, bringing C# closer to scripting languages like Python for simple tasks and microservices. The New Entry Point Behind the Scenes The compiler […]
Read more โEntity Framework Core 5.0: Many-to-Many and More
EF Core 5.0 brings the feature everyone has been asking for: Many-to-Many relationships without a mapped join entity. It also introduces Split Queries to fix the “Cartesian Explosion” problem in complex joins. Many-to-Many You can now define navigation properties on both sides, and EF Core handles the middle table. Split Queries Instead of one giant […]
Read more โAzure Cosmos DB Graph API: Modeling Connected Data
While Cosmos DB is known for its document (SQL) API, its Graph API powered by Apache TinkerPop and Gremlin query language is incredibly powerful for connected data. If your data is about relationships – social networks, recommendations, knowledge graphs – the Graph API might be the right choice. When to Use Graph Graph databases excel […]
Read more โgRPC-Web: Bringing gRPC to Browser Applications
gRPC is great for microservices, but browsers don’t support HTTP/2 trailers required for standard gRPC. **gRPC-Web** is the protocol adaptation that makes it possible. In .NET, we can now host gRPC-Web services natively alongside standard gRPC. Configuring .NET Server Client Consumption Key Takeaways No need for an external Envoy proxy anymore (though still valid). Performance […]
Read more โAzure Kubernetes Service: Production Best Practices Guide
Running AKS in production requires more than a standard cluster create command. Security, reliability, and observability must be baked in. This guide covers the essential baseline for 2020 deployments. Network Architecture (CNI) Uptime SLA By default, the AKS control plane is free but has no financial SLA. For production, enable **Uptime SLA**. System Node Pools […]
Read more โ