C# Digest #383: Health checks in ASP.Net Core web API
#383 — October 04, 2021 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
Authorization for ASP.NET Web APIs
Learn how to secure an ASP.NET Web API by granting access only to authorized users through Auth0 authentication and authorization services.
this week's favorite
Health checks in ASP.Net Core web API
When you have an API running in the cloud it is important to know how healthy it is and if it might experience issues by itself or other services it relies on.
Although it's generally considered a best practice to assert only one thing per test, sometimes one logical "thing" may require multiple assertion statements to be executed. In such cases, it's helpful to be able to see all of the parts of the larger assertion that failed, so you don't end up chasing after them one by one.
Avoiding memory leaks in Visual Studio editor extensions
Visual Studio extenders make VS even better by augmenting it with specialized tools, new languages, and workflows. As a Visual Studio extender, you can ensure your extension’s customers have the most performant, reliable experience possible by avoiding common sources of memory leaks, described within this blog post.
Compress strings with .NET and C#
Modern development has an abundance of processing power, network bandwidth, and disk space. Given our current fortunes, we should spend these resources like there’s no tomorrow, right? Well, no! We should be mindful of our resource utilization and how it affects our overall application’s run profile.
Ahead-of-time compilation for Blazor Wasm
Blazor Wasm applications are being interpreted in the browser by default. The idea behind Wasm is to be able to compile any language to Wasm and in this way have a common platform that all code can be run on. Instead of doing this directly Blazor Wasm first bootstrapped this approach by making an IL interpreter in Wasm and with this made it possible to run .NET code compiled to IL instructions in the browser. In this article, we will look at how you can compile your code directly to Wasm Ahead-Of-Time (AOT) and what pros and cons this brings.
newsletters
Older messages
C# Digest #382: 6 essential tools to detect and fix performance issues in .NET
Sunday, September 26, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #382 — September 27, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #381: Strong Typing
Sunday, September 19, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #381 — September 20, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #380: Favorite improvements in .NET 6
Sunday, September 12, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #380 — September 13, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
C# Digest #379: File IO improvements in .NET 6
Sunday, September 5, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #379 — September 06, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
A neat trick to debug exceptions in C#
Sunday, August 29, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #378 — August 30, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
You Might Also Like
Tesla Autopilot investigation closed
Friday, April 26, 2024
Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.
Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464
Friday, April 26, 2024
Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle
Friday, April 26, 2024
Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates
JSK Daily for Apr 26, 2024
Friday, April 26, 2024
JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal
So are we banning TikTok or what?
Friday, April 26, 2024
Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to
[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.
Friday, April 26, 2024
How to decide if you're ready.
Daily Coding Problem: Problem #1423 [Medium]
Friday, April 26, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the
Data science for Product Managers
Friday, April 26, 2024
Crucial resources to empower you with data that matters.
Inner Thoughts
Friday, April 26, 2024
'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of
Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring
Friday, April 26, 2024
Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏