Filter
Exclude
Time range
-
Near
Rfd๐Ÿชผ retweeted
FluentAssertions 8.10 delivers four high-impact BeEquivalentTo upgrades: null-as-empty equivalency options better extraneous-item diagnostics faster unordered matching and clearer failures for invalid path-based rules. View Full Release Notes: zurl.co/QVXK3
1
23
Replying to @Aaronontheweb
> "reddit" > Me: "No, you didn't". --- I haven't used FluentAssertions in years. All I remember is that it was too much work for something I could just make myself with a couple extension methods, regexes, or whatever. Update: checked the docs, and YUP.
213
Aaron Stannard retweeted
We did this earlier this year, but I was overdue for a blog post / video on it. We removed FluentAssertions from all of Akka .NET's public TestKit packages earlier this year in response to their license change. I don't begrudge OSS maintainers for trying to get paid for their work, but my specific vision for @AkkaDotNET is that it acts as a stable foundation for building the world's most important software. I believe that in order to do that Akka .NET must be permissionless to use. I explain in the video / blog post below how, even with FOSS exceptions to commercial licenses, these types of dependencies conflict with our mission.
New video / blog post: "Why We Removed FluentAssertions from @AkkaDotNET " Akka .NET 1.5.64 removed FluentAssertions from every TestKit package. FA went commercial, and we were the 2nd-largest consumer of it on NuGet. No shade. But we won't hand a commercial dependency to every Akka .NET user. Akka .NET stays free permissionless. Here's why: youtube.com/watch?v=id4yJBe4โ€ฆ
1
4
29
2,940
Jorge Morales retweeted
New video / blog post: "Why We Removed FluentAssertions from @AkkaDotNET " Akka .NET 1.5.64 removed FluentAssertions from every TestKit package. FA went commercial, and we were the 2nd-largest consumer of it on NuGet. No shade. But we won't hand a commercial dependency to every Akka .NET user. Akka .NET stays free permissionless. Here's why: youtube.com/watch?v=id4yJBe4โ€ฆ

1
2
14
3,404
Hey, #dotnet people! I want to share with you the project I built last year. SharpAssert provides rich assertion diagnostics with zero syntax ceremony, unlike rivals like FluentAssertions or built-in NUnit assertions. And itโ€™s free and will stay free forever (unlike infamous FluentAssertions library). Itโ€™s truly unique of a kind. This is how you do evals for real! Give it a shot! github.com/yevhen/sharp.asseโ€ฆ
1
2
15
484
4๏ธโƒฃ ๐—™๐—น๐˜‚๐—ฒ๐—ป๐˜๐—”๐˜€๐˜€๐—ฒ๐—ฟ๐˜๐—ถ๐—ผ๐—ป๐˜€ Now has a paid license for commercial use. ๐Ÿ‘‰ Better choice: Shouldly or xUnit assertions 5๏ธโƒฃ ๐—ฅ๐—ฒ๐˜€๐˜๐—ฆ๐—ต๐—ฎ๐—ฟ๐—ฝ Has become outdated and less intuitive compared to modern HTTP clients. ๐Ÿ‘‰ Better choice: Refit 6๏ธโƒฃ ๐—”๐˜‚๐˜๐—ผ๐—™๐—ฎ๐—ฐ Outdated DI container adding unnecessary complexity. ๐Ÿ‘‰ Better choice: Microsoft DI 7๏ธโƒฃ ๐—ก๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฐ๐—ฒ๐—•๐˜‚๐˜€ Expensive licensing model in production and complex setup. ๐Ÿ‘‰ Better choice: MassTransit, Wolverine
2
1
8
649
๐—œ ๐—ฟ๐—ฎ๐—ป๐—ธ๐—ฒ๐—ฑ ๐Ÿฐ๐Ÿฌ ๐—ก๐˜‚๐—š๐—ฒ๐˜ ๐—ฝ๐—ฎ๐—ฐ๐—ธ๐—ฎ๐—ด๐—ฒ๐˜€ ๐—ถ๐—ป .๐—ก๐—˜๐—ง. ๐—ฆ๐—ผ๐—บ๐—ฒ ๐—ฑ๐—ฒ๐˜ƒ๐˜€ ๐˜„๐—ถ๐—น๐—น ๐—ต๐—ฎ๐˜๐—ฒ ๐—บ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐˜๐—ต๐—ถ๐˜€. After 12 years of building production .NET apps, here's my honest NuGet package tier list: ๐Ÿ† ๐—ฆ-๐—ง๐—ถ๐—ฒ๐—ฟ: ๐— ๐˜‚๐˜€๐˜-๐—›๐—ฎ๐˜ƒ๐—ฒ ๐—ฃ๐—ฎ๐—ฐ๐—ธ๐—ฎ๐—ด๐—ฒ๐˜€ These belong in almost every .NET project. No debate. โ†’ Entity Framework Core: the ORM that does it all โ†’ Dapper: when you need raw SQL speed โ†’ Serilog: structured logging done right โ†’ FluentValidation: clean, readable validation rules โ†’ xUnit: the standard for .NET testing โ†’ Polly: resilience and retry policies made easy โ†’ StackExchange.Redis: battle-tested Redis client โ†’ SignalR: real-time communication, built-in โ†’ Dapr: powerful distributed app building blocks โ†’ Scalar: modern, beautiful API documentation โญ ๐—”-๐—ง๐—ถ๐—ฒ๐—ฟ: ๐—˜๐˜…๐—ฐ๐—ฒ๐—น๐—น๐—ฒ๐—ป๐˜ ๐—ฃ๐—ฎ๐—ฐ๐—ธ๐—ฎ๐—ด๐—ฒ๐˜€ Solid choices that solve real problems well. โ†’ MassTransit / Wolverine: messaging done properly โ†’ Refit: typed HTTP clients with zero boilerplate โ†’ HotChocolate GraphQL: best GraphQL library for .NET โ†’ OpenTelemetry .NET: observability you actually need โ†’ TestContainers: integration tests with real databases โ†’ Moq: mocking that just works โ†’ Bogus: realistic fake data in seconds โ†’ Quartz .NET / TickerQ: job scheduling that scales โ†’ NBomber: load testing for your APIs โ†’ MailKit: the right way to send emails โ†’ Newtonsoft(.)Json: still relevant, still reliable โ†’ Swagger / Swashbuckle: classic API documentation ๐Ÿ”ง ๐—•-๐—ง๐—ถ๐—ฒ๐—ฟ: ๐—š๐—ผ๐—ผ๐—ฑ, ๐—•๐˜‚๐˜ ๐—ฆ๐—ถ๐˜๐˜‚๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น Useful when you need them. Not for every project. โ†’ MediatR: great for CQRS, but adds indirection you may not need โ†’ Hangfire: background jobs with a dashboard UI โ†’ Mapperly: fast source-generated mapping โ†’ Scrutor: decorator pattern made easy in DI โ†’ BenchmarkDotNet: micro-benchmarking your code properly โ†’ Humanizer: string and date formatting for humans โ†’ ImageSharp: image processing without native dependencies โ†’ NetArchTest: enforce architecture rules inside tests โ†’ CsvHelper, NodaTime, Carter, Respawn, WireMock(.)Net ๐ŸŸก ๐—–-๐—ง๐—ถ๐—ฒ๐—ฟ: ๐—ช๐—ผ๐—ฟ๐—ธ๐˜€, ๐—•๐˜‚๐˜ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—”๐—น๐˜๐—ฒ๐—ฟ๐—ป๐—ฎ๐˜๐—ถ๐˜ƒ๐—ฒ๐˜€ ๐—˜๐˜…๐—ถ๐˜€๐˜ They do the job. I just reach for something else first. โ†’ NLog: Serilog does it better โ†’ Rebus: MassTransit and Wolverine are stronger choices โ†’ Coravel: fine for tiny apps, limited as you grow โ†’ CliWrap, Verify, UnitsNet: niche use cases โŒ ๐——-๐—ง๐—ถ๐—ฒ๐—ฟ: ๐—”๐˜ƒ๐—ผ๐—ถ๐—ฑ ๐—ถ๐—ป ๐—ก๐—ฒ๐˜„ ๐—ฃ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ โ†’ AutoMapper, Mapster: manual mapping is cleaner, faster, and easier to debug โ†’ FluentAssertions: great library, but v7 is paid This is just my opinion based on my experience. Your project context always matters. Don't install packages to feel productive. Install them because they solve a real problem. Which package on this list do you disagree with the most? โ€”โ€” โ™ป๏ธ Repost to help others choose the right NuGet packages โž• Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills ๐Ÿ“Œ Save this post for future reference!
10
24
162
6,907
Developers who say they don't have time for tests Are lying. Seriosly ๐Ÿ‘‡ Many .NET developers write code for months without a single test. Most say - I don't have time or a budget for tests But in the age of AI... It's never been easier and faster to write any kind of tests. You need to have a good template for your tests. And the AI will follow. โš ๏ธSo, no more excuses for not writing tests. I created a 2026 Testing Cheatsheet that covers everything you need. Save this post. You will thank me later. ๐Ÿ“Œ Testing Frameworks โ€ข xUnit โ€ข TUnit โ€ข NUnit ๐Ÿ“Œ Assertions โ€ข xUnit Assertions โ€ข Shouldly โ€ข FluentAssertions (is now paid) ๐Ÿ“Œ Integration Testing โ€ข Testing with .NET Aspire โ€ข WebApplicationFactory TestContainers โ€ข Respawn ๐Ÿ“Œ Frontend Testing โ€ข Playwright โ€ข Selenium ๐Ÿ“Œ Mocking โ€ข NSubstitute โ€ข Moq ๐Ÿ“Œ Fake Data โ€ข Bogus โ€ข AutoFixture ๐Ÿ“Œ Snapshot Testing โ€ข Verify ๐Ÿ“Œ Behaviour Testing โ€ข ReqNRoll โ€ข SpecFlow (not maintained anymore) ๐Ÿ“Œ Performance Testing โ€ข BenchmarkDotNet โ€ข k6 โ€ข NBomber (paid for commercial usage) โ€ข JMeter Here is what I recommend in 2026: โœ… xUnit remains the most popular testing framework โœ… TUnit is a modern alternative worth exploring โœ… Shouldly is my go-to for readable assertions โœ… NSubstitute has the cleanest mocking API โœ… Bogus makes generating fake data easy โœ… Aspire provides the easiest way to write integration tests โœ… TestContainers spins up real databases in your tests โœ… Respawn resets your database between integration tests โœ… Playwright is the best choice for frontend testing today โœ… BenchmarkDotNet is the standard for micro-benchmarking in .NET โœ… k6 is excellent for load testing APIs โœ… NBomber allows you to reuse existing C# code for load tests โŒ Avoid **SpecFlow** โ†’ it is no longer maintained โŒ Be aware **FluentAssertions** is now a paid library ๐Ÿ‘‰ You don't need every tool on this list. Here is your plan for adopting tests: 1. Unit Tests 2. Integration tests. 3. Load (performance) tests 4. Frontend (E2E) tests ๐Ÿ“Œ I have created a free guide for you on integration testing in Aspire: antondevtips.com/blog/dotnetโ€ฆ Which testing tools are you using in 2026? Share in the comments ๐Ÿ‘‡ โ€”โ€” โ™ป๏ธ Repost to help other .NET developers write better tests โž• Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills
4
16
99
3,133
๐Ÿญ๐Ÿฑ .๐—ก๐—˜๐—ง ๐˜๐—ผ๐—ผ๐—น๐˜€ & ๐—น๐—ถ๐—ฏ๐—ฟ๐—ฎ๐—ฟ๐—ถ๐—ฒ๐˜€ ๐˜๐—ต๐—ฒ ๐—ฐ๐—ผ๐—บ๐—บ๐˜‚๐—ป๐—ถ๐˜๐˜† ๐—ฎ๐—ฐ๐˜๐˜‚๐—ฎ๐—น๐—น๐˜† ๐˜‚๐˜€๐—ฒ๐˜€ I asked r/dotnet one question: which .NET libraries do you actually use that nobody talks about? The thread got hundreds of replies. I filtered for the ones with 10 upvotes. CSharpier got 62 votes. Refit was second. Then a bunch of tools sitting between 30โ€“31 votes, most of which most developers either don't know or never mention in tutorials. A few things stood out to me: The community is now skeptical of dependencies. FluentAssertions, IdentityServer, and MediatR, we are not sure about it. The most upvoted non-library comment was: "Batteries included, stay away from dependencies." That context matters when you read this list. LINQPad isn't a NuGet package, but it kept coming up. Teams build entire support workflows in it. Vogen surprised me. Type-safe value objects generated at compile time, without runtime costs. I've seen orderId/customerId bugs in production. This solves such kinds of problems.
5
13
68
4,104
I built a free .NET 10 Clean Architecture template. 100 hours of decisions, compressed into one starter you can clone and ship from. ๐—˜๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐—ณ๐—ฒ๐—ฎ๐˜๐˜‚๐—ฟ๐—ฒ. ๐—˜๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐—ฑ๐—ฒ๐—ฐ๐—ถ๐˜€๐—ถ๐—ผ๐—ป ๐Ÿ‘‡ ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ โ†’ 4-layer Clean Architecture (Api, Infrastructure, Application, Domain) โ†’ Strict dependency rules enforced by 9 architecture tests โ†’ Domain layer has zero external dependencies ๐—–๐—ค๐—ฅ๐—ฆ โ†’ Manual ICommand/IQuery interfaces (no MediatR, no licensing risk) โ†’ 40 lines of infrastructure code total โ†’ Feature folder organization ๐—”๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป โ†’ Identity with JWT bearer tokens โ†’ Refresh token rotation โ†’ Role-based authorization โ†’ Seeded admin user (login and go) ๐—–๐—ฎ๐—ฐ๐—ต๐—ถ๐—ป๐—ด โ†’ Microsoft HybridCache (L1 in-memory L2 Redis) โ†’ Built-in stampede protection โ†’ Automatic serialization ๐—”๐—ฃ๐—œ ๐——๐—ผ๐—ฐ๐˜€ โ†’ Scalar (not Swagger) with modern UI โ†’ JWT auth pre-configured for testing endpoints ๐—ข๐—ฏ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฎ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜† โ†’ .NET Aspire orchestration (one `dotnet run` starts everything) โ†’ OpenTelemetry traces, metrics, and logs โ†’ Aspire Dashboard for local debugging ๐—˜๐—ฟ๐—ฟ๐—ผ๐—ฟ ๐—›๐—ฎ๐—ป๐—ฑ๐—น๐—ถ๐—ป๐—ด โ†’ Result pattern with typed errors (NotFound, Validation, Conflict) โ†’ Automatic mapping to correct HTTP status codes โ†’ FluentValidation via endpoint filters ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ โ†’ EF Core 10 with PostgreSQL โ†’ No Repository pattern (DbContext is the repository) โ†’ Migrations seed data applied on first startup ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด โ†’ 9 architecture tests (layer dependency enforcement) โ†’ 8 unit tests (handler logic) โ†’ xUnit v3 FluentAssertions ๐— ๐—ผ๐—ฑ๐—ฒ๐—ฟ๐—ป .๐—ก๐—˜๐—ง โ†’ .slnx solution format (merge-friendly) โ†’ Central Package Management โ†’ Primary constructors collection expressions โ†’ C# 14 ๐—ฆ๐˜๐—ฎ๐˜๐˜€: 17 tests passing. 0 warnings. 0 commercial dependencies. This is FullStackHero's Little Brother! Every choice has a "why" behind it. I didn't just pick popular libraries. I picked what I'd actually use in production. Grab it from codewithmukesh.com/resourcesโ€ฆ
2
6
62
2,691
I've been building with .NET for years. Here's the exact learning path I'd follow if I were starting over in 2026 ๐Ÿ‘‡ Most developers fail not because they lack talent, but because they don't have a clear path. They jump between random tutorials, leaving gaps that hurt in interviews and on the job. If you want to become a .NET developer in 2026, you need to know these topics: ๐—™๐—ผ๐˜‚๐—ป๐—ฑ๐—ฎ๐˜๐—ถ๐—ผ๐—ป โ€ข HTTP/HTTPS, DNS, APIs โ€ข OOP (Classes, Inheritance, Interfaces) โ€ข Git & GitHub โ€ข AI Tools (Claude Code, GitHub Copilot, Cursor) ๐—–# & .๐—ก๐—˜๐—ง ๐Ÿญ๐Ÿฌ โ€ข Primary constructors, Records โ€ข Collection expressions, Pattern matching โ€ข Nullable reference types, Raw string literals โ€ข .NET CLI (dotnet new, build, run, publish) โ€ข NuGet package management ๐—”๐—ฆ๐—ฃ.๐—ก๐—˜๐—ง ๐—–๐—ผ๐—ฟ๐—ฒ ๐—•๐—ฎ๐˜€๐—ถ๐—ฐ๐˜€ โ€ข Controllers vs Minimal APIs โ€ข Dependency Injection & Service Lifetimes โ€ข Middlewares & Request Pipeline โ€ข Options Pattern & Configuration ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ๐˜€ โ€ข PostgreSQL / SQL Server โ€ข EF Core (DbContext, Migrations, Fluent API) โ€ข Dapper for performance-critical queries โ€ข Redis for caching ๐—ฆ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† โ€ข JWT Authentication โ€ข Refresh Tokens โ€ข OAuth Providers (Keycloak, Cognito, Auth0) โ€ข Role & Policy-based Authorization ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด โ€ข xUnit FluentAssertions Moq โ€ข Integration Testing (WebApplicationFactory) โ€ข TestContainers for real database tests ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ (๐—ฆ๐—ฒ๐—ป๐—ถ๐—ผ๐—ฟ) โ€ข Clean Architecture / Onion Architecture โ€ข CQRS MediatR โ€ข Domain-Driven Design basics โ€ข Modular Monolith โ†’ Microservices ๐—–๐—น๐—ผ๐˜‚๐—ฑ & ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€ โ€ข Docker & Docker Compose โ€ข CI/CD (GitHub Actions) โ€ข AWS / Azure basics โ€ข Terraform for IaC This is what you need to become a complete .NET developer in 2026. Bookmark this post. You will come back to it. ๐Ÿ“Œ Full roadmap with learning resources: codewithmukesh.com/blog/dotnโ€ฆ ๐Ÿ‘‰ Join 8,200 .NET developers reading my weekly newsletter: newsletter.codewithmukesh.coโ€ฆ
1
1
29
1,486
First code preview of AgentEval: result.ToolUsage!.Should() ย  ย  .HaveCalledTool("SearchFlights") ย  ย  ย  ย  .BeforeTool("BookFlight") ย  ย  .And() ย  ย  .NeverCallTool("DeleteAllCustomers") ย  ย  .HaveNoErrors(); FluentAssertions for AI agents. Native .NET. This is just the beginning. ๐Ÿงต #AgentEval #dotnet #CSharp
1
1
2
37
Although version 8.9 of #fluentassertions is on the way, we couldn't help ourselves and also ship a tiny bugfix for version 7. See github.com/fluentassertions/โ€ฆ
3
381
It's been a year, did anybody actually pay for FluentAssertions?
2
106
๐Ÿ‘‰ I just created something I wish I had 5 years ago. It will save you 120 hours of setup and development. I have created the best Modular Monolith project template for .NET developers you can ever find. This isn't your typical starter kit โ€” it's a production-ready template that organizes your code into loosely coupled modules deployed as a single, maintainable application. This is the biggest thing I have ever given for free. Inside, you'll find: ๐Ÿ“Œ Production-grade architecture: โ†ณ Vertical Slice & Clean Architecture patterns โ†ณ Built-in authentication with JWT & refresh tokens โ†ณ OpenTelemetry, Validation, Logging, Error Handling and Tests out of the box. ๐Ÿ“Œ Modern tech stack: โ†ณ EF Core, FluentValidation, ASP .NET Core Minimal APIs โ†ณ Docker with PostgreSQL, Seq, and Jaeger ๐Ÿ“Œ High-quality code standards: โ†ณ Preconfigured .editorconfig and static code analysis โ†ณ Comprehensive unit, integration, and architecture tests ๐Ÿ“Œ Fully functional modules: โ†ณ Users Module: Secure authentication flows โ†ณ Shipments Module: Full lifecycle shipment management โ†ณ Carriers Module: Seamless carrier integration โ†ณ Stocks Module: Accurate inventory tracking And the most important part: No AutoMapper, MediatR, FluentAssertions and other unnecessary 3rd party packages. The code quality of this project meets the highest standards, equivalent to those I maintain in enterprise-level production applications. Why trust me? Each Tuesday, ๐Ÿฎ๐Ÿฌ,๐Ÿฌ๐Ÿฌ๐Ÿฌ developers receive my newsletter filled with practical tips on building robust, scalable .NET applications with high quality source code. I've poured all my experience into this template to help you deliver faster, better code. Skip all the boilerplate โ€” start with a fully configured Modular Monolith template so you can focus on delivering business value from day one. Want this template? Here's how you get it: 1๏ธโƒฃ Follow me on LinkedIn 2๏ธโƒฃ Comment "Template" below ๐Ÿ‘‡ 3๏ธโƒฃ I'll send the Template your way! Ready to transform your .NET development? โ€” โ™ป๏ธ Repost to help others get the template โž• Follow me ( Anton Martyniuk ) and comment "Template" now, and you will get the best Modular Monolith Template you can't find anywhere else.
29
17
96
3,380