OnaCat Technologies

Sample code – 50 ways to list your files

by on Jun.29, 2010, under General, Programming

OK, so it’s not 50, but it’s still a lot.  My idea was simple.  Create a small use case (in this case, create a file listing),  and see how many different ways I can implement it using .net code.  The first two were easy, good ol’ windows forms using c# and vb.net.  Well then, why not WPF?  Well, as long as we’re getting into the Microsoft foundation series, how about a WCF client/server version?  And as long as we’re talking client/server why not Silverlight?  Great, but all these technologies are so 2009.  So let’s add an implementation using Microsoft’s Managed Extensibility Foundation (MEF) and the new code contracts…cool!  Along the way I kept refactoring the code, but it still encompasses 17 projects.  I’ll probably add an RIA Services version at some point as well, which should bring us up to a round 20 projects.

Just to list the files in a directory.   Check out the code here: FileListing

:, , ,

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...