.NET Tools

.NET Annotated Monthly | March 2023

Did you know? There is a difference between the terms “argument” and “parameter”, despite everyone using them interchangeably. As is explained in this Stack Overflow question: “A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method’s parameters.” Now you know what you can have an argument about with fellow developers!

.NET Annotated March 2023 Logo

.NET news

Featured content 

We’d like to thank Stefan Pölz for curating this month’s featured content! He is an international speaker, JetBrains Community Contributor (.NET), Microsoft MVP (Developer Technologies) and co-organizer of DotNetDevs.at meetups. Stefan tweets as 0x_F0, open sources on GitHub, and codes live on Twitch and YouTube.

Thank you JetBrains for granting me the opportunity to share my current passion: the .NET Compiler Platform. Well, passion is perhaps a bit of an understatement. For me it’s more of a hammer. And I try to make every problem I have look like a nail. Over the last two years I’ve talked a lot about Roslyn in general and Generators in particular, for example at the JetBrains .NET Days Online 2022.

Why am I so excited about Roslyn? Published as NuGet packages, the SDK exposes the Compiler APIs for both C# and Visual Basic. With these at our fingertips, we can write custom extension components, such as Diagnostic Analyzers (report warnings, errors, etc.) and Code Fixers (Alt+Enter code actions), by inspecting the syntax trees and semantic symbols. Additionally, there are the Workspace APIs (handle solutions, projects and documents) that I’m about to explore in my live stream in order to build a standalone .NET tool that facilitates common coding tasks. The Roslyn programming model does take some practice to get used to, but if it has taught me one thing, it’s to use the terms ”parameter” and ”argument” correctly 😉. This deeper understanding of the language carries over to my day job development, where I now more consciously use the latest syntactic sugar and compiler magic.

Certainly not everyone needs to become a compiler engineer. However I still want to encourage you to take a brief peek behind the scenes from time to time. I’m sure it will pay off for you too, one way or another. If you would like to know more about Roslyn, I leave you with some resources and tools to kick-start your journey:

May Roslyn be with you.

Programing tutorials and tips 

.NET tutorials and tips

Related programming tutorials and tips:

  • 7 Resources Every Web Developer Should Know – There’s always some resource lacking for those who make complete small-medium sized websites, be it graphics, placeholder text, or some miniscule CSS issue. So Louëlla Creemers listed where to get those important resources for web devs.
  • SQL Coding Series – Advanced – The SQL Coding Series from Women who Code continues. Tune in for Sneha Saxena 
  • Retrospectives Antipatterns – Does your team have the same argument time and again? Are there certain initiatives in which your team makes no progress and reverts to old ways? Aino Corry writes about how antipatterns can show up in all the wrong places, including the sprint or project retrospective, as well as what to do about them. 
  • How the GitHub Docs team uses GitHub Projects – The “How we do it at…” posts are often the best posts. In this case, Steve Guntrip writes about how GitHub rolls when they use their own product – GitHub Projects.
  • The Ultimate Guide to JavaScript Error Handling – There’s more than you probably ever wanted to know about errors in JS in this post by Craig Buckler.

Here’s some great advice for developers from Bartosz:

And a very helpful programming tip from Jeremy:

Interesting and cool stuff

Chrome knows everything. 

And finally, the latest from JetBrains

Here’s a chance to catch up on JetBrains news that you might have missed:

Check out our .NET Guide! It’s a learning tool with tons of videos, tips, tricks, and info on a variety of .NET related topics.

News & releases

Webinars & recordings

Tutorials & articles

Don’t miss this fantastic offer! CODE Magazine is offering a free subscription to JetBrains customers. Get your copy today!

Sharing is caring! So share content that you find useful with other readers. Don’t keep it to yourself! Send us an email with your suggestions for publication in future newsletters!

Subscribe to .NET Annotated

image description