Browse by Tags

All Tags » C# (RSS)
Functional programming isn’t a new concept. There is Scheme, Haskell and a bunch of other really cool languages. But new on the block is F#. F# is Microsoft’s stab at creating a functional programming in the .NET world as a first-class language. Functional...
Posted by zowens | 1 comment(s)
Wow, what a year. Not exactly what I'd expected. Before I dive into where we are now, let me preface this post by saying I have NOT forgotten ClubStarterKit! Although I was not the original author, I feel like it's my baby. I can't just forget about it...
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; } }
Posted by zowens | 12 comment(s)
Filed under: , , ,
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...
Posted by zowens | 9 comment(s)
Filed under: , , ,
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...
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 :...
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...
Posted by zowens | 21 comment(s)
Filed under: , ,
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...
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...
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!
More Posts Next page »