
Joined October 2015
- Tweets1.7K
- Following570
- Followers33
- Likes28
If you're a nerd like me, you'll love this ๐ค
Stop centering icons with align-items: center.
Here's how to build a flexible box that perfectly aligns icons, text, and the box itself at any size, using CSS and a little math.
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
๐ Starting a process and reading its output in .NET used to take several steps: ProcessStartInfo, RedirectStandardOutput, Start, ReadToEndAsync and WaitForExitAsync
Redirect both streams and read them one after another, and a deadlock is easy
That's why many projects reached for CliWrap
.NET 11 adds Process.RunAndCaptureTextAsync. One call starts the program, captures the output and waits for it to finish. The result gives you StandardOutput and ExitStatus.ExitCode
Handy in tools, C# scripts and tests that call git or dotnet
#dotnet #csharp
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
ASP .NET Core JWT Authentication and Authorization of Web API [Detailed] by @yogihosting yogihosting.com/jwt-api-aspnโฆ #aspnetcore
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
๐ @angular v22.3 is out!
๐ฆ Rust compiler is coming
๐ก๏ธ Router error boundaries and fallback
โก New library builder
โจ HTTP `query` support
All the details are in our blog post๐
blog.ninja-squad.com/2026/11โฆ
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
I updated my ASP .NET Core cheat sheet for .NET 11.
These are the topics a senior .NET developer should know in Q4 2026 ๐
๐๐ฆ๐ฃ .๐ก๐๐ง ๐๐ผ๐ฟ๐ฒ ๐๐ฎ๐๐ถ๐ฐ๐
โข Minimal APIs
โข Controllers
โข FastEndpoints
โข Routing
โข Middlewares
โข Filters and Attributes
โข Configuration and Options Pattern
โข Error Handling and Problem Details
โข HostedService and BackgroundService
โข Health Checks
โข Rate Limiting
โข API Versioning
โข Response Compression
๐ก๐ฒ๐ ๐ถ๐ป ๐๐ฆ๐ฃ .๐ก๐๐ง ๐๐ผ๐ฟ๐ฒ ๐ญ๐ญ
โข Async Validation in Minimal APIs
โข Built-in Validation Localization
โข Native OpenTelemetry Tracing
โข OpenAPI 3.2 by default
โข MCP Server Template
โข Union Types in JSON bodies
๐๐ฎ๐๐ฎ ๐๐ฐ๐ฐ๐ฒ๐๐
โข EF Core
โข Dapper
๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐
โข Authentication and Authorization
โข JWT and Refresh Tokens
โข OAuth 2.0 and OpenID Connect
โข ASP .NET Core Identity
โข Keycloak
โข Cookies
โข CORS
๐๐ฎ๐ฐ๐ต๐ถ๐ป๐ด
โข HybridCache
โข OutputCache
โข FusionCache
โข StackExchange Redis
๐ ๐ฒ๐๐๐ฎ๐ด๐ถ๐ป๐ด
โข MassTransit (v8 is free, v9+ is paid)
โข Wolverine
โข Rebus
โข Dapr
๐๐ฃ๐ ๐๐ผ๐บ๐บ๐๐ป๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป
โข REST
โข gRPC
โข GraphQL HotChocolate
โข HttpClient and HttpClientFactory
โข SOAP (legacy)
๐๐ง๐ง๐ฃ ๐๐น๐ถ๐ฒ๐ป๐๐ ๐ฎ๐ป๐ฑ ๐ฅ๐ฒ๐๐ถ๐น๐ถ๐ฒ๐ป๐ฐ๐ฒ
โข Refit
โข Polly
โข Microsoft Resilience
๐ฉ๐ฎ๐น๐ถ๐ฑ๐ฎ๐๐ถ๐ผ๐ป
โข Built-in Validation (AddValidation)
โข FluentValidation
โข DataAnnotations
๐๐ผ๐ด๐ด๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ ๐ผ๐ป๐ถ๐๐ผ๐ฟ๐ถ๐ป๐ด
โข Serilog
โข Microsoft Logging
โข OpenTelemetry
โข Seq
โข Loki
โข Elastic Search
โข .NET Aspire Dashboard
๐ฅ๐๐ฆ๐ง ๐๐๐ป๐ฑ๐ฎ๐บ๐ฒ๐ป๐๐ฎ๐น๐
โข HTTP Methods and Status Codes
โข REST Constraints
โข REST Maturity Model
โข Pagination, Filtering, Sorting
โข HATEOAS
๐๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ฐ๐ ๐๐ป๐ท๐ฒ๐ฐ๐๐ถ๐ผ๐ป
โข Microsoft DI
โข Scrutor for Decorators and Assembly Scanning
๐ข๐ฏ๐ท๐ฒ๐ฐ๐ ๐ ๐ฎ๐ฝ๐ฝ๐ถ๐ป๐ด
โข Manual Mapping โ
โข AutoMapper โ
โข Mapster โ
โข Mapperly โ
๐๐ฃ๐ ๐๐ผ๐ฐ๐๐บ๐ฒ๐ป๐๐ฎ๐๐ถ๐ผ๐ป
โข OpenAPI
โข Scalar
โข Swagger
๐ง๐ฎ๐๐ธ ๐ฆ๐ฐ๐ต๐ฒ๐ฑ๐๐น๐ถ๐ป๐ด
โข Quartz
โข Hangfire
โข TickerQ
๐ฅ๐ฒ๐ฎ๐น-๐ง๐ถ๐บ๐ฒ ๐๐ผ๐บ๐บ๐๐ป๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป
โข SignalR
โข WebSockets
โข HotChocolate Subscriptions
Save this post. You'll come back to it.
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
#1 habit that transformed my .NET projects:
Matching the architecture to the problem, not the other way around.
But most developers waste months forcing the wrong pattern on the wrong project.
So here are 5 architectures I use and when each one actually makes sense:
1. Clean Architecture
Organizes code into concentric layers with a strict dependency rule: outer layers depend on inner layers, never the other way around.
Best for projects where changeability and testability are top priorities.
But beware: teams often over-engineer the abstractions and slow down development.
2. Vertical Slice Architecture
Organizes code by feature, not by technical layer. Each slice contains everything from API to data access.
Best for internal tools, smaller web apps, or side APIs where speed matters more than rigid boundaries.
Low ceremony. Fast to build. Easy to extend by adding new slices.
3. CIA Blueprint
Takes the best of Clean Architecture and Vertical Slices and combines them into a practical hybrid.
C = Core (domain + application logic, organized by feature slices)
I = Infrastructure (databases, external APIs, third-party integrations)
A = API (thin endpoints that delegate to Core)
Best for real-world .NET projects where you want clean boundaries without the ceremony.
4. Modular Monolith
Structures the application into distinct modules, each representing a business domain, while deploying as a single unit.
Best for medium-to-large SaaS apps that need clear domain boundaries but don't yet require independent deployments.
Great when you plan to evolve toward microservices later.
5. Microservices
Each domain module is deployed as an independent service running in its own process.
Best for large, high-traffic systems with multiple teams and high scalability requirements.
Don't start here. Evolve into it when you outgrow your monolith.
The evolution path:
Vertical Slice -> CIA Blueprint -> Clean Architecture -> Modular Monolith -> Microservices
There is no one-size-fits-all architecture.
Start simple, understand your domain, and evolve as your application grows.
Result Pattern in C# and .NET 10 - When to Use, When to Skip codewithmukesh.com/blog/resuโฆ
4
๐ Announcing .NET 11!
This release brings C# 15 union types, faster developer tools, hundreds of performance improvements, and new capabilities for web, mobile, desktop, and AI apps.
See whatโs new and get started: msft.it/6018aCAAi
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
NgTemplate is actually the most flexible way of building UIs in Angular
But one thing that annoys everyone is the reduced type safety
The great news is with `ngTemplateContextGuard` you can tell the Angular compiler what type to expect inside a given NgTemplate:
![TypeScript code in product-list.ts. A directive with selector 'ng-template[row]', class RowTemplate<T>, has a required input row of type T[] and injects TemplateRef. Its static method ngTemplateContextGuard<T>(dir: RowTemplate<T>, ctx: unknown) returns ctx is { $implicit: T; index: number } and its body is return true; this part is highlighted. Below, a ProductList component imports Table and RowTemplate and has a required input products of type Product[]. Its template is an app-table with [items]="products()", containing <ng-template [row]="products()" let-product let-i="index">, with a highlighted comment "product: Product, i: number", then {{ i + 1 }}. {{ product.name }}: {{ product.price }}.](https://pbs.twimg.com/media/HVyrVrKXAAAXgaB.jpg?name=small&format=webp)
ALT TypeScript code in product-list.ts. A directive with selector 'ng-template[row]', class RowTemplate<T>, has a required input row of type T[] and injects TemplateRef. Its static method ngTemplateContextGuard<T>(dir: RowTemplate<T>, ctx: unknown) returns ctx is { $implicit: T; index: number } and its body is return true; this part is highlighted. Below, a ProductList component imports Table and RowTemplate and has a required input products of type Product[]. Its template is an app-table with [items]="products()", containing <ng-template [row]="products()" let-product let-i="index">, with a highlighted comment "product: Product, i: number", then {{ i + 1 }}. {{ product.name }}: {{ product.price }}.
css tip: use tabular-nums for numbers that change.
most fonts give each digit its own width, so a timer or counter wobbles as the digits change.
tabular-nums gives every digit the same width, so the number stays still.
.timer {
font-variant-numeric: tabular-nums;
}
css tip: stop hardcoding icon sizes in px.
set the icon height to 1cap instead.
1cap is the height of a capital letter in the current font, so the icon automatically matches the text at any font-size.
.label {
display: flex;
align-items: baseline;
}
.label svg {
block-size: 1cap;
}
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
Implement JWT authentication in Angular 22 with a cleaner, modern approach!
Explore functional interceptors, route guards, Angular Signals, and protected API requests.
Full tutorial ๐
codewolfy.com/jwt-authenticaโฆ
#angular #jwt #typescript #webdev #codewolfy
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
Did you know that #Angular directives can extend native classes? Here's an IntersectionObserver directive that IS an IntersectionObserver
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
css tip ๐ข
.๐๐๐๐๐ {
๐๐๐๐-๐๐๐๐๐๐๐-๐๐๐๐๐๐๐: ๐๐๐๐๐๐๐-๐๐๐๐;
}
most fonts draw a 1 narrower than a 0, so a timer, price or counter shifts sideways every time a digit changes.
๐๐๐๐๐๐๐-๐๐๐๐ gives every digit the same width.
Angular v2.0 dropped on Sept 15, 2016 - marking 10 years of modern Angular last week ๐ฅณโจ
A decade of shared growth, transformative updates, and millions of apps shipped worldwide.
Which version was your very first ng new? Drop it below ๐
๐ค Made with AI
๐ธ๐๐๐๐ฆ๐๐๐ retweeted
css tip ๐ฒ
๐๐๐๐-๐๐๐๐: ๐๐๐๐๐() is ๐๐๐๐() in css units.
.๐๐๐๐ {
๐๐๐๐-๐๐๐๐: ๐๐๐๐๐(
๐๐๐๐ ๐ถ ๐ถ,
๐๐๐๐๐ ๐๐ ๐๐๐๐(๐ป๐ถ% - ๐ผ๐ธ๐๐ก),
๐๐๐ ๐๐ ๐๐๐๐(๐ป๐ถ% + ๐ผ๐ธ๐๐ก) ๐ถ ๐๐ ๐ผ๐ธ๐๐ก ๐๐๐ ,
๐๐๐๐๐ ๐๐ ๐ท๐ถ๐ถ%, ๐๐๐๐๐ ๐๐ ๐ท๐ถ๐ถ%, ๐๐๐๐๐ ๐๐ ๐ถ
);
}
percentages resolve against the box, so the notch stays under the avatar at every width, whereas ๐๐๐๐() takes svg path data with no percentages, so the notch is stuck at the width you drew it at.



















