-
New website!
This blog is migrating to my new website at www.rigutins.dev, all new content will be added there. Check it out!
-
Common Practices In .NET Project Structure

The topic of properly organizing the code inside a project is often a critical issue for developers who are just starting to learn .NET. Often in the early development stages too much time is wasted trying to figure out where a new class should be created, or when a new project should be added to a solution, or…
-
Why throw an ArgumentNullException in C#, and an easier way to validate arguments

A common practice in C# is to add a series of validation checks at the beginning of a method, and to throw exceptions like ArgumentException or ArgumentNullException to stop the execution if any of the arguments is invalid. Why should you bloat your code with all those extra lines, and not let your method fail…
-
Creating a .NET scheduled Cloud Run job (preview)

A new and improved version of this article is available on my new website! Google Cloud Run jobs have just been announced at Google I/O 2022. This looks like a nice improvement on an already interesting product! Until now Cloud Run has offered services, with the possibility to run serverless containers that listen for HTTP…
-
Sharing private VS Code extensions (VSIX) with Azure Artifacts

A new and improved version of this article is available now at my new website, check it out! The VS Code Extension Marketplace is the place where you can publish your high-quality custom extensions once you’ve finished building them and you’re ready to share them with the world. There are some situations, however, where you…
-
Creating extensions to improve developer experience on VS Code for C# projects: sample extension walkthrough

If you’re building C# projects, there are good chances that you’re spending most of your time in Visual Studio. Surely it is a fundamental and productive tool, but there may be some situations where you may need to use a different option. Maybe you’re working on simpler tasks that require a lighter editor and not…
-
Microsoft AZ-500 study guide: materials, strategies and tips

A few days ago I passed the AZ-500 Exam: Microsoft Azure Security Technologies and earned the Azure Security Engineer Associate certification. Although my daily job as a developer doesn’t usually require me to manage too many security aspects, this exam has been the perfect occasion to explore Azure from a different point of view, getting…
-
Running a .NET application as a scheduled job on GCP with Minimal APIs and Cloud Run
A new and improved version of this article is available on my new website! When developing cloud applications, you may encounter some situations that require the execution of some code on a schedule. This may be, for example, a task that regularly processes data, or that upload some files, or that provisions or deletes resources,…