TL; DR:
I’ll be hosting a live Ask Me Anything stream on Monday, March 25th at 9:30 PM PST on YouTube focusing on topics from this newsletter
Building things is one of the best ways to learn, get experience, and feed your resume
Learning in public can be a great way to test your understanding and network
Quantitative impact STANDS OUT
I’m launching video interviews with software engineers on my YouTube channel! Interested in chatting about C# or software engineering?
This newsletter issue is now archived on my website. You can read it here with a paid subscription:
https://www.devleader.ca/2024/03/23/apply-interview-solve-problems-dev-leader-weekly-36/
What’s In This Issue
It's Ridiculously Simple – Insert Documents Into MongoDB With C#!
ConstructorInfo – How To Make Reflection in DotNet Faster for Instantiation
Autofac In ASP NET Core – How To Avoid This Debugging Nightmare
MudBlazor List Items: How To Create Awesome Blazor List Views
Get a paid subscription! This offer for all of March gets you 40% off from a 12-month subscription!
Join me and other software engineers in the private Discord community!
All of my weekly vlogs are now on YouTube which are accessible via membership!
My “Deep Dive: C#” course on Dometrain has launched!
Weekly Recap
AMA – Principal Software Engineering Manager at Microsoft
Submitted questions that I discuss (plus more!):
What is a software architect?
As a programmer, should I aspire to be an architect?
How much and what kind of influence does a senior engineer have vs an architect?
How do I get an offer at Microsoft? We want the secrets!
How do I build my network to aid in job searches?
Do you believe “One becomes a good programmer when their old code needs to be modified to support new needs instead of just moving on to new projects”?
Related to the previous, is this why you focus so much on refactoring?
Avoid Debugging This Autofac Headache in ASP NET Core
Dependency injection is incredibly valuable for us when working with our ASP NET Core applications. By default, we get access to the IServiceCollection interface to be able to configure our dependencies, but I like using Autofac for dependency injection instead.
The setup for Autofac in ASP NET Core is very simple, but there’s a mistake that I make every single time. In this video, I’ll walk you through what that mistake is and the easy solution for it. You’ll be using Autofac and know how to use dependency injection in ASP.NET Core in no time at all!
Dependency Injection WRECKED By Blazor Render Mode
As I spend more time in Blazor, I am playing with MudBlazor and learning about Blazor render modes. I still have a lot to learn about Blazor WebAssembly and Blazor Server Side Rendering — and this video is a perfect example of that.
I was working with MudBlazor to create my Blazor application’s user interface. However, I was running into some Blazor dependency injection issues all because my Blazor render mode was doing something I wasn’t expecting!
It’s Ridiculously Simple – Insert Documents Into MongoDB With C#!
We’re all so accustomed to working with different SQL databases… But have you spent much time working with document databases? In my development more recently, I’ve been trying to make sure I spend some time working with MongoDB in C# so that I have more exposure to these different tech stacks.
In this MongoDB tutorial, I’ll show you just how easy it is to get writing records into your document store. You’ll see how to declare your types on the fly or use records to keep a more consistent schema when using MongoDB with CSharp!
ConstructorInfo – How To Make Reflection in DotNet Faster for Instantiation
Using reflection in DotNet to create object instances? See the performance of ConstructorInfo compared to other methods provided by reflection in DotNet!
7 C# Project Ideas For Beginners To Escape Tutorial Hell
Check out these 7 C# project ideas for beginners to help escape from tutorial hell! These C# project ideas will give you hands-on practice writing software.
Autofac In ASP NET Core – How To Avoid This Debugging Nightmare
Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.
MudBlazor List Items: How To Create Awesome Blazor List Views
See how you can use MudBlazor list items to make awesome GUIs! Properly leverage the MustList and MudListItem controls to get custom user interfaces!
Blazor Render Mode – How To Avoid Dependency Injection Woes
Running into issues with your Blazor render mode? In my case, I didn’t even know it was breaking my dependency injection AND my event handlers. My error though!
MongoDB in C#: Simplified Guide For Inserting Data
This article explains the basics of inserting documents into MongoDB in C#. See code examples of InsertOne, InsertMany, and their async counterparts.
Hey there!
I’m a Principal Software Engineering Manager at Microsoft with 20+ years of programming, 14 years of developing software professionally, and over a decade of experience managing teams. I’d love to share my experiences with you!
My newsletter archive requires a paid-for subscription. This will get you:
Access to EVERY newsletter in the newsletter archive
An ad-free experience on my website
You might also be interested in:
My private Discord community. This is subscription-based with a free week trial, so there's nothing to lose!
All of my weekly vlogs are now on YouTube which are accessible via membership!
Check the site membership for the latest details!
What’s In Each Newsletter?
I will keep my newsletter FREE because I believe in sharing as much free content as I possibly can. I try to include the following in every issue, and I hope to keep evolving the content format so that it keeps you engaged:
A newsletter-exclusive article
AND/OR an early access to YouTube videos before they launch
Review of content shared throughout the week
Sneak previews of upcoming things I’m working on before they launch
Don’t sweat it! If you want to stay up to date with all of the latest newsletters completely for FREE, just ensure you’re subscribed!
Where Can I See Examples For Free?
If you head back over to the landing page for my newsletter, you’ll be able to see the pinned newsletters that are still available. Check them out here.
If you’d like access to my other free content:
Check out hundreds of free articles over at my website:
https://www.devleader.caCheck out the hundreds of free videos over on my channel:
https://youtube.com/@devleaderFollow me on LinkedIn, Twitter, or search for me on any social media platform. Yes, even Pinterest.
Great advices for beginners. I would recommend coding as a habit, build something from scratch, build in public, learn in public.