![Build JSON tree of a directory structure](https://www.coderschmoder.com/wp-content/uploads/2024/01/Build-JSON-tree-of-a-directory-structure-768x1152.png)
Learn how to traverse a given directory path and its subdirectories in C#. Then, build a JSON string that represents the tree structure, and return that value.
![How to Send Http Patch Request in C# in Blazor](https://www.coderschmoder.com/wp-content/uploads/2022/09/How-to-Send-Http-Patch-Request-in-C-Pin-768x1152.jpg)
This is a quick tip on how to send an HTTP PATCH request in C# and Blazor using HttpClient. I also show how to send the request via 3rd-party client.
![5-ways-to-pass-data-between-blazor-components-Pin](https://www.coderschmoder.com/wp-content/uploads/2022/08/5-ways-to-pass-data-between-blazor-components-Pin-2-768x1152.jpg)
Learn five ways of passing data between components in Blazor - route parameters, querystring, state container object, component and cascading parameters.
![How to Reload Changes in App Settings Without Website Restart](https://www.coderschmoder.com/wp-content/uploads/2022/04/Hoe-to-Reload-Changes-in-App-Settings-Without-Website-Restart-Pin-768x1152.jpg)
Learn how to reload configuration changes made in appsettings.json without restarting website, using Options pattern, specifically, IOptionsSnapshot.
![Read-Config-Settings-into-Blazor-Pin](https://www.coderschmoder.com/wp-content/uploads/2022/03/Read-Config-Settings-into-Blazor-Pin-1-768x1152.jpg)
Access and read appsettings.json and custom config files into your Blazor applications. I also explain why we use HttpClient for accessing custom config.
![How to Implement Http Patch in ASP.NET Core Web API](https://www.coderschmoder.com/wp-content/uploads/2022/03/How-to-Implement-Http-Patch-in-ASP-Pin-1-768x1152.jpg)
Learn how to implement HTTP PATCH method in C# and ASP.NET Web API using JsonPatch library. The Patch method allows client to send partial updates.
![](https://www.coderschmoder.com/wp-content/uploads/2021/08/doors-ge268796ce_1280-768x410.jpg)
A short tutorial on getting random element from a List in C#. This application uses Random and List objects, and was implemented with .NET 6.0.