gavinjoyce

Stories kicked by gavinjoyce

Extension Method to Imitate Times() in Ruby(dpatrickcaldwell.blogspot.com)

submitted by tncbbthositgtncbbthositg(266) 3 years ago

The title says it all. This extension method allows you to pass an action to int.times and have the action executed than number of times. Ruby is really cool and extension methods are also really cool. Using extension methods to imitate the flexibility and fluency of ruby can make life so much easier. read more...

add a comment |category: |Views: 11

tags: another

Practical .NET Unit Testing – Free paper released(ytechie.com)

submitted by SuperJasonSuperJason(2740) 3 years ago

A free unit testing paper that covers why you should write unit tests, the mechanics of unit testing, common testing strategies, designing for testability, and advanced testing techniques. It's an ongoing project, but it's complete enough to hopefully start getting early feedback and suggestions! read more...

4 comments |category: |Views: 394

tags: another

Regex Hero to the Rescue(regexhero.com)

submitted by BucketSoftBucketSoft(324) 3 years ago

From BucketSoft comes an online Silverlight regular expression tool utilizing the .NET regular expression engine. Features instantaneous highlighting of regular expression matches. It's a great way to test iterations of your .NET regular expressions quickly. read more...

7 comments |category: |Views: 318

tags: another

Quick Tool Review - LINQPad(codertools.wordpress.com)

submitted by iNukemiNukem(40) 3 years ago

A quick review of an excellent LINQ teaching/working tool to add to your arsenal read more...

add a comment |category: |Views: 66

tags: another

Implementing a simple genetic algorithm(improve.dk)

submitted by orcaorca(820) 3 years ago

In this blog post I'll give a quick introduction to what genetic algorithms are and what they can be used for. We'll implement a genetic algorithm that attempts to guess an RGB color by evolving upon a random set of initial guesses, until it at some point evolves into the correct RGB value. read more...

add a comment |category: |Views: 499

tags: another

NHibernate Unit Testing(ayende.com)

submitted by andrea.balducciandrea.balducci(60) 3 years ago

Good introduction to unit testing with NHibernate and SqlLite from Ayende. read more...

add a comment |category: |Views: 333

tags: another

How I handle JSON dates returned by ASP.NET AJAX(encosia.com)

submitted by gt1329agt1329a(7849) 3 years ago

The problem of how to handle dates in JSON is one of the more troublesome issues that may arise when directly calling ASP.NET AJAX web services and page methods.. Since the question of how I handle this problem is something asked often in emails and in comments on other posts here, I want to address the topic with its own post. read more...

add a comment |category: |Views: 193

tags: another

Creating Visual Studio Templates from your Web Projects(west-wind.com)

submitted by rstrahlrstrahl(7226) 3 years ago

Visual Studio has the nice capability to create project templates from existing projects and with a little bit of work it's real easy to create a project environment that's ready to roll without having to dig for related components first. This applies to Web projects more than anything for me as I have a fair bit of generic utility code that is project specific and needs to be added to just about all projects. Templates make this real quick and easy. Here's how. read more...

add a comment |category: |Views: 143

tags: another

Singletons vs. Static Classes(leedumond.com)

submitted by leedumondleedumond(2144) 3 years ago

My last "versus" post seemed to elicit a good number of interesting responses. Today, I'm musing about Singletons vs. Static Classes -- two constructs which appear to accomplish the same task. Or do they? read more...

add a comment |category: |Views: 745

tags: another

IRouteHandler in ASP.NET MVC(nayyeri.net)

submitted by simonechsimonech(10.1k) 3 years ago

Keyvan explains how to write a RouteHandler that checks for banned IPs and blocks any further processing read more...

add a comment |category: |Views: 72

tags: another

My New Favorite Tool: OneNote(aspectdatasystems.com)

submitted by BoydskiBoydski(101) 3 years ago

Review of Microsoft OneNote 2007 relating to the developer. read more...

3 comments |category: |Views: 633

tags: another

Static Method Interception in .NET with C# and Mono.Cecil(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 3 years ago

Interested in Mono.Cecil? A very short introduction to a very cool and powerful tool. read more...

add a comment |category: |Views: 402

tags: another

Model Binding(odetocode.com)

submitted by trimalchiotrimalchio(425) 3 years ago

dddd read more...

2 comments |category: |Views: 30

tags: another

No bandwidth MSDN: Reflector(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 1 month ago

How you can use Reflector to browse the insides of the .NET framework classes and why choosing Reflector over MSDN will make you a better developer. read more...

add a comment |category: |Views: 542

tags: another

JSON Serialization of a DataReader(west-wind.com)

submitted by rstrahlrstrahl(7226) 3 years, 1 month ago

On a few occasions recently I've ended up with DataReaders in my AJAX services. The data comes from low level componets with data from APIs over which I have no control and it feeds only feeds data from DataReaders. Rather than converting these readers into more complex data structures it can be more efficient to directly turn these DataReaders into JSON. Here are a couple of ways to do this using a custom serializer and a JavaScriptConverter for JavaScriptSerializer. read more...

add a comment |category: |Views: 517

tags: another

Learning resources for .NET 4.0 new features(bogdanbrinzarea.wordpress.com)

submitted by mureshanmureshan(295) 3 years, 1 month ago

A comprehensive list of articles for .NET 4.0 new features read more...

add a comment |category: |Views: 670

tags: another