Hugoware.net

Current Projects

jLinq

It's like LINQ for your JSON data!

CobaltMVC

jQuery style templating for ASP.NET MVC View!

CustomWebmail.com

Create a custom Outlook Web Access login page online!

Check out what I'm currently working on!
Show All
June 29, 2010

Anonymous Types As Object Templates

I’ve got a bit of an addiction to intellisense. Dynamic types are interesting but I still prefer being able to see a nice neat list of properties on each of my objects. Since anonymous types are ‘real’ classes then you can actually create them at runtime. This means you can use them as templates for ...

Sunday, August 29, 2010 at 10:19 PM

June 25, 2010

Using jLinq With JSON APIs

I’ve had a few e-mails asking how to perform a query on JSON data from an external source, for example Flickr Services. This post we will go over accessing Flickr data but also performing a secondary query on the information returned. You can download a .zip file at the end of the post with the ...

Wednesday, August 25, 2010 at 11:12 PM

June 22, 2010

Null Instance Extension Methods

Checking for null can be time consuming and add a lot of extra noise to the code you write. In some ways it can reduce the readability of your code and obscure the purpose of your functions. For example, check out all of the null checks required for this bit of code. public static int ...

Sunday, August 22, 2010 at 7:14 PM

June 19, 2010

Installing CobaltMVC

Got an interesting piece of anonymous feedback today reminding me of something rather obvious… How exactly do you install CobaltMVC? Oh yeah… That would be handy information… and it probably should have already been released. That said, lets get right to it. Download CobaltMVC The new CobaltMVC site is still in beta (like the rest ...

Thursday, August 19, 2010 at 10:09 PM

June 18, 2010

jLinq Demo Site

If you’ve seen the early versions of jLinq then you know there is a dedicated online section to test out the project before you download it. Well the new jLinq demo is now online with a shiny new logo and 25 code samples to show how to perform common (and not so common) tasks. Of ...

Wednesday, August 18, 2010 at 9:02 PM

June 11, 2010

3 Things To Know Before Using jLinq

Since I released the beta code for the new jLinq I’ve had several of the same questions show up. Here are some answers to help you get started. Where Is ‘Manual’, Query Commands Are ‘Auto-pilot’ I’ve had a few questions where people start trying to use the where command and find that it isn’t solving ...

Wednesday, August 11, 2010 at 7:54 PM

June 8, 2010

jLinq Reloaded

[jLinq Beta is now online - go check it out!] My first ‘open source’ project I ever released was a Javascript library that allowed you perform LINQ style queries with arrays of objects. The library supported operators, extension methods and even memorized commands to reduce typing. Overall, it did a good job of making it ...

Sunday, August 08, 2010 at 6:53 PM

June 4, 2010

More Control When Parsing Values

As much as you might try, sooner or later you’re going to wind up parsing string values and converting them into their correct type. It is… inevitable. If you’re going for clarity then this only takes a couple lines of code to accomplish. For example… int value = default(int); int.TryParse("44", out value); No big deal, ...

Wednesday, August 04, 2010 at 11:29 PM

June 4, 2010

jLinq Performance Analyzed

After writing this post I went back and rewrote jLinq from the ground up to improve performance. So here is something interesting. Another developer named Dan Stocker has been working on a Javascript sorting library named jOrder and used jLinq for comparing benchmarks. The results are interesting to say the least. Dan has a good ...

Wednesday, August 04, 2010 at 6:43 AM

June 28, 2010

Cobalt Progress

CobaltMVC is coming along really well. I’ve been dog fooding it myself for the past few weeks in some projects and it fits nicely. I’ve discovered (and fixed) a lot of flaws and bugs along the way, so overall it has been a good experience. I started a new site to be the dedicated home ...

Wednesday, July 28, 2010 at 5:41 PM