Webpack has dominated for years. But Vite (powered by esbuild) is 100x faster. Why Vite is Fast Webpack bundles your entire application before serving it. Vite serves source files over native ESM (ES Modules). The browser does the importing. On a large React project, our startup time went from 45 seconds (Webpack) to 300ms (Vite). […]
Read more โMonth: May 2021
Container Security: Running as Non-Root
By default, Docker containers run as `root`. If a container breakout vulnerability exists, the attacker gains root access to the host. The Fix Create a dedicated user in your Dockerfile. Enforce this in Kubernetes using `securityContext`: `runAsNonRoot: true`.
Read more โVisual Studio 2022 Preview 1: 64-Bit is Real
It happened. Visual Studio is finally 64-bit. Use more than 4GB of RAM. Open massive solutions containing 1,600 projects. First Impressions It feels snappier. Finding files in huge repos is instant. The UI has a slight refresh/modernization. And IntelliCode (AI-assisted coding) can now complete whole lines of code. This is the most significant architecture change […]
Read more โ.NET 6 Minimal APIs: First Look
Inspired by Express.js and Go, .NET 6 introduces Minimal APIs. You can write a full API in 4 lines of code. Performance Minimal APIs bypass the traditional MVC Controller pipeline (Routing, Filters, Binding). They are marginally faster, but the real benefit is Developer Velocity. It removes the ceremony for simple microservices.
Read more โMassTransit: The Enterprise Service Bus for .NET
Using raw `RabbitMQ.Client` or `Azure.Messaging.ServiceBus` is difficult. You have to handle retries, serialization, and topology yourself. MassTransit handles this for you. Saga Pattern MassTransit has first-class support for Sagas (Long running processes) using State Machines. This state machine is defined in C# using a fluent syntax (`Currently(Submitted).When(OrderValidated)…`) and persisted to SQL/Redis automatically.
Read more โBicep Modules: Enterprise Infrastructure Scale
To manage 100+ Azure subscriptions, you cannot copy-paste Bicep files. You need Modules. Private Registry You can publish modules to an Azure Container Registry (ACR). Then consume it: This enforces compliance. If the module enforces HTTPS only, every consumer adheres to it.
Read more โ