Last Week
Last Week is a weekly column with an emphasis in articles and posts that I read and appreciated, it is a collection from a dozen of different sources. All the content shared is made by people which I believe that would highly appreciate your feedback, so don't forget to say thank you.
If you have a topic you would like to see reflected in this Last Week initiative, please leave a comment below!
Have an amazing week and always keep learning!
Azure
Generally available: Specify API language runtime version in Azure Static Web Apps
Alert processing rules (formerly action rules) provide post-processing capabilities for fired alerts in Azure Monitor, such as scheduled suppression and at-scale actions management. Following the updated public preview from December 2021, this feature is now generally available.
Check out the documentation: Configure Azure Static Web Apps
Microsoft DDoS protection response guide
DDoS threats have seen a significant rise in frequency lately, and Microsoft stopped numerous large-scale DDoS attacks last year. This guide provides an overview of what Microsoft provides at the platform level, information on recent mitigations, and best practices.
Check out the full article: Microsoft DDoS protection response guide
AzureFunBytes Episode 69 – What’s New In @AzureStaticApps with @simona_cotin and @nthonyChu
AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It’s a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on Microsoft LearnTV and learn more about Azure
Check out the full article: AzureFunBytes Episode 69 – What’s New In @AzureStaticApps with @simona_cotin and @nthonyChu
dotnet / C#
Sharing code between ASP.NET and ASP.NET Core
With the release of .NET 6 there are even more benefits to using ASP.NET Core. But migrating existing code to ASP.NET Core often sounds like a big investment. Today we’ll share how you can accelerate the migration to ASP.NET Core. There are minor changes you can make today that can make it easier to migrate to ASP.NET Core tomorrow.
Check out the full article: Sharing code between ASP.NET and ASP.NET Core
.NET Frontend Days 2022 recordings
All videos from .NET Frontend Day 2022 are now uploaded as individual videos on YouTube. You find them in the playlist below, and don't forget to subscribe to the channel!
Check out the link: .NET Frontend Days 2022 recordings
Asynchronous Messaging and Eventing Resources
Generally, if you are building software that requires more than one computer to do its job, you should know about asynchronous messaging concepts.
"Asynchronous" means here: Your application sends a message or event and then carries on doing something else. It does not sit around waiting for an outcome.
For many developers, that is the first giant mental hurdle, since we've all been raised on "imperative" programming models. You make a function call and cause some work to happen and only once that work has been reported as done (or failed) your own code continues with its work.
Check out the resource: Sharing code between ASP.NET and ASP.NET Core
Enabling High-Quality Code in .NET
When we talk about code quality, we can think of different aspects of it. We mainly refer to the attributes and characteristics of code. While there is no widely adopted definition of high-quality code, we know some of the characteristics of good code.
Check out the full article: Enabling High-Quality Code in .NET
Differences Between != And Is Not Operators in C#
In this article, we are going to explore the differences between != and Is Not operators in C#.
Check out the full article: Differences Between != And Is Not Operators in C#
React
10 React Antipatterns to Avoid - Code This, Not That!
React is a minimal on the surface, but it’s actually a highly complex JavaScript UI library with many potential pitfalls. In this tutorial, we look at 10 antipatterns in React, along with tips and tricks to improve our code.
Check out the video: 10 React Antipatterns to Avoid - Code This, Not That!
Should Frontend Devs Care About Performance??
You see, performance is one of those subjects that programmers love to obsess about. They use it as a Badge of Honor. They see that you've used JavaScript's native .sort()
method, then they turn up their nose and say something like, "Well, you know... That uses O(n log(n))
complexity." Then they walk away with a smug smirk on their face, as though they've banished your code to the dustbin of Failed Algorithms.
Check out the full article: Should Frontend Devs Care About Performance??
Higher-Order Components in React Hooks era
Is it true that React hooks made higher-order components obsolete? And the only use case for those is to be a remnant of the past in some existential legacy corners of our apps? And what is a higher-order component anyway? Why did we need them in the first place?
Answering those questions and building a case that higher-order components are still useful even in modern apps for certain types of tasks.
Check out the full article: Higher-Order Components in React Hooks era
Evolution of a React folder structure and why to group by features right away
React folder structures... a topic that has been around for ages. But still React’s unopinionated approach frequently raises questions: “Where should I put my files? How should I organize my code?” Honestly, even with years of experience, I found myself asking the same questions.
Check out the full article: Evolution of a React folder structure and why to group by features right away
Software Architecture
How Google, Twitter, and Spotify built a culture of documentation
Many technical problems ultimately turn out to be people problems, and a lack of good documentation is no exception. Writing and maintaining documentation is a habit that needs to be encouraged and nurtured. The unfortunate truth is that no amount of tooling is going to help without a culture of documentation. Today we’ll look at how 3 high performance engineering companies, Google, Twitter, and Spotify, handle their technical documentation and built a culture of documentation.
Check out the full article: How Google, Twitter, and Spotify built a culture of documentation
How to create technical conceptual diagrams
If you are a front-end developer and visual learner who is interested in learning what goes into making conceptual diagrams, then this article is for you.
Conceptual diagrams are a visual way to show how things work. These diagrams help us simplify and make sense of technical ideas of the front-end ecosystem.
When I started my diagramming journey back in 2015, I didn’t know I was creating conceptual diagrams! Being a visual learner, diagrams were simply a tool for me to capture and organize what I was learning - or I should say ‘not learning’ - because I could easily see the knowledge gaps in my learning.
Check out the full article: How to create technical conceptual diagrams
The Future of Micro-Frontends
Between the end of 2021 and the early weeks of 2022, I spent some time looking at where the micro-frontends journey has arrived so far.
I analyzed the different challenges where teams are struggling with, the anti-patterns that cause coupling in the long term, and what are the recurrent patterns used for solving them.
We discovered that micro-frontends enabled teams to work independently and contribute to medium-large size applications, iteratively evolving our applications and reducing the blast radio of potential issues.
Check out the full article: The Future of Micro-Frontends
Server Side Rendering at Scale
At Yelp, we use Server Side Rendering (SSR) to improve the performance of our React-based frontend pages. After a string of production incidents in early 2021, we realized our existing SSR system was failing to scale as we migrated more pages from Python-based templates to React. Throughout the rest of the year, we worked to re-architect our SSR system in a way that increased stability, reduced costs, and improved observability for feature teams.
Check out the full article: Server Side Rendering at Scale