Apr 14 2014
Creating a Dictionary<T,V> which doesn't throw a KeyNotFoundException
I find it interesting when there are certain tasks in one language which feel simple, fluid, and elegant to write, when in another language they feel sloppy and wrong. This happens every so often and I try to think of a clean way to solve such a problem.
Mar 10 2014
A Better Query Language: BQL Language Specification
After working on a couple of relatively large projects which use SQL quite a bit, I have slipped into a bit of a love-hate relationship with SQL. SQL has lot's of beautiful features. SQL is already a fairly high-order language; a tremendous amount of...
Mar 5 2014
Handling Paged Datasets in Knockout.js
Knockout.js provides the plumbing to create very powerful web applications, but leaves most of the logic up to the developer. That's great, and I don't think it should be any different, but developers need to look out for common use case scenarios...
Apr 23 2013
Lukemapper: A Super Fast ORM for Lucene.net
Although Lucene is schema-less, in practice there is often an implicit schema in a Document which corresponds to a class or object in your code-base. Although you can easily use ORMs like Dapper or EntityFramework to map data from an RDBMS to...
Feb 11 2013
Building an Image Uploading & Resizing Framework in ASP.Net
Images are really important for us at Tech.Pro. When writing tutorials, it is important for you to quickly be able to insert images into your document, resize them, etc. Often times, you may want to allow users to upload an image, and then generate...
Feb 11 2013
Generation RSS Feed Actions in ASP.NET MVC
Generally when creating web applications, it is common to generate RSS Feeds that correspond to various pages of the application. The .NET Framework generally provides pretty decent tools to write XML like the `XmlTextWriter`, but RSS...
Feb 4 2013
How to write Maintainable jQuery Applications
These days it's hard to call yourself a web developer if you do not have at least *some* jQuery experience. jQuery is very helpful for many many things such as browser compatibility, ajax calls, DOM manipulation, utility, and more. It helps us...
Dec 18 2012
Extending Markdown/MarkdownSharp for jsFiddle Embedding
I'm currently working on a project which will be a developer/tech community. I am building out a framework for users to post tutorials and general blog-type postings, and decided to use Markdown syntax on all user-created content.
Dec 2 2012
Inline CSS Styles for HTML Emails with an HttpModule
HTML-based emails are one of those evil things in the life of a web-developer that we would all rather never have to do... but alas, it needs to be done. One can do this in a variety of ways, but it is fairly common to use...
Sep 27 2012