Open source

Halide

ASP.NET/MVC development made easier

Many developers create their own reusable utility classes. Halide is our version of that, free for you to use. It was first written in 2003 and has been completely refactored and streamlined to support CLR 4.5 in this latest release. We're using it on this site.

Some of the current benefits of Halide:

Extension methods. We've added lots of handy methods for base types, like strings, dates, and numerics. They're all little timesavers that we've used on real projects over the years. For example, there's a method to format a string using AP (Associated Press) title case, a better Trim() function, deep object copying, strip HTML, number formatters, and more.

Fragment caching. caching parts of pages and reusable data is key to a high performing website. Halide has helpers for using, clearing, and expiring fragment cache items.

Client-side helpers. Cookie handling is easier with these helper methods. We also include an extension method for the Url.Content method so that included CSS and JavaScript assets can have dynamic cache busters and can be auto-minified.

Compression tools. If you need to GZip compress/decompress data, these helpers will make it easy.

Temporal helpers. The temporal class provides easy ways to do complex date/time comparisons across minutes, weeks, quarters, and more. You can also easily format dates and times with simple commands.

Security and encryption. Using AES256 encryption and decryption becomes a single line of code with the helpers in this class.

Ready to check it out?

Need help using this?

If you need help with this or any of our other open source projects, Fynydd can consult with you to get your project moving in the right direction. Just let us know by visiting our contact page where you can reach out or talk to us directly on our free slack community.