C# Digest #410: Value types and exceptions in .NET profiling
#410 — April 11, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Treblle - Understand what’s going on with your APIs
Treblle is an API management platform that helps you understand your APIs from development to post-production. It’s an SDK that you add on top of your API. Currently, Treblle supports more than 12 languages. As soon as you add it out of the box you get features like Real-time API monitoring, Automatically generated documentation, 1 click API testing, in-depth API analytics, and many more!
this week's favorite
Value types and exceptions in .NET profiling
Here comes the end of the series about .NET profiling APIs. This final episode describes how to get fields of a value type instance and how to deal with exceptions.
Anti-corruption Layer for mapping between Boundaries
What does an anti-corruption layer solve? Most systems rely on data or behaviors from another service or an external 3rd party. The problem is they often don’t share the same semantics or data structures. Left unchecked this leads to convoluting up your own boundary with concepts from another boundary. Let me explain how you can use an anti-corruption layer as a way to translate the concepts from another boundary in isolation.
How to use ModelState validation in ASP.NET Core Web API
We always strive to separate concerns and decouple different application layers when designing our APIs. Since client input is the first thing that comes to our web API, we usually want to validate that input before further processing. Also, we want to separate that processing from the rest of the application. Let’s see how we can achieve that in ASP.NET Core.
Middleware in .NET 6 - Conditionally adding middleware to the pipeline
In this final part of the series, we will show two ways to conditionally execute middleware in the pipeline: by using settings in the AppSettings.json file to determine whether or not to add the middleware to the pipeline in the first place, or by using the incoming request's data to conditionally execute a middleware piece already in the pipeline.
What's up with TimeZoneInfo on .NET 6?
In part 1, we ended up with a lot of test data specified in a text file, but without working tests – and with a conundrum as to how we’d test the .NET Core 3.1 data which requires additional information about the “hidden” AdjustmentRule.BaseUtcOffsetDelta property.
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
Key phrases
Older messages
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
C# Digest #407: Deep dive into WPF layouting and rendering
Sunday, March 20, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #407 — March 21, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #406: Adding authentication and authorisation to ASP.NET Core web applications
Sunday, March 13, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #406 — March 14, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your
C# Digest #405: Modelling workflows with Finite State Machines in .NET
Sunday, March 6, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #405 — March 07, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge – invite your
You Might Also Like
📞 1990s Technology We Still Use Today — How to Fix Google Maps When It's Not Working
Wednesday, April 17, 2024
Also: Why You Should Buy Last Year's Flagship TV, and More! How-To Geek Logo April 17, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Today only: Join Incubator to get these bonuses
Wednesday, April 17, 2024
I'll work with you personally in a small group
JSK Daily for Apr 17, 2024
Wednesday, April 17, 2024
JSK Daily for Apr 17, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React useState Vs. Context API: When to Use Them React has improved its state management
Daily Coding Problem: Problem #1415 [Easy]
Wednesday, April 17, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. Write a function to flatten a nested dictionary. Namespace the keys with a
⚙️ Workplace AI
Wednesday, April 17, 2024
Plus: Amazon Music just copy pasted Spotify
Charted | The World's Biggest Nuclear Energy Producers ⚡
Wednesday, April 17, 2024
China has grown its nuclear capacity over the last decade, now ranking second on the list of top nuclear energy producers. View Online | Subscribe Presented by: FEATURED STORY The World's Biggest
You’re invited: 2024 Security report insights webinar
Wednesday, April 17, 2024
Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Noonification: 2000+ Researchers Predict the Future of AI
Wednesday, April 17, 2024
Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The
Top Tech Deals 👀 Pixel 7a, Anker Nano Charger, Samsung Frame TV, and More
Wednesday, April 17, 2024
From Sony earbuds to Govee smart lights, grab some neat tech while it's on sale. How-To Geek Logo April 17, 2024 Top Tech Deals: Pixel 7a, Anker Nano Charger, Samsung Frame TV, and More From Sony
Galaxy Book 4 Ultra review: A formidable flagship laptop
Wednesday, April 17, 2024
Logitech users get AI upgrade; LG CineBeam Q projector; Best portable power stations -- ZDNET ZDNET Tech Today - US April 17, 2024 placeholder Samsung Galaxy Book 4 Ultra review: Should Windows users