
Get Better in .NET and C# from Microsoft MVP for developer technologies |Technical Solutions Architect at MoDEE | Blog Founder https://teapawt.net/t.co/vWKJH8Hz5x
Amman
Joined January 2010
- Tweets3.5K
- Following1.8K
- Followers2K
- Likes2.5K
Pinned Tweet
๐งต Follow this tweet #thread for tutorials in ASP .NET Core Web API from my blog codingsonata.com
โก๏ธFeel free to #Like and #retweet
#aspnetcore #csharp #tutorials #coding #development #blog #webdev #devcommunity #CodeNewbies #technology #appdevelopment
Encrypting your data doesn't necessarily mean it's secure.
Can you guarantee that nobody has tampered with it?
This is where ๐๐๐๐ต๐ฒ๐ป๐๐ถ๐ฐ๐ฎ๐๐ฒ๐ฑ ๐๐ป๐ฐ๐ฟ๐๐ฝ๐๐ถ๐ผ๐ป comes in.
In .NET, the AesGcm class provides authenticated encryption, combining three essential security properties:
๐ ๐๐ผ๐ป๐ณ๐ถ๐ฑ๐ฒ๐ป๐๐ถ๐ฎ๐น๐ถ๐๐: Prevents unauthorized access to plaintext.
๐ก๏ธ ๐๐ป๐๐ฒ๐ด๐ฟ๐ถ๐๐: Detects unauthorized data modifications.
๐ ๐๐๐๐ต๐ฒ๐ป๐๐ถ๐ฐ๐ถ๐๐: Verifies that the data was encrypted by someone possessing the key.
Unlike AES-CBC alone, AES-GCM generates an authentication tag that must be validated during decryption.
If authentication fails, decryption fails.
๐๐ฒ๐๐ ๐ฝ๐ฟ๐ฎ๐ฐ๐๐ถ๐ฐ๐ฒ๐ ๐ถ๐ป .๐ก๐๐ง:
โ Use a securely generated 256-bit key.
โ Generate a fresh 12-byte nonce per encryption.
โ Use a 16-byte authentication tag.
โ Never reuse a nonce with the same key.
โ Create and dispose of an AesGcm instance per operation.
โ Store encryption keys separately and securely.
You can also use ๐๐ฑ๐ฑ๐ถ๐๐ถ๐ผ๐ป๐ฎ๐น ๐๐๐๐ต๐ฒ๐ป๐๐ถ๐ฐ๐ฎ๐๐ฒ๐ฑ ๐๐ฎ๐๐ฎ (AAD) to protect metadata against tampering without encrypting it.
Don't just encrypt your data. Authenticate it.
๐ Repost this to help more .NET developers build secure applications and avoid common encryption mistakes.
๐ Follow me for more practical insights on .NET, software architecture, and secure software engineering.
1
1
55
๐ฌ๐ผ๐๐ฟ ๐ฎ๐๐๐ป๐ฐ ๐ฐ๐ผ๐ฑ๐ฒ ๐ถ๐๐ปโ๐ ๐ฟ๐ฒ๐ฎ๐น๐น๐ ๐ฎ๐๐๐ป๐ฐ.
One small coding mistake can compromise the scalability of your entire .NET application.
โ ๐ช๐ฟ๐ผ๐ป๐ด ๐ฎ๐ฝ๐ฝ๐ฟ๐ผ๐ฎ๐ฐ๐ต
๐ท๐ข๐ณ ๐ถ๐ด๐ฆ๐ณ = ๐๐ฆ๐ต๐๐ด๐ฆ๐ณ๐๐ด๐บ๐ฏ๐ค().๐๐ฆ๐ด๐ถ๐ญ๐ต;
โ
๐๐ผ๐ฟ๐ฟ๐ฒ๐ฐ๐ ๐ฎ๐ฝ๐ฝ๐ฟ๐ผ๐ฎ๐ฐ๐ต
๐ท๐ข๐ณ ๐ถ๐ด๐ฆ๐ณ = ๐ข๐ธ๐ข๐ช๐ต ๐๐ฆ๐ต๐๐ด๐ฆ๐ณ๐๐ด๐บ๐ฏ๐ค();
Both return the same result when the operation succeeds.
But they behave very differently under load.
๐ด ๐จ๐๐ถ๐ป๐ด .๐ฅ๐ฒ๐๐๐น๐
โข Blocks the calling thread until completion.
โข Can cause thread pool starvation.
โข Can introduce deadlocks in certain environments.
โข Wraps exceptions in AggregateException.
โข Reduces application scalability under heavy load.
๐ข ๐จ๐๐ถ๐ป๐ด ๐ฎ๐๐ฎ๐ถ๐
โข Asynchronously waits without blocking the calling thread.
โข Allows threads to serve other requests during I/O.
โข Preserves asynchronous execution.
โข Propagates exceptions directly.
โข Improves resource utilization under concurrent workloads.
Imagine hundreds of concurrent HTTP requests waiting for database queries or external API responses.
With .Result, you risk exhausting available threads.
With await, those threads remain available to process other requests while I/O completes.
This is particularly important in ASP.NET ๐๐ผ๐ฟ๐ฒ applications.
๐ก ๐ฃ๐ฟ๐ฎ๐ฐ๐๐ถ๐ฐ๐ฎ๐น ๐๐ถ๐ฝ:
Keep your execution chain asynchronous from the controller down to the database.
Avoid .Result, .Wait() and .GetAwaiter().GetResult() in asynchronous request paths.
Remember: Asynchronous programming isn't necessarily about making individual requests faster. It's about handling more concurrent requests efficiently.
How many .Result calls are still hiding in your codebase?
โป๏ธ Repost to help other .NET developers build more scalable applications.
34
๐ ๐ฌ๐ผ๐๐ฟ .๐ก๐๐ง ๐ญ๐ญ ๐๐ฝ๐ด๐ฟ๐ฎ๐ฑ๐ฒ ๐ถ๐ ๐ผ๐ป๐น๐ ๐ฎ๐ ๐ด๐ผ๐ผ๐ฑ ๐ฎ๐ ๐๐ผ๐๐ฟ ๐ฑ๐ฎ๐๐ฎ ๐ฎ๐ฐ๐ฐ๐ฒ๐๐ ๐น๐ฎ๐๐ฒ๐ฟ.
And Devart just made upgrading more interesting, with new dotConnect capabilities AND up to 40% OFF this Black Friday! ๐ฅ
Here's why .NET developers should pay attention.
๐ ๐๐ถ๐ฟ๐๐, ๐๐ต๐ฎ๐ ๐ถ๐ ๐ฑ๐ผ๐๐๐ผ๐ป๐ป๐ฒ๐ฐ๐?
It's Devart's suite of ADO .NET data providers that helps .NET applications connect to databases and cloud services.
Think Oracle, PostgreSQL, MySQL, SQL Server, SQLite, Salesforce, and more.
You get capabilities such as connection pooling, transactions, secure connectivity, and Entity Framework Core integration.
โก ๐ก๐ผ๐, ๐๐ต๐ฎ๐'๐ ๐ป๐ฒ๐?
The latest dotConnect release introduces .NET 11 compatibility and EF Core 11 support across multiple providers, including Oracle, PostgreSQL, MySQL, SQLite, and DB2.
But this goes beyond compatibility:
โ
JSON partial updates and improved complex type mapping.
โ
Expanded LINQ support and migration capabilities.
โ
UseServerVersion() to configure server compatibility without an extra detection connection.
โ
SSL over SSH tunnels for MySQL and PostgreSQL.
โ
Improved PostgreSQL batch operation performance.
๐ก ๐ช๐ต๐ ๐ฑ๐ผ๐ฒ๐ ๐๐ต๐ถ๐ ๐บ๐ฎ๐๐๐ฒ๐ฟ?
Because upgrading your framework is only part of the job.
Your database providers must also support the features, security requirements, and performance characteristics your applications depend on.
And Devart's connectivity ecosystem extends beyond .NET:
๐น ๐ข๐๐๐ ๐๐ฟ๐ถ๐๐ฒ๐ฟ๐ for connecting databases and cloud applications to ODBC-compatible tools.
๐น ๐ฃ๐๐๐ต๐ผ๐ป ๐๐ผ๐ป๐ป๐ฒ๐ฐ๐๐ผ๐ฟ๐ for data engineering, automation, and analytics workflows.
๐ฅ ๐๐ฒ๐ฟ๐ฒ'๐ ๐๐ต๐ฒ ๐๐น๐ฎ๐ฐ๐ธ ๐๐ฟ๐ถ๐ฑ๐ฎ๐ ๐ฏ๐ผ๐ป๐๐!
Devart is offering ๐จ๐ฃ ๐ง๐ข ๐ฐ๐ฌ% ๐ข๐๐ on selected database tools and connectivity solutions, including dotConnect, ODBC drivers, and Python connectors.
๐
November 18โ29, 2026.
If you're planning a .NET 11 migration, modernizing your data access layer, or expanding your connectivity stack, this is a great opportunity to explore Devart's solutions at a reduced price.
๐ Explore the offer:
lnkd.in/d4NwseeY
๐ฌ ๐ ๐พ๐๐ฒ๐๐๐ถ๐ผ๐ป ๐ณ๐ผ๐ฟ .๐ก๐๐ง ๐ฑ๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ๐:
When upgrading to a new .NET version, how often do you evaluate your database provider instead of simply updating its NuGet package?
Thanks Devart for this great deal and for the collaboration on this post.
โป๏ธ Know a .NET developer planning an upgrade? Repost this and help them discover the latest data connectivity improvements while making the most of Devartโs Black Friday offer!
1
48
Aram Tchekrekjian retweeted
๐ฌ๐ผ๐๐ฟ ASP.NET ๐๐ผ๐ฟ๐ฒ ๐๐ฃ๐ ๐บ๐ถ๐ด๐ต๐ ๐ฏ๐ฒ ๐๐ผ๐ฟ๐ธ๐ถ๐ป๐ด ๐ฝ๐ฒ๐ฟ๐ณ๐ฒ๐ฐ๐๐น๐. ๐๐๐ ๐ถ๐ ๐ถ๐ ๐๐ฒ๐ฐ๐๐ฟ๐ฒ?
A single misconfiguration can expose sensitive data, bypass authorization, or leave your API vulnerable to attacks.
Here are ๐ญ๐ฑ ๐๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐ฟ๐๐น๐ฒ๐ every .NET developer should follow.
๐ ๐ญ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐๐ง๐ง๐ฃ๐ฆ
Use HTTPS redirection and HSTS to protect communication.
๐ก๏ธ ๐ฎ. ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ฒ ๐๐ป๐ฑ๐ฝ๐ผ๐ถ๐ป๐๐
Apply authentication and `[Authorize]` where required.
๐ ๐ฏ. ๐ฉ๐ฎ๐น๐ถ๐ฑ๐ฎ๐๐ฒ ๐๐ช๐ง ๐ง๐ผ๐ธ๐ฒ๐ป๐
Verify issuer, audience, expiration, and cryptographic signature.
โ
๐ฐ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐ฃ๐ผ๐น๐ถ๐ฐ๐ถ๐ฒ๐
Use role, claim, policy, or resource-based authorization.
๐ ๐ฑ. ๐ฉ๐ฎ๐น๐ถ๐ฑ๐ฎ๐๐ฒ ๐๐ป๐ฝ๐๐
Never trust incoming requests, even from authenticated users.
๐ฆ ๐ฒ. ๐จ๐๐ฒ ๐๐ง๐ข๐
Prevent over-posting and restrict which properties clients can modify.
๐ ๐ณ. ๐๐ผ๐ป๐ณ๐ถ๐ด๐๐ฟ๐ฒ ๐๐ข๐ฅ๐ฆ
Allow only trusted browser origins, methods, and headers.
๐ซ ๐ด. ๐๐ถ๐ฑ๐ฒ ๐ฆ๐ฒ๐ป๐๐ถ๐๐ถ๐๐ฒ ๐๐ฟ๐ฟ๐ผ๐ฟ๐
Never expose stack traces or internal implementation details in production.
โฑ๏ธ ๐ต. ๐๐ฝ๐ฝ๐น๐ ๐ฅ๐ฎ๐๐ฒ ๐๐ถ๐บ๐ถ๐๐ถ๐ป๐ด
Reduce brute-force attempts and API abuse.
๐ ๐ญ๐ฌ. ๐ฃ๐ฟ๐ผ๐๐ฒ๐ฐ๐ ๐๐ผ๐ด๐
Never log passwords, access tokens, or sensitive personal information.
๐ ๐ญ๐ญ. ๐๐ฑ๐ฑ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ๐
Configure HSTS, X-Content-Type-Options, and other relevant headers.
๐ฆ ๐ญ๐ฎ. ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ ๐๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ฐ๐ถ๐ฒ๐
Keep NuGet packages patched and scan for vulnerabilities.
๐ช ๐ญ๐ฏ. ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ฒ ๐๐ผ๐ผ๐ธ๐ถ๐ฒ๐
Use HttpOnly, Secure, and appropriate SameSite settings.
๐งน ๐ญ๐ฐ. ๐ฅ๐ฒ๐ฑ๐๐ฐ๐ฒ ๐๐๐๐ฎ๐ฐ๐ธ ๐ฆ๐๐ฟ๐ณ๐ฎ๐ฐ๐ฒ
Remove unused endpoints, controllers, and unnecessary functionality.
๐ ๐ญ๐ฑ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐ฆ๐๐ฟ๐ผ๐ป๐ด ๐ฃ๐ฎ๐๐๐๐ผ๐ฟ๐ฑ ๐ฃ๐ผ๐น๐ถ๐ฐ๐ถ๐ฒ๐
Use secure password hashing and support MFA when managing user identities.
๐ฅ๐ฒ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ: Authentication proves who you are. Authorization determines what you can access. Neither replaces proper input validation, secure configuration, or defense in depth.
Security should be part of your architecture, not something you add before production.
๐ฌ Which security misconfiguration have you encountered most often in ASP .NET Core projects?
___________________
โป๏ธ Repost to help other .NET developers build more secure applications.
๐ฌ๐ผ๐๐ฟ ASP.NET ๐๐ผ๐ฟ๐ฒ ๐๐ฃ๐ ๐บ๐ถ๐ด๐ต๐ ๐ฏ๐ฒ ๐๐ผ๐ฟ๐ธ๐ถ๐ป๐ด ๐ฝ๐ฒ๐ฟ๐ณ๐ฒ๐ฐ๐๐น๐. ๐๐๐ ๐ถ๐ ๐ถ๐ ๐๐ฒ๐ฐ๐๐ฟ๐ฒ?
A single misconfiguration can expose sensitive data, bypass authorization, or leave your API vulnerable to attacks.
Here are ๐ญ๐ฑ ๐๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐ฟ๐๐น๐ฒ๐ every .NET developer should follow.
๐ ๐ญ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐๐ง๐ง๐ฃ๐ฆ
Use HTTPS redirection and HSTS to protect communication.
๐ก๏ธ ๐ฎ. ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ฒ ๐๐ป๐ฑ๐ฝ๐ผ๐ถ๐ป๐๐
Apply authentication and `[Authorize]` where required.
๐ ๐ฏ. ๐ฉ๐ฎ๐น๐ถ๐ฑ๐ฎ๐๐ฒ ๐๐ช๐ง ๐ง๐ผ๐ธ๐ฒ๐ป๐
Verify issuer, audience, expiration, and cryptographic signature.
โ
๐ฐ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐ฃ๐ผ๐น๐ถ๐ฐ๐ถ๐ฒ๐
Use role, claim, policy, or resource-based authorization.
๐ ๐ฑ. ๐ฉ๐ฎ๐น๐ถ๐ฑ๐ฎ๐๐ฒ ๐๐ป๐ฝ๐๐
Never trust incoming requests, even from authenticated users.
๐ฆ ๐ฒ. ๐จ๐๐ฒ ๐๐ง๐ข๐
Prevent over-posting and restrict which properties clients can modify.
๐ ๐ณ. ๐๐ผ๐ป๐ณ๐ถ๐ด๐๐ฟ๐ฒ ๐๐ข๐ฅ๐ฆ
Allow only trusted browser origins, methods, and headers.
๐ซ ๐ด. ๐๐ถ๐ฑ๐ฒ ๐ฆ๐ฒ๐ป๐๐ถ๐๐ถ๐๐ฒ ๐๐ฟ๐ฟ๐ผ๐ฟ๐
Never expose stack traces or internal implementation details in production.
โฑ๏ธ ๐ต. ๐๐ฝ๐ฝ๐น๐ ๐ฅ๐ฎ๐๐ฒ ๐๐ถ๐บ๐ถ๐๐ถ๐ป๐ด
Reduce brute-force attempts and API abuse.
๐ ๐ญ๐ฌ. ๐ฃ๐ฟ๐ผ๐๐ฒ๐ฐ๐ ๐๐ผ๐ด๐
Never log passwords, access tokens, or sensitive personal information.
๐ ๐ญ๐ญ. ๐๐ฑ๐ฑ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ๐
Configure HSTS, X-Content-Type-Options, and other relevant headers.
๐ฆ ๐ญ๐ฎ. ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ ๐๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ฐ๐ถ๐ฒ๐
Keep NuGet packages patched and scan for vulnerabilities.
๐ช ๐ญ๐ฏ. ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ฒ ๐๐ผ๐ผ๐ธ๐ถ๐ฒ๐
Use HttpOnly, Secure, and appropriate SameSite settings.
๐งน ๐ญ๐ฐ. ๐ฅ๐ฒ๐ฑ๐๐ฐ๐ฒ ๐๐๐๐ฎ๐ฐ๐ธ ๐ฆ๐๐ฟ๐ณ๐ฎ๐ฐ๐ฒ
Remove unused endpoints, controllers, and unnecessary functionality.
๐ ๐ญ๐ฑ. ๐๐ป๐ณ๐ผ๐ฟ๐ฐ๐ฒ ๐ฆ๐๐ฟ๐ผ๐ป๐ด ๐ฃ๐ฎ๐๐๐๐ผ๐ฟ๐ฑ ๐ฃ๐ผ๐น๐ถ๐ฐ๐ถ๐ฒ๐
Use secure password hashing and support MFA when managing user identities.
๐ฅ๐ฒ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ: Authentication proves who you are. Authorization determines what you can access. Neither replaces proper input validation, secure configuration, or defense in depth.
Security should be part of your architecture, not something you add before production.
๐ฌ Which security misconfiguration have you encountered most often in ASP .NET Core projects?
___________________
โป๏ธ Repost to help other .NET developers build more secure applications.
Aram Tchekrekjian retweeted
Replying to @nnennahacks @QodoAI
๐กA practical example: automatically approve a PR that only updates documentation or fixes a minor typo, but require human approval when changes affect authentication, payment logic, or sensitive configurations. That's where risk-based approvals make a real difference. Congrats @QodoAI for this huge release!
๐๐ ๐ฎ๐ด๐ฒ๐ป๐๐ ๐ฐ๐ฎ๐ป ๐๐ฟ๐ถ๐๐ฒ ๐ฐ๐ผ๐ฑ๐ฒ ๐ถ๐ป ๐บ๐ถ๐ป๐๐๐ฒ๐. ๐ช๐ต๐ ๐ฎ๐ฟ๐ฒ ๐๐ฒ ๐๐๐ถ๐น๐น ๐ฟ๐ฒ๐๐ถ๐ฒ๐๐ถ๐ป๐ด ๐ฒ๐๐ฒ๐ฟ๐ ๐ฃ๐ฅ ๐๐ต๐ฒ ๐๐ฎ๐บ๐ฒ ๐๐ฎ๐?
AI is accelerating software development, but manual approvals remain a bottleneck.
I believe the next big shift is ๐ถ๐ป๐๐ฒ๐น๐น๐ถ๐ด๐ฒ๐ป๐ ๐ฐ๐ผ๐ฑ๐ฒ ๐ด๐ผ๐๐ฒ๐ฟ๐ป๐ฎ๐ป๐ฐ๐ฒ.
This is what makes ๐ค๐ผ๐ฑ๐ผ'๐ ๐น๐ฎ๐๐ฒ๐๐ ๐น๐ฎ๐๐ป๐ฐ๐ต interesting:
๐๐๐๐ผ๐บ๐ฎ๐๐ฒ๐ฑ ๐ฃ๐ฅ ๐๐ฝ๐ฝ๐ฟ๐ผ๐๐ฎ๐น๐: Approve low-risk changes based on engineering policies.
๐๐๐ฎ๐ฟ๐ฑ๐ฟ๐ฎ๐ถ๐น๐: Keep critical changes under human supervision.
๐๐ด๐ฒ๐ป๐ ๐ฆ๐ฒ๐๐๐ถ๐ผ๐ป ๐ฅ๐ฒ๐๐ถ๐ฒ๐: Understand changes across multiple PRs and repositories.
๐ฃ๐ฅ ๐ง๐ฟ๐ถ๐ฎ๐ด๐ฒ: Track approval decisions and their reasoning.
๐ง๐ต๐ฒ ๐ด๐ผ๐ฎ๐น ๐ถ๐๐ป'๐ ๐๐ผ ๐ฟ๐ฒ๐ฝ๐น๐ฎ๐ฐ๐ฒ ๐ต๐๐บ๐ฎ๐ป ๐ฟ๐ฒ๐๐ถ๐ฒ๐. ๐๐'๐ ๐๐ผ ๐ณ๐ผ๐ฐ๐๐ ๐ต๐๐บ๐ฎ๐ป ๐ท๐๐ฑ๐ด๐บ๐ฒ๐ป๐ ๐๐ต๐ฒ๐ฟ๐ฒ ๐ถ๐ ๐บ๐ฎ๐๐๐ฒ๐ฟ๐ ๐บ๐ผ๐๐.
That's an important step toward a more autonomous software development lifecycle.
Thanks @QodoAI for this huge release and the collab on this post.
#CodeGovernance #AICodeReview #ad
You can now automate low-risk PR approvals under team rules + review an agentโs related work together in your software factory.
New at @QodoAI:
Auto Approval Workflows (beta)
Agent Session Review (research preview)
More intelligent, more deterministic, more governance.
2
44
Aram Tchekrekjian retweeted
๐# ๐ญ๐ฑ ๐ถ๐ ๐ต๐ฒ๐ฟ๐ฒ, ๐ฎ๐ป๐ฑ ๐ถ๐ ๐ฏ๐ฟ๐ถ๐ป๐ด๐ ๐๐ผ๐บ๐ฒ ๐ผ๐ณ ๐๐ต๐ฒ ๐ฏ๐ถ๐ด๐ด๐ฒ๐๐ ๐น๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ๐ ๐ถ๐ป ๐๐ฒ๐ฎ๐ฟ๐!
Released alongside .NET 11, C# 15 introduces powerful features that make our code more expressive, safer, and easier to maintain.
Here are the 7 new features every C# developer should know.
๐ญ. ๐จ๐ป๐ถ๐ผ๐ป ๐ง๐๐ฝ๐ฒ๐
Represent a value that can be one of several defined types using the new "union" keyword.
The compiler also checks that switch expressions handle every possible case.
Example: "public union PaymentResult(Success, Failed, Pending);"
๐ฎ. ๐๐น๐ผ๐๐ฒ๐ฑ ๐๐ถ๐ฒ๐ฟ๐ฎ๐ฟ๐ฐ๐ต๐ถ๐ฒ๐
Use the new "closed" modifier to restrict inheritance to the declaring assembly.
The compiler knows the possible direct descendants and can verify exhaustive pattern matching.
Great for modeling controlled state hierarchies.
๐ฏ. ๐๐
๐๐ฒ๐ป๐๐ถ๐ผ๐ป ๐๐ป๐ฑ๐ฒ๐
๐ฒ๐ฟ๐
Extension members become more powerful!
You can now define indexers in extension blocks, allowing types to support indexing syntax without modifying their original implementation.
Example: "numbers[2]" on an "IEnumerable<int>" with a custom extension indexer.
๐ฐ. ๐๐ผ๐น๐น๐ฒ๐ฐ๐๐ถ๐ผ๐ป ๐๐
๐ฝ๐ฟ๐ฒ๐๐๐ถ๐ผ๐ป ๐๐ฟ๐ด๐๐บ๐ฒ๐ป๐๐
Pass constructor or factory arguments directly into collection expressions using "with(...)".
Configure capacity, comparers, and other parameters while keeping collection initialization concise.
๐ฑ. ๐๐ฎ๐ฏ๐ฒ๐น๐ฒ๐ฑ ๐๐ฟ๐ฒ๐ฎ๐ธ ๐ฎ๐ป๐ฑ ๐๐ผ๐ป๐๐ถ๐ป๐๐ฒ
Finally, cleaner control flow in nested loops!
Use "break outer;" or "continue outer;" to target an enclosing loop directly.
No more unnecessary flags or "goto" workarounds.
๐ฒ. ๐ฆ๐๐ฎ๐๐ถ๐ฐ ๐๐ป๐๐ฒ๐ฟ๐ณ๐ฎ๐ฐ๐ฒ ๐ ๐ฒ๐บ๐ฏ๐ฒ๐ฟ๐
Non-virtual static interface members can now work on older runtimes that lack support for default interface implementations.
Useful for static helper methods defined directly on interfaces.
๐ณ. ๐ ๐ฒ๐บ๐ผ๐ฟ๐ ๐ฆ๐ฎ๐ณ๐ฒ๐๐ (๐ฃ๐ฟ๐ฒ๐๐ถ๐ฒ๐)
C# begins a multirelease effort to make unsafe memory operations more explicit.
New rules distinguish pointer declarations from operations that actually access unmanaged memory.
This improves clarity around memory safety boundaries.
๐ ๐ ๐๐ฎ๐ธ๐ฒ:
Union types and closed hierarchies are the standout additions.
They make invalid states harder to represent and give the compiler more opportunities to catch missing cases before production.
These are meaningful improvements for domain modeling, API design, and maintainability.
๐ช๐ต๐ถ๐ฐ๐ต ๐# ๐ญ๐ฑ ๐ณ๐ฒ๐ฎ๐๐๐ฟ๐ฒ ๐ฎ๐ฟ๐ฒ ๐๐ผ๐ ๐บ๐ผ๐๐ ๐ฒ๐
๐ฐ๐ถ๐๐ฒ๐ฑ ๐๐ผ ๐๐๐ฒ?
---------------------------------------
โป๏ธ Repost if you think this is useful
โ Follow me to @AramT87 to improve your .NET and Architecture skills
๐# ๐ญ๐ฑ ๐ถ๐ ๐ต๐ฒ๐ฟ๐ฒ, ๐ฎ๐ป๐ฑ ๐ถ๐ ๐ฏ๐ฟ๐ถ๐ป๐ด๐ ๐๐ผ๐บ๐ฒ ๐ผ๐ณ ๐๐ต๐ฒ ๐ฏ๐ถ๐ด๐ด๐ฒ๐๐ ๐น๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ๐ ๐ถ๐ป ๐๐ฒ๐ฎ๐ฟ๐!
Released alongside .NET 11, C# 15 introduces powerful features that make our code more expressive, safer, and easier to maintain.
Here are the 7 new features every C# developer should know.
๐ญ. ๐จ๐ป๐ถ๐ผ๐ป ๐ง๐๐ฝ๐ฒ๐
Represent a value that can be one of several defined types using the new "union" keyword.
The compiler also checks that switch expressions handle every possible case.
Example: "public union PaymentResult(Success, Failed, Pending);"
๐ฎ. ๐๐น๐ผ๐๐ฒ๐ฑ ๐๐ถ๐ฒ๐ฟ๐ฎ๐ฟ๐ฐ๐ต๐ถ๐ฒ๐
Use the new "closed" modifier to restrict inheritance to the declaring assembly.
The compiler knows the possible direct descendants and can verify exhaustive pattern matching.
Great for modeling controlled state hierarchies.
๐ฏ. ๐๐
๐๐ฒ๐ป๐๐ถ๐ผ๐ป ๐๐ป๐ฑ๐ฒ๐
๐ฒ๐ฟ๐
Extension members become more powerful!
You can now define indexers in extension blocks, allowing types to support indexing syntax without modifying their original implementation.
Example: "numbers[2]" on an "IEnumerable<int>" with a custom extension indexer.
๐ฐ. ๐๐ผ๐น๐น๐ฒ๐ฐ๐๐ถ๐ผ๐ป ๐๐
๐ฝ๐ฟ๐ฒ๐๐๐ถ๐ผ๐ป ๐๐ฟ๐ด๐๐บ๐ฒ๐ป๐๐
Pass constructor or factory arguments directly into collection expressions using "with(...)".
Configure capacity, comparers, and other parameters while keeping collection initialization concise.
๐ฑ. ๐๐ฎ๐ฏ๐ฒ๐น๐ฒ๐ฑ ๐๐ฟ๐ฒ๐ฎ๐ธ ๐ฎ๐ป๐ฑ ๐๐ผ๐ป๐๐ถ๐ป๐๐ฒ
Finally, cleaner control flow in nested loops!
Use "break outer;" or "continue outer;" to target an enclosing loop directly.
No more unnecessary flags or "goto" workarounds.
๐ฒ. ๐ฆ๐๐ฎ๐๐ถ๐ฐ ๐๐ป๐๐ฒ๐ฟ๐ณ๐ฎ๐ฐ๐ฒ ๐ ๐ฒ๐บ๐ฏ๐ฒ๐ฟ๐
Non-virtual static interface members can now work on older runtimes that lack support for default interface implementations.
Useful for static helper methods defined directly on interfaces.
๐ณ. ๐ ๐ฒ๐บ๐ผ๐ฟ๐ ๐ฆ๐ฎ๐ณ๐ฒ๐๐ (๐ฃ๐ฟ๐ฒ๐๐ถ๐ฒ๐)
C# begins a multirelease effort to make unsafe memory operations more explicit.
New rules distinguish pointer declarations from operations that actually access unmanaged memory.
This improves clarity around memory safety boundaries.
๐ ๐ ๐๐ฎ๐ธ๐ฒ:
Union types and closed hierarchies are the standout additions.
They make invalid states harder to represent and give the compiler more opportunities to catch missing cases before production.
These are meaningful improvements for domain modeling, API design, and maintainability.
๐ช๐ต๐ถ๐ฐ๐ต ๐# ๐ญ๐ฑ ๐ณ๐ฒ๐ฎ๐๐๐ฟ๐ฒ ๐ฎ๐ฟ๐ฒ ๐๐ผ๐ ๐บ๐ผ๐๐ ๐ฒ๐
๐ฐ๐ถ๐๐ฒ๐ฑ ๐๐ผ ๐๐๐ฒ?
---------------------------------------
โป๏ธ Repost if you think this is useful
โ Follow me to @AramT87 to improve your .NET and Architecture skills
Aram Tchekrekjian retweeted
๐ ๐ถ๐ฐ๐ฟ๐ผ๐๐ผ๐ณ๐ ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐ถ๐ ๐บ๐ผ๐ฟ๐ฒ ๐๐ต๐ฎ๐ป ๐ฎ ๐ฝ๐น๐ฎ๐ฐ๐ฒ ๐๐ผ ๐ฑ๐ฒ๐ฝ๐น๐ผ๐ ๐๐ ๐บ๐ผ๐ฑ๐ฒ๐น๐.
It's becoming a complete platform for building production-ready AI applications and agents.
And if you're a .NET developer or Solution Architect, it's worth understanding what it offers.
Here are ๐ณ ๐ธ๐ฒ๐ ๐ฐ๐ฎ๐ฝ๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ถ๐ฒ๐:
๐ญ. ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐ ๐ผ๐ฑ๐ฒ๐น๐
Access thousands of AI models from OpenAI, Microsoft, Anthropic, Meta, and other providers. Compare and select models based on your requirements.
๐ฎ. ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐๐ด๐ฒ๐ป๐ ๐ฆ๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ
Build, deploy, and scale AI agents with managed runtime, tool execution, and enterprise integrations.
๐ฏ. ๐ ๐ถ๐ฐ๐ฟ๐ผ๐๐ผ๐ณ๐ ๐๐ด๐ฒ๐ป๐ ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ
Build code-first agents using C# or Python. Implement workflows, orchestration, and multi-agent systems.
๐ฐ. ๐ง๐ผ๐ผ๐น๐ & ๐ ๐๐ฃ
Connect agents to APIs, enterprise data, custom functions, and MCP servers to perform real business operations.
๐ฑ. ๐๐๐ฎ๐น๐๐ฎ๐๐ถ๐ผ๐ป & ๐ข๐ฏ๐๐ฒ๐ฟ๐๐ฎ๐ฏ๐ถ๐น๐ถ๐๐
Measure groundedness, relevance, task completion, latency, and token usage. Trace agent execution using OpenTelemetry.
๐ฒ. ๐๐ป๐๐ฒ๐ฟ๐ฝ๐ฟ๐ถ๐๐ฒ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐
Integrate Microsoft Entra ID, RBAC, content safety, and network isolation to protect AI applications.
๐ณ. ๐๐ผ๐๐ฒ๐ฟ๐ป๐ฎ๐ป๐ฐ๐ฒ & ๐ ๐ผ๐ป๐ถ๐๐ผ๐ฟ๐ถ๐ป๐ด
Manage models, agents, and tools with centralized policies, monitoring, and operational controls.
๐ ๐ ๐๐ฎ๐ธ๐ฒ:
Building an AI agent that works in a demo is relatively easy.
Building one that is secure, observable, cost-efficient, and reliable in production is a completely different engineering challenge.
Microsoft Foundry addresses many of these production concerns in one ecosystem.
But managed infrastructure doesn't replace good architecture. You still need authorization boundaries, reliable tool execution, evaluation datasets, and human approval for sensitive actions.
๐ค๐๐ฒ๐๐๐ถ๐ผ๐ป: Are you already using Microsoft Foundry for production AI applications, or are you still building directly with model APIs?
๐ ๐ถ๐ฐ๐ฟ๐ผ๐๐ผ๐ณ๐ ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐ถ๐ ๐บ๐ผ๐ฟ๐ฒ ๐๐ต๐ฎ๐ป ๐ฎ ๐ฝ๐น๐ฎ๐ฐ๐ฒ ๐๐ผ ๐ฑ๐ฒ๐ฝ๐น๐ผ๐ ๐๐ ๐บ๐ผ๐ฑ๐ฒ๐น๐.
It's becoming a complete platform for building production-ready AI applications and agents.
And if you're a .NET developer or Solution Architect, it's worth understanding what it offers.
Here are ๐ณ ๐ธ๐ฒ๐ ๐ฐ๐ฎ๐ฝ๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ถ๐ฒ๐:
๐ญ. ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐ ๐ผ๐ฑ๐ฒ๐น๐
Access thousands of AI models from OpenAI, Microsoft, Anthropic, Meta, and other providers. Compare and select models based on your requirements.
๐ฎ. ๐๐ผ๐๐ป๐ฑ๐ฟ๐ ๐๐ด๐ฒ๐ป๐ ๐ฆ๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ
Build, deploy, and scale AI agents with managed runtime, tool execution, and enterprise integrations.
๐ฏ. ๐ ๐ถ๐ฐ๐ฟ๐ผ๐๐ผ๐ณ๐ ๐๐ด๐ฒ๐ป๐ ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ
Build code-first agents using C# or Python. Implement workflows, orchestration, and multi-agent systems.
๐ฐ. ๐ง๐ผ๐ผ๐น๐ & ๐ ๐๐ฃ
Connect agents to APIs, enterprise data, custom functions, and MCP servers to perform real business operations.
๐ฑ. ๐๐๐ฎ๐น๐๐ฎ๐๐ถ๐ผ๐ป & ๐ข๐ฏ๐๐ฒ๐ฟ๐๐ฎ๐ฏ๐ถ๐น๐ถ๐๐
Measure groundedness, relevance, task completion, latency, and token usage. Trace agent execution using OpenTelemetry.
๐ฒ. ๐๐ป๐๐ฒ๐ฟ๐ฝ๐ฟ๐ถ๐๐ฒ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐
Integrate Microsoft Entra ID, RBAC, content safety, and network isolation to protect AI applications.
๐ณ. ๐๐ผ๐๐ฒ๐ฟ๐ป๐ฎ๐ป๐ฐ๐ฒ & ๐ ๐ผ๐ป๐ถ๐๐ผ๐ฟ๐ถ๐ป๐ด
Manage models, agents, and tools with centralized policies, monitoring, and operational controls.
๐ ๐ ๐๐ฎ๐ธ๐ฒ:
Building an AI agent that works in a demo is relatively easy.
Building one that is secure, observable, cost-efficient, and reliable in production is a completely different engineering challenge.
Microsoft Foundry addresses many of these production concerns in one ecosystem.
But managed infrastructure doesn't replace good architecture. You still need authorization boundaries, reliable tool execution, evaluation datasets, and human approval for sensitive actions.
๐ค๐๐ฒ๐๐๐ถ๐ผ๐ป: Are you already using Microsoft Foundry for production AI applications, or are you still building directly with model APIs?
๐ฌ๐ผ๐๐ฟ ๐๐ฃ๐ ๐๐ต๐ผ๐๐น๐ฑ ๐ป๐ผ๐ ๐๐ฎ๐ถ๐ ๐ณ๐ผ๐ฟ ๐ฒ๐๐ฒ๐ฟ๐ ๐๐ฎ๐๐ธ ๐๐ผ ๐ณ๐ถ๐ป๐ถ๐๐ต.
Sometimes, it only needs to accept the work and process it safely in the background.
That is where ๐๐ต๐ฎ๐ป๐ป๐ฒ๐น๐ ๐ถ๐ป .๐ก๐๐ง become useful. โก
A Channel creates a ๐๐ต๐ฟ๐ฒ๐ฎ๐ฑ ๐๐ฎ๐ณ๐ฒ, ๐ฎ๐๐๐ป๐ฐ๐ต๐ฟ๐ผ๐ป๐ผ๐๐ ๐ฝ๐ถ๐ฝ๐ฒ๐น๐ถ๐ป๐ฒ between:
- ๐ฃ๐ฟ๐ผ๐ฑ๐๐ฐ๐ฒ๐ฟ: Writes work into the channel
- ๐๐ผ๐ป๐๐๐บ๐ฒ๐ฟ: Reads and processes that work
This pattern works well for:
๐ญ. Processing ๐ฏ๐ฎ๐ฐ๐ธ๐ด๐ฟ๐ผ๐๐ป๐ฑ ๐ท๐ผ๐ฏ๐
๐ฎ. Buffering ๐ต๐ถ๐ด๐ต ๐๐ฟ๐ฎ๐ณ๐ณ๐ถ๐ฐ ๐ฒ๐๐ฒ๐ป๐๐
๐ฏ. Batching ๐ฑ๐ฎ๐๐ฎ๐ฏ๐ฎ๐๐ฒ ๐ผ๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐
๐ฐ. Handling ๐น๐ผ๐ด๐ ๐ฎ๐ป๐ฑ ๐ป๐ผ๐๐ถ๐ณ๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐
๐ฑ. Building ๐ถ๐ป ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐ producer consumer workflows
Use a ๐ฏ๐ผ๐๐ป๐ฑ๐ฒ๐ฑ ๐ฐ๐ต๐ฎ๐ป๐ป๐ฒ๐น to limit its capacity.
When the consumer slows down, the channel applies ๐ฏ๐ฎ๐ฐ๐ธ๐ฝ๐ฟ๐ฒ๐๐๐๐ฟ๐ฒ instead of allowing memory usage to grow without control.
Channels are fast and efficient, but they are ๐ถ๐ป ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐. If the application restarts, queued items can be lost.
For ๐ฑ๐๐ฟ๐ฎ๐ฏ๐น๐ฒ ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐๐ถ๐ป๐ด across services, use a message broker such as RabbitMQ, Azure Service Bus, or Kafka.
๐จ๐๐ฒ ๐๐ต๐ฎ๐ป๐ป๐ฒ๐น๐ for fast asynchronous coordination inside one application.
๐จ๐๐ฒ ๐ฎ ๐บ๐ฒ๐๐๐ฎ๐ด๐ฒ ๐ฏ๐ฟ๐ผ๐ธ๐ฒ๐ฟ when the work must survive failures or move between services.
๐ช๐ต๐ฒ๐ฟ๐ฒ ๐๐ผ๐๐น๐ฑ ๐๐ผ๐ ๐๐๐ฒ ๐๐ต๐ฎ๐ป๐ป๐ฒ๐น๐ ๐ถ๐ป ๐๐ผ๐๐ฟ .๐ก๐๐ง ๐ฎ๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป?
1
1
39
๐ก๐๐ง ๐ญ๐ญ ๐ฎ๐ป๐ฑ ๐# ๐ญ๐ฑ ๐ฎ๐ฟ๐ฒ ๐ต๐ฒ๐ฟ๐ฒ! ๐ฅ
And this release brings major improvements across the .NET ecosystem.
From Union Types and Runtime Async to new APIs, better performance, and powerful EF Core capabilities.
Here are the ๐ธ๐ฒ๐ ๐๐ฝ๐ฑ๐ฎ๐๐ฒ๐ ๐ฒ๐๐ฒ๐ฟ๐ .๐ก๐๐ง ๐ฑ๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ ๐๐ต๐ผ๐๐น๐ฑ ๐ธ๐ป๐ผ๐: ๐
๐ญ. ๐# ๐ญ๐ฑ
โช๏ธ Union Types: Model multiple possible types with exhaustive switch checking.
โช๏ธ Closed Hierarchies: Restrict inheritance to the declaring assembly.
โช๏ธ Collection Expressions: Support constructor arguments using with(...).
โช๏ธ Extension Indexers: Add indexers to existing types.
โช๏ธ Labeled Break/Continue: Control enclosing loops.
โช๏ธ Memory Safety (Preview): Improved safety for unmanaged memory.
๐ฎ. ๐ก๐๐ง ๐ญ๐ญ ๐ฅ๐๐ป๐๐ถ๐บ๐ฒ
โช๏ธ Runtime Async (Preview): Reduced async overhead and cleaner stack traces.
โช๏ธ JIT Optimizations: Better de-virtualization and bounds-check elimination.
โช๏ธ Native AOT: Faster interface dispatch.
โช๏ธ Diagnostics: In-process crash reports.
๐ฏ. ๐ก๐๐ง ๐ญ๐ญ ๐๐ถ๐ฏ๐ฟ๐ฎ๐ฟ๐ถ๐ฒ๐
โช๏ธ LINQ: New FullJoin and tuple-returning join overloads.
โช๏ธ JSON: JSON Lines and union serialization.
โช๏ธ Compression: Zstandard support.
โช๏ธ Numeric Types: Decimal32, Decimal64, and Decimal128.
โช๏ธ Validation: New asynchronous validation APIs.
๐ฐ. ๐ก๐๐ง ๐ญ๐ญ ๐ฆ๐๐ & ๐ง๐ผ๐ผ๐น๐ถ๐ป๐ด
โช๏ธ File-Based Apps: Multi-file support with #:include.
โช๏ธ dotnet test: Improved execution and reporting.
โช๏ธ dotnet watch: Automatic crash recovery.
โช๏ธ Native AOT CLI: Faster CLI startup.
๐ฑ. ๐๐ฆ๐ฃ .๐ก๐๐ง ๐๐ผ๐ฟ๐ฒ ๐ญ๐ญ
โช๏ธ Async Validation: Asynchronous validators in Minimal APIs.
โช๏ธ Localization: Built-in validation localization.
โช๏ธ OpenAPI 3.2: Default support with SSE schemas.
โช๏ธ MCP: New MCP server project template.
โช๏ธ HTTP/3: Reduced initial request latency.
๐ฒ. ๐๐ ๐๐ผ๐ฟ๐ฒ ๐ญ๐ญ
โช๏ธ Query Performance: More efficient SQL generation.
โช๏ธ FullJoin: Translation to SQL FULL JOIN.
โช๏ธ MaxBy/MinBy: SQL translation support.
โช๏ธ Vector Search (Experimental): Vector indexes and similarity search.
โช๏ธ Hybrid Search: Combine vector and full-text search.
โช๏ธ Vector Loading: Avoid loading vector columns by default.
๐ ๐ ๐๐ฎ๐ธ๐ฒ?
Union Types are a significant addition to C#, particularly for modeling application states and operation results.
Runtime Async is promising for high-throughput applications, although it remains experimental.
And EF Core's vector search capabilities are particularly interesting for building AI-powered applications on SQL Server.
If you're already on .NET 10 LTS, there's no immediate reason to upgrade production systems.
But .NET 11 is definitely worth exploring!
๐ช๐ต๐ถ๐ฐ๐ต .๐ก๐๐ง ๐ญ๐ญ ๐ณ๐ฒ๐ฎ๐๐๐ฟ๐ฒ ๐ฒ๐
๐ฐ๐ถ๐๐ฒ๐ ๐๐ผ๐ ๐๐ต๐ฒ ๐บ๐ผ๐๐?
1
2
120
Aram Tchekrekjian retweeted
โก๐๐๐ก๐ค ๐ ๐ฒ๐๐ต๐ผ๐ฑ๐ ๐๐๐ฒ๐ฟ๐ ๐# ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ ๐ฆ๐ต๐ผ๐๐น๐ฑ ๐๐ป๐ผ๐
LINQ makes C# code cleaner, shorter, and easier to maintain.
Here are ๐ญ๐ฎ ๐บ๐ฒ๐๐ต๐ผ๐ฑ๐ ๐๐ผ๐ฟ๐๐ต ๐บ๐ฎ๐๐๐ฒ๐ฟ๐ถ๐ป๐ด:
๐ช๐ต๐ฒ๐ฟ๐ฒ() โ Filters elements based on a condition.
๐ฆ๐ฒ๐น๐ฒ๐ฐ๐() โ Transforms elements into a new shape.
๐ฆ๐ฒ๐น๐ฒ๐ฐ๐๐ ๐ฎ๐ป๐() โ Flattens nested collections.
๐๐ป๐() โ Checks if at least one element matches.
๐๐น๐น() โ Checks if every element matches.
๐๐ถ๐๐๐ถ๐ป๐ฐ๐๐๐() โ Removes duplicates based on a key.
๐๐ฟ๐ผ๐๐ฝ๐๐() โ Groups elements by a common key.
๐ข๐ฟ๐ฑ๐ฒ๐ฟ๐๐() โ Sorts elements in ascending order.
๐๐ถ๐ฟ๐๐๐ข๐ฟ๐๐ฒ๐ณ๐ฎ๐๐น๐() โ Returns the first match or a default value.
๐ ๐ฎ๐
๐๐() โ Finds the element with the highest key.
๐๐ต๐๐ป๐ธ() โ Splits a collection into batches.
๐๐ด๐ด๐ฟ๐ฒ๐ด๐ฎ๐๐ฒ() โ Combines elements into a single result.
LINQ queries often use deferred execution. Understand when your query actually runs, especially with EF Core.
Which LINQ method do you find yourself using most often?
โก๐๐๐ก๐ค ๐ ๐ฒ๐๐ต๐ผ๐ฑ๐ ๐๐๐ฒ๐ฟ๐ ๐# ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ ๐ฆ๐ต๐ผ๐๐น๐ฑ ๐๐ป๐ผ๐
LINQ makes C# code cleaner, shorter, and easier to maintain.
Here are ๐ญ๐ฎ ๐บ๐ฒ๐๐ต๐ผ๐ฑ๐ ๐๐ผ๐ฟ๐๐ต ๐บ๐ฎ๐๐๐ฒ๐ฟ๐ถ๐ป๐ด:
๐ช๐ต๐ฒ๐ฟ๐ฒ() โ Filters elements based on a condition.
๐ฆ๐ฒ๐น๐ฒ๐ฐ๐() โ Transforms elements into a new shape.
๐ฆ๐ฒ๐น๐ฒ๐ฐ๐๐ ๐ฎ๐ป๐() โ Flattens nested collections.
๐๐ป๐() โ Checks if at least one element matches.
๐๐น๐น() โ Checks if every element matches.
๐๐ถ๐๐๐ถ๐ป๐ฐ๐๐๐() โ Removes duplicates based on a key.
๐๐ฟ๐ผ๐๐ฝ๐๐() โ Groups elements by a common key.
๐ข๐ฟ๐ฑ๐ฒ๐ฟ๐๐() โ Sorts elements in ascending order.
๐๐ถ๐ฟ๐๐๐ข๐ฟ๐๐ฒ๐ณ๐ฎ๐๐น๐() โ Returns the first match or a default value.
๐ ๐ฎ๐
๐๐() โ Finds the element with the highest key.
๐๐ต๐๐ป๐ธ() โ Splits a collection into batches.
๐๐ด๐ด๐ฟ๐ฒ๐ด๐ฎ๐๐ฒ() โ Combines elements into a single result.
LINQ queries often use deferred execution. Understand when your query actually runs, especially with EF Core.
Which LINQ method do you find yourself using most often?
Task.WhenAll ๐๐ Parallel.ForEachAsync ๐ถ๐ป .๐ก๐๐ง: ๐ช๐ต๐ถ๐ฐ๐ต ๐ข๐ป๐ฒ ๐ฆ๐ต๐ผ๐๐น๐ฑ ๐ฌ๐ผ๐ ๐จ๐๐ฒ?
Both support running independent operations concurrently, but they differ in how they manage concurrency and resources.
The right choice depends on your workload.
๐ญ. Task.WhenAll
Best for a known set of independent asynchronous operations, especially I/O-bound tasks.
๐ท๐ข๐ณ ๐ถ๐ด๐ฆ๐ณ๐ด๐๐ข๐ด๐ฌ = ๐๐ฆ๐ต๐๐ด๐ฆ๐ณ๐ด๐๐ด๐บ๐ฏ๐ค();
๐ท๐ข๐ณ ๐ฐ๐ณ๐ฅ๐ฆ๐ณ๐ด๐๐ข๐ด๐ฌ = ๐๐ฆ๐ต๐๐ณ๐ฅ๐ฆ๐ณ๐ด๐๐ด๐บ๐ฏ๐ค();
๐ข๐ธ๐ข๐ช๐ต Task.WhenAll(usersTask, ๐ฐ๐ณ๐ฅ๐ฆ๐ณ๐ด๐๐ข๐ด๐ฌ);
โข Ideal for multiple independent API or database calls.
โข No built-in concurrency limit.
โข Doesn't automatically create threads.
๐ฎ. Parallel.ForEachAsync
Best for processing collections with controlled concurrency.
๐ข๐ธ๐ข๐ช๐ต Parallel.ForEachAsync(
๐ฐ๐ณ๐ฅ๐ฆ๐ณ๐ด,
๐ฏ๐ฆ๐ธ ๐๐ข๐ณ๐ข๐ญ๐ญ๐ฆ๐ญ๐๐ฑ๐ต๐ช๐ฐ๐ฏ๐ด
{
๐๐ข๐น๐๐ฆ๐จ๐ณ๐ฆ๐ฆ๐๐ง๐๐ข๐ณ๐ข๐ญ๐ญ๐ฆ๐ญ๐ช๐ด๐ฎ = 10
},
๐ข๐ด๐บ๐ฏ๐ค (๐ฐ๐ณ๐ฅ๐ฆ๐ณ, ๐ค๐ต) =>
๐ข๐ธ๐ข๐ช๐ต ๐๐ณ๐ฐ๐ค๐ฆ๐ด๐ด๐๐ณ๐ฅ๐ฆ๐ณ๐๐ด๐บ๐ฏ๐ค(๐ฐ๐ณ๐ฅ๐ฆ๐ณ, ๐ค๐ต));
โข Supports I/O-bound and CPU-bound workloads.
โข Built-in concurrency control.
โข Useful for large collections and external API calls.
๐ฏ. ๐ช๐ต๐ถ๐ฐ๐ต ๐ข๐ป๐ฒ ๐ฆ๐ต๐ผ๐๐น๐ฑ ๐ฌ๐ผ๐ ๐๐ต๐ผ๐ผ๐๐ฒ?
CPU-bound: Prefer Parallel.ForEach for synchronous CPU-intensive operations.
I/O-bound: Use Task.WhenAll for a few independent operations, or Parallel.ForEachAsync when concurrency limits are needed.
External APIs: Both work, but Parallel.ForEachAsync is often better for processing hundreds of requests without overwhelming downstream services.
๐๐บ๐ฝ๐ผ๐ฟ๐๐ฎ๐ป๐ ๐๐ ๐๐ผ๐ฟ๐ฒ ๐ฅ๐ฒ๐บ๐ถ๐ป๐ฑ๐ฒ๐ฟ
DbContext is not thread-safe. Never execute concurrent queries using the same instance. Use separate instances or run queries sequentially.
๐๐ฒ๐ ๐ง๐ฎ๐ธ๐ฒ๐ฎ๐๐ฎ๐
Task.WhenAll awaits multiple tasks without built-in concurrency limits.
Parallel.ForEachAsync processes collections with bounded concurrency.
And remember, Parallel.ForEachAsync defaults to Environment.ProcessorCount concurrent operations, so configure MaxDegreeOfParallelism for your workload.
๐ช๐ต๐ถ๐ฐ๐ต ๐ผ๐ป๐ฒ ๐ฑ๐ผ ๐๐ผ๐ ๐๐๐ฒ ๐บ๐ผ๐ฟ๐ฒ ๐ผ๐ณ๐๐ฒ๐ป ๐ถ๐ป ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐ผ๐ป .๐ก๐๐ง ๐ฎ๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐?
#dotnet #csharp #aspnetdotnetcore #async #Microsoft
1
2
69
Aram Tchekrekjian retweeted
โก๏ธ๐ณ ๐๐๐๐ป๐ฐ/๐๐๐ฎ๐ถ๐ ๐ ๐ถ๐๐๐ฎ๐ธ๐ฒ๐ ๐๐๐ฒ๐ป ๐ฆ๐ฒ๐ป๐ถ๐ผ๐ฟ .๐ก๐๐ง ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ๐ ๐ ๐ฎ๐ธ๐ฒ
After working on production .NET applications for years, I've learned one thing:
Writing async code is easy. Writing async code that behaves correctly under load is a different story.
Here are 7 mistakes worth avoiding:
๐ญ. ๐๐น๐ผ๐ฐ๐ธ๐ถ๐ป๐ด ๐๐๐๐ป๐ฐ ๐๐ผ๐ฑ๐ฒ ๐๐ถ๐๐ต .๐ฅ๐ฒ๐๐๐น๐ ๐ผ๐ฟ .๐ช๐ฎ๐ถ๐()
Calling .Result or .Wait() blocks the current thread while waiting for an asynchronous operation.
In ASP .NET Core, this can cause thread pool starvation and reduce throughput.
Better: Use await throughout the call chain.
๐ฎ. ๐จ๐๐ถ๐ป๐ด ๐ฎ๐๐๐ป๐ฐ ๐๐ผ๐ถ๐ฑ ๐๐ป๐๐๐ฒ๐ฎ๐ฑ ๐ผ๐ณ ๐ฎ๐๐๐ป๐ฐ ๐ง๐ฎ๐๐ธ
An async void method cannot be awaited, and its exceptions cannot be handled by the caller through normal Task-based exception handling.
Better: Return Task or Task<T>. Reserve async void for event handlers that require it.
๐ฏ. ๐๐ผ๐ฟ๐ด๐ฒ๐๐๐ถ๐ป๐ด ๐๐ผ ๐๐๐ฎ๐ถ๐ ๐ฎ๐ป ๐๐๐๐ป๐ฐ ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป
Calling an async method without awaiting or tracking its returned Task can lead to lost exceptions and operations continuing beyond the intended scope.
Better: Await the operation or explicitly manage its lifetime.
๐ฐ. ๐ฅ๐๐ป๐ป๐ถ๐ป๐ด ๐๐ป๐ฑ๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ฆ๐ฒ๐พ๐๐ฒ๐ป๐๐ถ๐ฎ๐น๐น๐
Consider two independent API calls:
The second call starts only after the first completes.
Better: Start both operations and await them together.
Use this when operations are independent and safe to run concurrently.
๐ฑ. ๐๐ด๐ป๐ผ๐ฟ๐ถ๐ป๐ด ๐๐ฎ๐ป๐ฐ๐ฒ๐น๐น๐ฎ๐๐ถ๐ผ๐ป๐ง๐ผ๐ธ๐ฒ๐ป
Without cancellation propagation, expensive database queries or HTTP requests may continue even after the client disconnects.
Better: Accept and propagate CancellationToken through your async call chain.
๐ฒ. ๐๐๐๐๐บ๐ถ๐ป๐ด ๐๐๐๐ป๐ฐ ๐ ๐ฒ๐ฎ๐ป๐ ๐ฃ๐ฎ๐ฟ๐ฎ๐น๐น๐ฒ๐น
async/await does not automatically create new threads or make CPU-intensive work faster.
Async is primarily about non-blocking waiting.
Better: Use async for I/O-bound operations.
Consider Task.Run for appropriate CPU-bound work outside latency-sensitive server request paths.
๐ณ. ๐จ๐๐ถ๐ป๐ด ๐ง๐ฎ๐๐ธ.๐ช๐ต๐ฒ๐ป๐๐น๐น ๐ช๐ถ๐๐ต๐ผ๐๐ ๐๐ผ๐ป๐๐ฟ๐ผ๐น๐น๐ถ๐ป๐ด ๐๐ผ๐ป๐ฐ๐๐ฟ๐ฟ๐ฒ๐ป๐ฐ๐
Launching thousands of database queries or HTTP requests simultaneously can exhaust connection pools, overwhelm downstream services, and increase latency.
Better: Apply bounded concurrency using SemaphoreSlim, Parallel.ForEachAsync, or another suitable concurrency limiter.
Async/await is not just about improving performance.
It's about managing resources, concurrency, cancellation, and failures correctly.
A method can be asynchronous and still make your application slower, less reliable, or harder to debug.
Which async/await mistake have you encountered most often in production?
โก๏ธ๐ณ ๐๐๐๐ป๐ฐ/๐๐๐ฎ๐ถ๐ ๐ ๐ถ๐๐๐ฎ๐ธ๐ฒ๐ ๐๐๐ฒ๐ป ๐ฆ๐ฒ๐ป๐ถ๐ผ๐ฟ .๐ก๐๐ง ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ๐ ๐ ๐ฎ๐ธ๐ฒ
After working on production .NET applications for years, I've learned one thing:
Writing async code is easy. Writing async code that behaves correctly under load is a different story.
Here are 7 mistakes worth avoiding:
๐ญ. ๐๐น๐ผ๐ฐ๐ธ๐ถ๐ป๐ด ๐๐๐๐ป๐ฐ ๐๐ผ๐ฑ๐ฒ ๐๐ถ๐๐ต .๐ฅ๐ฒ๐๐๐น๐ ๐ผ๐ฟ .๐ช๐ฎ๐ถ๐()
Calling .Result or .Wait() blocks the current thread while waiting for an asynchronous operation.
In ASP .NET Core, this can cause thread pool starvation and reduce throughput.
Better: Use await throughout the call chain.
๐ฎ. ๐จ๐๐ถ๐ป๐ด ๐ฎ๐๐๐ป๐ฐ ๐๐ผ๐ถ๐ฑ ๐๐ป๐๐๐ฒ๐ฎ๐ฑ ๐ผ๐ณ ๐ฎ๐๐๐ป๐ฐ ๐ง๐ฎ๐๐ธ
An async void method cannot be awaited, and its exceptions cannot be handled by the caller through normal Task-based exception handling.
Better: Return Task or Task<T>. Reserve async void for event handlers that require it.
๐ฏ. ๐๐ผ๐ฟ๐ด๐ฒ๐๐๐ถ๐ป๐ด ๐๐ผ ๐๐๐ฎ๐ถ๐ ๐ฎ๐ป ๐๐๐๐ป๐ฐ ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป
Calling an async method without awaiting or tracking its returned Task can lead to lost exceptions and operations continuing beyond the intended scope.
Better: Await the operation or explicitly manage its lifetime.
๐ฐ. ๐ฅ๐๐ป๐ป๐ถ๐ป๐ด ๐๐ป๐ฑ๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ฆ๐ฒ๐พ๐๐ฒ๐ป๐๐ถ๐ฎ๐น๐น๐
Consider two independent API calls:
The second call starts only after the first completes.
Better: Start both operations and await them together.
Use this when operations are independent and safe to run concurrently.
๐ฑ. ๐๐ด๐ป๐ผ๐ฟ๐ถ๐ป๐ด ๐๐ฎ๐ป๐ฐ๐ฒ๐น๐น๐ฎ๐๐ถ๐ผ๐ป๐ง๐ผ๐ธ๐ฒ๐ป
Without cancellation propagation, expensive database queries or HTTP requests may continue even after the client disconnects.
Better: Accept and propagate CancellationToken through your async call chain.
๐ฒ. ๐๐๐๐๐บ๐ถ๐ป๐ด ๐๐๐๐ป๐ฐ ๐ ๐ฒ๐ฎ๐ป๐ ๐ฃ๐ฎ๐ฟ๐ฎ๐น๐น๐ฒ๐น
async/await does not automatically create new threads or make CPU-intensive work faster.
Async is primarily about non-blocking waiting.
Better: Use async for I/O-bound operations.
Consider Task.Run for appropriate CPU-bound work outside latency-sensitive server request paths.
๐ณ. ๐จ๐๐ถ๐ป๐ด ๐ง๐ฎ๐๐ธ.๐ช๐ต๐ฒ๐ป๐๐น๐น ๐ช๐ถ๐๐ต๐ผ๐๐ ๐๐ผ๐ป๐๐ฟ๐ผ๐น๐น๐ถ๐ป๐ด ๐๐ผ๐ป๐ฐ๐๐ฟ๐ฟ๐ฒ๐ป๐ฐ๐
Launching thousands of database queries or HTTP requests simultaneously can exhaust connection pools, overwhelm downstream services, and increase latency.
Better: Apply bounded concurrency using SemaphoreSlim, Parallel.ForEachAsync, or another suitable concurrency limiter.
Async/await is not just about improving performance.
It's about managing resources, concurrency, cancellation, and failures correctly.
A method can be asynchronous and still make your application slower, less reliable, or harder to debug.
Which async/await mistake have you encountered most often in production?
Aram Tchekrekjian retweeted
Security vulnerabilities don't always exist within a single repository.
In modern distributed systems, especially microservices, a vulnerability can span multiple services, repositories, and trust boundaries.
CodeRabbit just introduced some interesting enhancements to ๐๐ผ๐ฑ๐ฒ๐ฅ๐ฎ๐ฏ๐ฏ๐ถ๐ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ฒ. ๐ฅ
Here's what caught my attention:
- Cross-Repository Deep Scan: Analyzes connected repositories to identify security risks across services and shared libraries.
- Runtime Verification: Attempts to reproduce vulnerabilities in isolated sandboxes, helping distinguish exploitable issues from theoretical risks.
- Delta Scans: Rechecks changed code and affected areas without repeatedly scanning the entire repository.
- Security Checks: Can block pull request merges until critical vulnerabilities are verified as fixed.
- Security Visibility: Provides organization-wide reporting and integrates findings with Jira and Linear.
My key takeaway:
Security analysis needs architectural context, not just code-level inspection.
A service might appear secure in isolation, while vulnerabilities emerge from interactions between services, authorization boundaries, and shared components.
I particularly like the combination of cross-repository analysis and runtime verification.
It brings security findings closer to actual exploitability.
This is a promising direction for AI-assisted application security.
What do you think? Should cross-repository security analysis become a standard part of modern CI/CD pipelines?
๐๐บ๐ฝ๐ผ๐ฟ๐๐ฎ๐ป๐: ๐๐ผ๐ฑ๐ฒ๐ฅ๐ฎ๐ฏ๐ฏ๐ถ๐ ๐ถ๐ ๐ฝ๐๐๐๐ถ๐ป๐ด $๐ญ๐ ๐ถ๐ป ๐ณ๐ฟ๐ฒ๐ฒ ๐๐ฒ๐ฒ๐ฝ ๐ฆ๐ฐ๐ฎ๐ป๐ ๐๐ป๐๐ถ๐น ๐ก๐ผ๐๐ฒ๐บ๐ฏ๐ฒ๐ฟ ๐ด. ๐ง๐ต๐ถ๐ ๐ถ๐ป๐ฐ๐น๐๐ฑ๐ฒ๐ ๐ผ๐ฝ๐ฒ๐ป-๐๐ผ๐๐ฟ๐ฐ๐ฒ ๐บ๐ฎ๐ถ๐ป๐๐ฎ๐ถ๐ป๐ฒ๐ฟ๐ ๐ฎ๐ป๐ฑ ๐๐ฒ๐ฎ๐บ๐ ๐๐ต๐ฎ๐ ๐ต๐ฎ๐๐ฒ ๐ป๐ฒ๐๐ฒ๐ฟ ๐๐๐ฒ๐ฑ ๐๐ผ๐ฑ๐ฒ๐ฅ๐ฎ๐ฏ๐ฏ๐ถ๐. ๐๐โ๐ ๐ณ๐ถ๐ฟ๐๐ ๐ฐ๐ผ๐บ๐ฒ, ๐ณ๐ถ๐ฟ๐๐ ๐๐ฒ๐ฟ๐๐ฒ๐ฑ.
Aram Tchekrekjian retweeted
๐๐ ๐ฐ๐ฎ๐ป ๐ด๐ฒ๐ป๐ฒ๐ฟ๐ฎ๐๐ฒ ๐ฝ๐ฒ๐ฟ๐ณ๐ฒ๐ฐ๐๐น๐ ๐๐ฎ๐น๐ถ๐ฑ ๐ฐ๐ผ๐ฑ๐ฒ ๐ฎ๐ป๐ฑ ๐๐๐ถ๐น๐น ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐ฒ ๐ฎ ๐ณ๐๐ป๐ฑ๐ฎ๐บ๐ฒ๐ป๐๐ฎ๐น๐น๐ ๐๐ฟ๐ผ๐ป๐ด ๐ฑ๐ผ๐บ๐ฎ๐ถ๐ป ๐บ๐ผ๐ฑ๐ฒ๐น.
That's because Domain-Driven Design (DDD) isn't just about writing code.
It's about understanding business complexity, defining clear boundaries, and ensuring the right business decisions belong to the right domains.
I recently explored ๐๐-๐๐๐ด๐บ๐ฒ๐ป๐๐ฒ๐ฑ ๐๐ผ๐บ๐ฎ๐ถ๐ป-๐๐ฟ๐ถ๐๐ฒ๐ป ๐๐ฒ๐๐ถ๐ด๐ป by @aacerbis and @collaalessandro, published by Packt. ๐ฅ
What makes this book interesting is how it combines DDD principles with LLMs and AI agents while keeping architectural judgment and domain expertise at the center.
The book covers three major areas:
๐ญ. ๐๐ ๐ฎ๐ ๐ฎ ๐ฅ๐ฒ๐ฎ๐๐ผ๐ป๐ถ๐ป๐ด ๐ฃ๐ฎ๐ฟ๐๐ป๐ฒ๐ฟ
โข Understanding how LLMs work, including their limitations and reasoning capabilities.
โข Using precise language, structured prompts, and domain constraints to improve AI-assisted modeling.
โข Treating AI as a collaborator rather than an architectural decision-maker.
๐ฎ. ๐๐-๐๐๐๐ถ๐๐๐ฒ๐ฑ ๐๐ผ๐บ๐ฎ๐ถ๐ป ๐ ๐ผ๐ฑ๐ฒ๐น๐ถ๐ป๐ด
โข Applying EventStorming and Domain Storytelling with AI.
โข Refining bounded contexts, aggregates, commands, and domain events.
โข Building reusable prompt rulebooks to enforce DDD principles.
โข Using Domain Carriers to preserve business knowledge, terminology, and architectural decisions.
๐ฏ. ๐๐ฟ๐ผ๐บ ๐ฃ๐ฟ๐ผ๐บ๐ฝ๐๐ ๐๐ผ ๐๐ผ๐๐ฒ๐ฟ๐ป๐ฒ๐ฑ ๐๐ ๐๐ด๐ฒ๐ป๐๐
โข Designing specialized agents for EventStorming, storytelling, and context mapping.
โข Coordinating agents through an Orchestrator with structured workflows and human approval gates.
โข Managing agent autonomy, semantic disagreements, and architectural constraints.
๐ช๐ต๐ฎ๐ ๐ ๐ฝ๐ฎ๐ฟ๐๐ถ๐ฐ๐๐น๐ฎ๐ฟ๐น๐ ๐ฎ๐ฝ๐ฝ๐ฟ๐ฒ๐ฐ๐ถ๐ฎ๐๐ฒ ๐ถ๐ ๐๐ต๐ฒ ๐ฝ๐ฟ๐ฎ๐ฐ๐๐ถ๐ฐ๐ฎ๐น ๐ฎ๐ฝ๐ฝ๐ฟ๐ผ๐ฎ๐ฐ๐ต.
Through the BrewUp brewery domain, the authors demonstrate how AI can support iterative domain modeling while respecting bounded-context boundaries and business ownership.
For example, an AI might generate working code that mixes payment authorization, stock reservation, and order confirmation inside one aggregate.
Technically valid? Possibly.
Architecturally correct? Not necessarily.
๐ก My biggest takeaway: AI should accelerate domain understanding, not replace domain expertise.
I'd recommend this book to software architects, senior developers, and technical leaders who want to apply LLMs and agentic AI to complex enterprise systems without compromising DDD principles.
Discover how LLMs, Domain-Driven Design, and specialized AI agents can work together to model complex business systems.
๐ Get your copy here: lnkd.in/dhy6d7Dk
๐ช๐ผ๐๐น๐ฑ ๐๐ผ๐ ๐๐ฟ๐๐๐ ๐๐ ๐ฎ๐ด๐ฒ๐ป๐๐ ๐๐ผ ๐ต๐ฒ๐น๐ฝ ๐ถ๐ฑ๐ฒ๐ป๐๐ถ๐ณ๐ ๐ฏ๐ผ๐๐ป๐ฑ๐ฒ๐ฑ ๐ฐ๐ผ๐ป๐๐ฒ๐
๐๐ ๐ถ๐ป ๐๐ผ๐๐ฟ ๐ป๐ฒ๐
๐ ๐ฝ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐?
P.S. Thanks @PacktPublishing for the collab on this post, and shoutout for the great authors @aacerbis and @collaalessandro













