C# Digest #413: Long-running tasks in a monolith ASP.NET core application
#413 — May 02, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Free version of 'Learning Blazor' eBook
Do you want to improve your knowledge about Blazor? This ebook will give you deeply technical content on how to use Blazor WebAssembly to develop next-generation web experiences from scratch. Download the early release now.
this week's favorite
Long-running tasks in a monolith ASP.NET core application
Often we come across scenarios where invoking a Web API endpoint triggers long-running tasks. In this article, we’re going to explore the different ways we can implement such a long-running task in an ASP.NET Core Web API.
A practical guide to .NET memory management system
There was a time when memory was a slow, rare and expensive resource, so it was necessary to write code as performant as it could get, making them a lot harder to read and maintain. This scenario becomes very evident when we see that Apollo 11 main computer had only 4kb RAM.
Async and async void event handling in WPF
Async usage in C# is the recommended way to build UI based applications. But if you're using an older platform like WinForms or WPF, event handling still relies on the older decidedly non-async event delegate processing. In the past I've written about pitfalls when using async with WPF specifically a while back in the context of porting a commercial application - Markdown Monster - from mostly sync code to mostly async.
Improving test observability with Fixie and Seq
For years now it’s been possible to forward logs from Serilog to xUnit’s ITestOutputHelper, but in doing so we lose the structure that makes structured logs great. How can we get the best of both worlds - the advantages of ITestOutputHelper and the analysis capabilities of a local structured log viewer like Seq?
The C# Compiler’s name is Roslyn. Roslyn has a very large set of analyzers to check the quality of your code, but you must turn these analyzers on before they start doing anything. This post gives you some quick information on why it’s important to turn these analyzers on in your C# projects, how to do that, and how to configure them.
how did you like this issue?
1 = didn't like it at all and 5 = loved it and shared it with everyone I know
newsletters
Older messages
C# Digest #412: Taking .NET MAUI for a spin
Sunday, April 24, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #412 — April 25, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #411: Speed up logging in .NET
Sunday, April 17, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #411 — April 18, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #410: Value types and exceptions in .NET profiling
Sunday, April 10, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #410 — April 11, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #409: Avoiding distributed transactions with the reservation pattern
Sunday, April 3, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #409 — April 04, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #408: Unit tests for legacy systems with .NET 6
Sunday, March 27, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #408 — March 28, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
📧 Introduction to Distributed Tracing With OpenTelemetry in .NET
Saturday, April 20, 2024
Introduction to Distributed Tracing With OpenTelemetry in .NET Read on: my website / Read time: 5 minutes BROUGHT TO YOU BY Shesha: The .NET Open-Source Low-Code Framework Introducing Shesha, a
a16z’s Infrastructure team gets a new general partner
Friday, April 19, 2024
Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen
New Roundtable! Additive for Mass Production Applications
Friday, April 19, 2024
The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right
📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard
Friday, April 19, 2024
Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Is the wind going out of the AI sails?
Friday, April 19, 2024
Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to
Llama 3 is out - Weekly News Roundup - Issue #463
Friday, April 19, 2024
Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Daily Coding Problem: Problem #1417 [Easy]
Friday, April 19, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with
Charted | How Hard Is It to Get Into an Ivy League School? 🎓
Friday, April 19, 2024
We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations
Dark Matter & Tortured Poets
Friday, April 19, 2024
New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a
Impact of AI on Product Management
Friday, April 19, 2024
Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical