Recent Posts

11
Comments

One-Line C# #1 : Remove Whitespace from a string by zowens

Thought I'd post a quick extension method that I made today. Hope it helps someone. public static string RemoveWhitespace( this string str) { try { return new Regex( @"\s*" ).Replace(str, string .Empty); } catch (Exception) { return str; } }
Filed under: , , ,
9
Comments

Misuse of Delegates??? by zowens

In the evolution of the ideas presented in Java, C# has provided the idea of method delegation and delegates, which I'm sure you are well aware of. In C# 3.0 with the introduction of the LINQ, Lambdas were born. With Lambdas, we are able to provide an...
Filed under: , , ,
8
Comments

ASP.NET MVC CSS Sprite by zowens

A month ago, I wrote about my technique to output a CSS sprite for ASP.NET . Granted, I made a big mistake. I put WAY too much bloat into the post. Not a K.I.S.S. moment. I have reworked my CSS sprite technique to be unique to MVC. I've used the most...
1
Comments

Source Code conversion as part of a Build Process by zowens

If you're like me, you want a particular piece of code in your particular language. For example, a lot of people want the Club Starter Kit 2.0, 3.0 in C# since it has been written in VB. Me being the lazy open source developer that doesn't get paid :...
1
Comments

High Interface diet by zowens

As long as I'm on the coding conventions track (as many of users have commented on my last post ), I'll talk about a small coding convention I am trying to do. I feel more compelled to push an interface into a property, method, or any declaration rather...
20
Comments

Coding Pet Peeves by zowens

Any experienced coder has pet peeves when it comes to reading other people's code or writing code. It might be that you don't like regions or that every method should have comments. But here are my two biggest pet peeves when it comes to C#. Var abuse...
Filed under: , ,
5
Comments

CSS Sprite for ASP.NET by zowens

CSS sprites are becoming popular as a way to increase application performance by eliminating HTTP requests by the client to the web server. It also serves as a path for better cache management. I will need to go through a bit of background before we start...
13
Comments

Improve ASP.NET Performance - CSSmin by zowens

If you follow Douglas Crockford's wor k, you might know about JSMin , a bit of code written for various languages to optimize JavaScript to make it smaller. One thing it does is makes everything go to one line, eliminating some of the space by removing...
8
Comments

Poll: JavaScript library for an eCommerce site? by zowens

Click Here to vote Here are your options: jQuery YUI Prototype/Scriptaculous MooTools Ext (using jQuery as backend) Ext (using YUI as backend) Ext (using Ext base) Happy voting!
33
Comments

Future of ClubStarterKit project by zowens

It's been almost a year since I started the ClubStarterKit project as an open source project up on Codeplex . Since then, we've released Version 2, which added functionality to the original starter kit, and the first Beta of Version 3, which tried to...
More Posts Next page »