The .NET News Daily Issue #116

Feel like sharing?

:root {–wt-primary-color: #030712;–wt-text-on-primary-color: #F9FAFB;–wt-secondary-color: #F9FAFB;–wt-text-on-secondary-color: #030712;–wt-tertiary-color: #FFFFFF;–wt-text-on-tertiary-color: #222222;–wt-background-color: #F9FAFB;–wt-text-on-background-color: #030712;–wt-subscribe-background-color: #FFFFFF;–wt-text-on-subscribe-background-color: #030712;–wt-header-font: “Poppins”, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto,”Helvetica Neue”, Arial, “Noto Sans”, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, “Noto Color Emoji”;–wt-body-font: “Poppins”, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, “Helvetica Neue”, Arial, “Noto Sans”, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, “Noto Color Emoji”;–wt-button-font: “Poppins”, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, “Helvetica Neue”, Arial, “Noto Sans”, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, “Noto Color Emoji”;–wt-border-radius: 8px}.bg-wt-primary { background-color: var(–wt-primary-color); }.text-wt-primary { color: var(–wt-primary-color); }.border-wt-primary { border-color: var(–wt-primary-color); }.bg-wt-text-on-primary { background-color: var(–wt-text-on-primary-color); }.text-wt-text-on-primary { color: var(–wt-text-on-primary-color); }.border-wt-text-on-primary { border-color: var(–wt-text-on-primary-color); }.bg-wt-secondary { background-color: var(–wt-secondary-color); }.text-wt-secondary { color: var(–wt-secondary-color); }.border-wt-secondary { border-color: var(–wt-secondary-color); }.bg-wt-text-on-secondary { background-color: var(–wt-text-on-secondary-color); }.text-wt-text-on-secondary { color: var(–wt-text-on-secondary-color); }.border-wt-text-on-secondary { border-color: var(–wt-text-on-secondary-color); }.bg-wt-tertiary { background-color: var(–wt-tertiary-color); }.text-wt-tertiary { color: var(–wt-tertiary-color); }.border-wt-tertiary { border-color: var(–wt-tertiary-color); }.bg-wt-text-on-tertiary { background-color: var(–wt-text-on-tertiary-color); }.text-wt-text-on-tertiary { color: var(–wt-text-on-tertiary-color); }.border-wt-text-on-tertiary { border-color: var(–wt-text-on-tertiary-color); }.bg-wt-background { background-color: var(–wt-background-color); }.text-wt-background { color: var(–wt-background-color); }.border-wt-background { border-color: var(–wt-background-color); }.bg-wt-text-on-background { background-color: var(–wt-text-on-background-color); }.text-wt-text-on-background { color: var(–wt-text-on-background-color); }.border-wt-text-on-background { border-color: var(–wt-text-on-background-color); }.bg-wt-subscribe-background { background-color: var(–wt-subscribe-background-color); }.text-wt-subscribe-background { color: var(–wt-subscribe-background-color); }.border-wt-subscribe-background { border-color: var(–wt-subscribe-background-color); }.bg-wt-text-on-subscribe-background { background-color: var(–wt-text-on-subscribe-background-color); }.text-wt-text-on-subscribe-background { color: var(–wt-text-on-subscribe-background-color); }.border-wt-text-on-subscribe-background { border-color: var(–wt-text-on-subscribe-background-color); }.rounded-wt { border-radius: var(–wt-border-radius); }.wt-header-font { font-family: var(–wt-header-font); }.wt-body-font { font-family: var(–wt-body-font); }.wt-button-font { font-family: var(–wt-button-font); }input:focus { –tw-ring-color: transparent !important; }li a { word-break: break-word; }@media only screen and (max-width:667px) {.mob-stack {display: block !important;width: 100% !important;}.mob-w-full {width: 100% !important;}}@font-face {font-family: ‘Roboto’;font-style: normal;font-weight: 400;src: url(‘https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2’) format(‘woff2’);}@font-face {font-family: ‘Roboto’;font-style: normal;font-weight: 700;src: url(‘https://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmWUlfBBc4AMP6lQ.woff2’) format(‘woff2’);}@font-face {font-family: ‘Roboto’;font-style: italic;font-weight: 400;src: url(‘https://fonts.gstatic.com/s/roboto/v29/KFOkCnqEu92Fr1Mu51xIIzIXKMny.woff2’) format(‘woff2’);}@font-face {font-family: ‘Roboto’;font-style: italic;font-weight: 700;src: url(‘https://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TzBic6CsTYl4BO.woff2’) format(‘woff2’);}@font-face {font-family: ‘Open Sans’;font-style: normal;font-weight: 400;src: url(‘https://fonts.gstatic.com/s/opensans/v28/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55I.woff2’) format(‘woff2’);}@font-face {font-family: ‘Open Sans’;font-style: normal;font-weight: 700;src: url(‘https://fonts.gstatic.com/s/opensans/v28/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55I.woff2’) format(‘woff2’);}@font-face {font-family: ‘Open Sans’;font-style: italic;font-weight: 400;src: url(‘https://fonts.gstatic.com/s/opensans/v28/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6FxZCJgg.woff2’) format(‘woff2’);}@font-face {font-family: ‘Open Sans’;font-style: italic;font-weight: 700;src: url(‘https://fonts.gstatic.com/s/opensans/v28/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6FxZCJgg.woff2’) format(‘woff2′);}.table-base, .table-c, .table-h { border: 1px solid #C0C0C0; }.table-c { padding:5px; background-color:#FFFFFF; }.table-c p { color: #2D2D2D; font-family:’Open Sans’,’Segoe UI’,’Apple SD Gothic Neo’,’Lucida Grande’,’Lucida Sans Unicode’,sans-serif !important; overflow-wrap: break-word; }.table-h { padding:5px; background-color:#F1F1F1; }.table-h p { color: #2A2A2A; font-family:’Open Sans’,’Segoe UI’,’Apple SD Gothic Neo’,’Lucida Grande’,’Lucida Sans Unicode’,sans-serif !important; overflow-wrap: break-word; }
.bh__byline_wrapper {font-size: .875rem;line-height: 1.25rem;vertical-align: middle;justify-content: space-between;display: block;}.bh__byline_social_wrapper {display: flex;margin-top: 0.5rem;align-items: center;}.bh__byline_social_wrapper > * + * {margin-left: 1rem;}@media (min-width: 768px) {.bh__byline_wrapper {display: flex;}.bh__byline_social_wrapper {margin-top: 0rem;}}

Happy Wednesday, code maestros! As we coast toward the weekend, why not turbocharge your midweek with a quirky mix of .NET gems that’ll have you grinning like a developer who just fixed a gnarly bug. From mind-bending middleware tricks to sure-fire strategies for taming async beasts, today’s lineup is more refreshing than snapping the perfect Pop Rocks and soda combo. Buckle up, sharpen those skills, and prepare for an inspiring ride through the .NET cosmos.

Today’s Articles

Get or Retrieve the Page Size of a PDF in C#
Get or Retrieve the Page Size of a PDF in C#

This article guide you on how to get or retrieve the PDF page size through C# using a free NET library.

 
Unit Testing: Understanding Assertion Libraries in C# for Reliable Code
Unit Testing: Understanding Assertion Libraries in C# for Reliable Code

Ensuring your code behaves as expected is a fundamental part of software development. In C#, one of the most effective ways to do this is…

 
Cosmos DB Embeddings Generator Sample
Cosmos DB Embeddings Generator Sample

Ever since our first preview announcement for vector indexing and support for DiskANN and then again when we announced the GA for these features, customers have been asking us to make it easier to gen…

 
LINQPad is great!
LINQPad is great!

Over the festive break I spent a bit of time trying some of the challenges in this year’s Advent of Code. I wrote the logic for my answers using LINQPad, and it struck me that this has become one of m…

 
Simplify Data Validation in .NET with Record Validator
Simplify Data Validation in .NET with Record Validator

Introduction Continue reading on Abhima C# Programming »

 
5 things to know about SQL and AI | Data Exposed
5 things to know about SQL and AI | Data Exposed

Discover how SQL integrates with Azure AI Search, along with the introduction of new built-in vector functions and types. Microsoft Azure SQL: https://aka.ms/msazuresqlyt

 
ASP.Net Core Middleware
ASP.Net Core Middleware

Middleware that’s assembled into an app pipeline to handle requests and responses.

 
Stop the Leaks: Properly Disposing Objects in .NET
Stop the Leaks: Properly Disposing Objects in .NET

The article highlights the persistent issue of failing to call Dispose() on disposable objects in .NET projects, which leads to memory leaks and system instability. The author recommends using IDispos…

 
Implementing Caching in ASP.NET Core Using the Marvin.Caching Library
Implementing Caching in ASP.NET Core Using the Marvin.Caching Library

Caching is a powerful technique for improving the performance and scalability of web applications. By storing data that doesn’t change…

 
Build AI Agents & Apps FAST with Azure AI Foundry!
Build AI Agents & Apps FAST with Azure AI Foundry!

Join Priyanka and Govind as they serve up a practical guide to AI app development, making complex concepts easy to understand – all in the time it takes to enjoy your favorite brew! Kickstart Your AI …

 
How to Convert HTML to PDF Using DinkToPdf in .NET 8
How to Convert HTML to PDF Using DinkToPdf in .NET 8

Converting HTML to PDF is a common task in web development, especially when generating reports or printable content from dynamic web pages…

 
Our Favorite NEW Visual Studio Features of 2024
Our Favorite NEW Visual Studio Features of 2024

Last year, the Visual Studio team delivered many new developer-focused improvements and AI integrations, many of which came directly from your feedback on Developer Community. In this post, we highlig…

 
Terminal Inline Chat 🤯

Subscribe to the .NET Newsletter and never miss another awesome article.

Leave a Reply

Your email address will not be published. Required fields are marked *