Note: As of Oct '23, all packages have the source code updated to .NET7. The Nuget packages will be updated as I get around to releasing them. If you are still using .NET6, you'll need to upgrade or stay on the older versions of my packages
I seem to keep adding the same utility classes to every project I work on, resulting in (almost) identical code spread across different projects.
I used to get around this by maintaining the utilities in a separate project, and referencing the DLL. However, apart from being soooo 1990s, it also has problems like VS locking the DLL, preventing you from building the utility project and so on.
So, I decided to take a leap into the modern world, and try publishing some Nuget packages. This is the first time I've done this, so goodness knows what's going to happen.
These are offered as-is, with no guarantee that they will work for you. I'm still working on them, and cannot offer much in the way of support, although I'd be very happy to receive any feedback you have.
I know, I really ought to document them. I probably will at some point, but haven't had time yet.
Some useful utility classes and methods I've developed over the past few years. I have only put in a few so far, and the test project is woefully empty less desolate than it used to be, but hopefully that will change over time.
A Nuget package is available for this project.
You can find more detail on the project page.
I have blogged about some Blazor components I've been writing. This project contains the source for those components.
A Nuget package is available for this project.
You can find more detail on the project page.
The source code for a sample web project that uses the Blazor components. You can see a live version of this sample, or browse the source code.
Some Blazor components for us with the rather excellent LanguageExt Nuget package.
A Nuget package is available for this project.
See the project page for more details.
Random thoughts and notes that are sometimes useful, and sometimes related to these components can be found on my blog.
Some of the more important issues that need addressing...
- The Pixata.Blazor project should be split into two, one that doesn't rely on Telerik, and one that does. That way anyone who wants to use most of the compoents, but doesn't have a licence for Telerik still can
- The form components in the Blazor project need a common base class pulling out, as they are all almost identical
- Those form components also need to use the built-in Blazor form components, not the HTML form elements