---
title: "Ryan Phillips (@ryanphillips) | Hashnode"
description: "I've been developing software for over a decade and I want to help other devs overcome some of the challenges that come with the job."
url: "https://hashnode.com/@ryanphillips"
---

@ryanphillips

# Ryan Phillips

@ryanphillips · Joined July 2023

### [A New Way to Randomize in .NET 8](https://ryanphillips.hashnode.dev/a-new-way-to-randomize-in-net-8?utm_source=hashnode&utm_medium=feed)

We've all used random numbers in C# for various reasons. It has never been difficult to get a random number and use it, we've all probably written something like this: public int GetRandomNumber(int max) { var random = new Random(); return ra...

2 min read · [ryanphillips.hashnode.dev](https://ryanphillips.hashnode.dev/a-new-way-to-randomize-in-net-8?utm_source=hashnode&utm_medium=feed)

[Jan 3, 2024](https://hashnode.com/posts/a-new-way-to-randomize-in-net-8/6595a8004b1f5affc97d080c)

### [How to use JavaScript in Blazor](https://ryanphillips.hashnode.dev/how-to-use-javascript-in-blazor?utm_source=hashnode&utm_medium=feed)

Some things are simply not possible to do in Blazor without JavaScript. If you need to access things like local storage or make some kinds of interactivity possible we will need to make JS calls. So how do we call JS from C#? To make this happen we w...

3 min read · [ryanphillips.hashnode.dev](https://ryanphillips.hashnode.dev/how-to-use-javascript-in-blazor?utm_source=hashnode&utm_medium=feed)

[Aug 15, 2023](https://hashnode.com/posts/how-to-use-javascript-in-blazor/64dae4fb01b54bd975b09a42)

### [Using Cascading Values in Blazor](https://ryanphillips.hashnode.dev/using-cascading-values-in-blazor?utm_source=hashnode&utm_medium=feed)

There are several instances where it could be cumbersome to pass the same value down to every child component. Think of something like a theme that every component in the entire app might use. It would become painful to pass the theme again and again...

4 min read · [ryanphillips.hashnode.dev](https://ryanphillips.hashnode.dev/using-cascading-values-in-blazor?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2023](https://hashnode.com/posts/using-cascading-values-in-blazor/64c1df3ec449f9a0e684c4d2)

### [Level Up Your Blazor Components with Templates](https://ryanphillips.hashnode.dev/level-up-your-blazor-components-with-templates?utm_source=hashnode&utm_medium=feed)

In my post about creating Blazor components, we went over how to create a simple Button component: <button @onclick="OnClick" @attributes="Attributes"> @Text </button> @code { \[Parameter\] public string Text { get; set; } = "Click me"; ...

3 min read · [ryanphillips.hashnode.dev](https://ryanphillips.hashnode.dev/level-up-your-blazor-components-with-templates?utm_source=hashnode&utm_medium=feed)

[Jul 21, 2023](https://hashnode.com/posts/level-up-your-blazor-components-with-templates/64ba0c1ccd4d7d562938019d)

### [Make Your Blazor Components More Flexible With CaptureUnmatchedValues](https://ryanphillips.hashnode.dev/make-your-blazor-components-more-flexible-with-captureunmatchedvalues?utm_source=hashnode&utm_medium=feed)

You may have noticed when creating your Blazor components that if you try to use an attribute that you don't have a parameter for it fails to build. It can be annoying to have to add attributes for every little thing. That's where CaptureUnmatchedVal...

1 min read · [ryanphillips.hashnode.dev](https://ryanphillips.hashnode.dev/make-your-blazor-components-more-flexible-with-captureunmatchedvalues?utm_source=hashnode&utm_medium=feed)

[Jul 19, 2023](https://hashnode.com/posts/make-your-blazor-components-more-flexible-with-captureunmatchedvalues/64b76c623997e2a809beec74)
