OnaCat Technologies

Archive for June, 2010

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

(continue reading…)

Leave a Comment :, , , more...

Welcome to Onacat.net

by on Jun.29, 2010, under General

Onacat.net is my public playground .  I’m interested in everything .NET at the moment, but over the past 35 years of mucking about with computers, I’ve worked with lots of different technologies and industries, so this too may change as the world turns.  I’ve been working in .NET since before it’s official release.  I attended one of Microsoft’s mass events up in Cupertino and was hooked.

I’m also interested in some Apple development, mostly dealing with the iPad and the iPhone, but haven’t really had a chance to explore these yet.  So stay tuned and watch my experiments.

Leave a Comment more...

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...