Click here to Skip to main content
14,271,759 members

Best C# article of February 2010

This competition has ended

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered. The top 50 entries are shown.

14 Feb 2010
OPerttilä
Exploration of the limits of C# - how much it could be pushed to create Fluent APIs or Internal Domain Specific Languages.
24 Feb 2010
C. Groß
The WebBrowser.Document.InvokeScript() method claims to provide a way to interact with JavaScript code inside of a WebBrowser HTML document. Trying to mess around with a third-party JavaScript over which I had no control (meaning: included in an external webpage that I could not alter), however,...
25 Feb 2010
dasblinkenlight
Converting between types in .NET
19 Feb 2010
Ondra Spilka
How to host a WCF HTTPS service with a custom username validator, in IIS.
4 Feb 2010
daylightdj
When using DisplayMember / ValueMember on a ComboBox, this problem often occurs.
15 Feb 2010
Irfan alam
A library for creating a voice and text conferencing application
25 Feb 2010
César de Souza
Kernel principal component analysis in C#
20 Feb 2010
Uwe Keim
Small tool to monitor the clipboard for images and upload them to Twitpic
2 Feb 2010
Sunny Ahuwanya
Set up failover and load balancing support for web applications that make use of the ASP.NET state server
14 Feb 2010
Nicolas Dorier
A design pattern to easily bind or animate properties that do not exist on an element, and which works in both Silverlight and WPF
17 Feb 2010
Pranay Rana
Following is code by which you get time in (HH:SS:MM) formate by passing second as argument public string getFormattedTimeFromSecond(double second) { TimeSpan t = TimeSpan.FromSeconds(second); string formatedTime = string.Format("{0:D2}H:{1:D2}M:{2:D2}S", ...
9 Jul 2011
#realJSOP
Avoid exceptions when setting enumerators from unknown/untrusted sources.
27 Feb 2010
Sandeep Mewara
This is an easy way to clear all input fields in the form.
16 Feb 2010
Steve Psaltis
This post will be the first in a 3 part series of posts where I will explain how I am currently developing WPF MVVM applications in a testable way with little or no code behind.
16 Feb 2010
Rajkumar-Kannan
In this article, we move on and explore topics like Exporting and Importing Virtual Machines.
22 Feb 2010
Colin Eberhardt
Rippling reflection effect with Silverlight 3's WriteableBitmap
17 Feb 2010
Ali BaderEddin
A tool to make it easier to learn C# regular expressions...
19 Feb 2010
jmix90
To display information in your scene, you can use a billboard represented by the MovableText into (M)ogre but sometimes you just want to put some static text somewhere because it's more readable.
8 Mar 2010
Marcelo Ricardo de Oliveira
WCF-enabled multi-player XNA game for the Windows platform.
26 Mar 2010
KenJohnson
1 alternative  
A WPF control for graphing functions, parametric curves, and polar curves.
24 Feb 2010
Daniel Vaughan
A Desktop and Silverlight user action management system, with undo, redo, and repeat. Allowing actions to be monitored, and grouped according to a context (such as a UI control), executed sequentially or in parallel, and even to be rolled back on failure.
26 Feb 2010
MarkLTX
3 alternatives  
When using LINQ to SQL, it can be very useful to see the SQL commands that are generated by your LINQ expressions. Sometimes the results are surprising and you might be able to improve performance by tweaking the LINQ.All you have to do is set the Log property of the DataContext object. ...
31 Mar 2010
Qwertie
A memory-efficient Patricia trie that implements IDictionary and supports the "find nearest key" operation.
1 Mar 2010
Josh Fischer
Give your users quick, visual help without forcing them to leave your app.
27 Apr 2010
Katka Vaughan
Search and play YouTube videos inside a Silverlight 4.0 application! Learn about RIA Services, right-click event handling, themes, and styles.
26 Feb 2010
Gary R. Wheeler
A solution for binding a set of WPF radio buttons to an enumeration value.
23 Feb 2010
Pero Matić
How to automatically enforce and switch between secure (HTTPS/SSL) and non-secure (HTTP/non-SSL) web pages without hard-coding absolute URLs, using SEO friendly redirects.
4 Feb 2010
The Manoj Kumar
A multi-touch simple and compound gesture recognition implementation for Windows 7 in WPF.
2 Feb 2010
logicchild
An article that focuses on Data Parallelism based on the Multi-Core Processor Technology.
28 Mar 2010
John Underhill
A fully featured animated trackbar control
10 Mar 2010
Christ Kennedy
A dictionary with search engine and graphic text display, for a low, low price.
8 Feb 2010
Abhijit Jana
Scrollable Zooming Extension for VS 2010
19 Sep 2013
Danielku15
Give your WinForms Windows a unique look using a unique design
17 Mar 2010
#realJSOP
Tie it all together and not lose your mind in the process
5 Feb 2010
theRobotGeek
Control a Lego NXT robot using multi-touch on Windows 7.
30 Mar 2011
DreamCatcher2k10
1 alternative  
Provides another, simple way to get a tri-state TreeView, ensuring compatibility to all Windows UIs / styles
25 Aug 2012
Don Kackman
A WPF control and FlowDocument to display Trace output in a running application.
23 Feb 2010
John Underhill
A Form skinning library in C#
25 Feb 2010
Sacha Barber
An introduction to ADO.NET Data Services / RIA Services.
16 Feb 2010
Syed Mehroz Alam
How to customize an AutoCompleteBox as a type-ahead ComboBox for Line of Business applications.
18 Dec 2010
#realJSOP
How to get all the events you want - whether you need them or not.
25 Feb 2010
Lee Robie
An Optimized ViewModel Class improves TreeView Update and Efficiency
10 Feb 2010
Jeremy Hutchinson
1 alternative  
Easily add a "Loading" overlay that "grays out" the form and adds a circular progress bar to any form.
3 Feb 2010
Ritzlgrmft
Embed an assembly as a resource, exemplified with Log4Net
24 Feb 2010
Paolo Foti
Use all the design facilities of the DesignSurfaceExt class together with a Toolbox and PropertyGrid classes.
1 Feb 2010
Pete O'Hanlon
Providing Undo/Redo across VMs (part 1 - simple properties)
18 Dec 2010
#realJSOP
Use the demo application (from Part 1) to observe events posted when creating files in the watched folder
21 Sep 2014
slelong
A USB library to detect USB devices, and manage Attach and Detach events

Current Participants

Those with articles that match the contest criteria are automatically entered.

#realJSOP
Software Developer (Senior) Paddedwall Software
United States United States
I've been paid as a programmer since 1982 with experience in Pascal, and C++ (both self-taught), and began writing Windows programs in 1991 using Visual C++ and MFC. In the 2nd half of 2007, I started writing C# Windows Forms and ASP.Net applications, and have since done WPF, Silverlight, WCF, web services, and Windows services.

My weakest point is that my moments of clarity are too brief to hold a meaningful conversation that requires more than 30 seconds to complete. Thankfully, grunts of agreement are all that is required to conduct most discussions without committing to any particular belief system.
Sandeep Mewara
Software Developer (Senior)
India India
Current location: Bangalore, India.
Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
Alaric Dailey
Software Developer (Senior) Pengdows
United States United States
Currently looking for new contracts in Omaha NE or telecommute opportunities.
Ali BaderEddin
Software Developer Qualtrics
United States United States
https://about.me/ali.b
C. Groß
Germany Germany
No Biography provided
Group type: Organisation (No members)


César de Souza
Engineer Xerox Research Center Europe
Brazil Brazil
Computer and technology enthusiast, interested in artificial intelligence and image processing. Has a Master's degree on Computer Science specialized on Image and Signal Processing, with expertise on Machine Learning, Computer Vision, Pattern Recognition and Data Mining systems. Author of the Accord.NET Framework for developing scientific computing applications.

If you would like to hire good developers to build your dream application, please check out DaitanGroup, one of the top outsourcing companies in Brazil. This company, located in Brazil's Sillicon Valley but with US-based offices, has huge experience developing telecommunications software for large and small companies worldwide.
Christ Kennedy
CEO unemployable
Canada Canada
Christ Kennedy grew up in the suburbs of Montreal and is a bilingual Quebecois with a bachelor’s degree in computer engineering from McGill University. He is currently living in a homeless shelter and eating way too many pastries pleased to announce the release of his latest novel "Paladin : An Origin Story".
Colin Eberhardt
Architect Scott Logic
United Kingdom United Kingdom
I am CTO at ShinobiControls, a team of iOS developers who are carefully crafting iOS charts, grids and controls for making your applications awesome.

I am a Technical Architect for Visiblox which have developed the world's fastest WPF / Silverlight and WP7 charts.

I am also a Technical Evangelist at Scott Logic, a provider of bespoke financial software and consultancy for the retail and investment banking, stockbroking, asset management and hedge fund communities.

Visit my blog - Colin Eberhardt's Adventures in .NET.

Follow me on Twitter - @ColinEberhardt

-
Daniel Vaughan
President Outcoder
Switzerland Switzerland
Daniel Vaughan is a nine-time Microsoft MVP and co-founder of Outcoder, a Swiss software and consulting company dedicated to creating best-of-breed user experiences and leading-edge back-end solutions, using the Microsoft stack of technologies--in particular Xamarin, WPF, and the UWP.

Daniel is the author of Windows Phone 8 Unleashed and Windows Phone 7.5 Unleashed, both published by SAMS.

Daniel is the developer behind several acclaimed mobile apps including Surfy Browser for Android and Windows Phone. Daniel is the creator of a number of popular open-source projects, most notably Codon.

Would you like Daniel to bring value to your organisation? Please contact

Blog | MVP profile | Twitter


Xamarin Experts
Windows 10 Experts
Danielku15
Austria Austria
I'm Daniel from Austria.
I started Webdeveloping in 2001 with HTML/JS. 2004 I also started to develop PHP. Nowadays I'm into developing Web-Applications in PHP and Java(2007), GUI Controls in C#(since 2006).
dasblinkenlight
United States United States
No Biography provided
daylightdj
Software Developer (Senior)
United States United States
No Biography provided
Don Kackman
Team Leader Starkey Laboratories
United States United States
The first computer program I ever wrote was in BASIC on a TRS-80 Model I and it looked something like:
10 PRINT "Don is cool"
20 GOTO 10

It only went downhill from there.

Hey look, I've got a blog
DreamCatcher2k10
Software Developer
Germany Germany
No Biography provided
Gary R. Wheeler
Software Developer (Senior) Eastman Kodak Company
United States United States
I'm a C#/WPF developer, but I'm still maintaining a mountain of C++/MFC code. In my day job, I'm a mild-mannered engineer (unless I haven't had my coffee), helping make control software for large, high speed ink jet printing systems. After hours, I'm a bloodthirsty mercenary, selling my skills to the highest bidder. Yes, that sentence pretty much defines the extent of my marketing ability.

In my spare time (whazzat?) I run (slowly), bike (the kind you pedal), lift weights (not very big ones), and try to remember where I left my reading glasses.
Irfan alam
Software Developer Technology Promotion International
Singapore Singapore
He is a Software Engineer working in Technology Promotion International.He has completed his BS(Software Engineering) from University of Karachi,Pakistan.he has scored 1st Position in the batch of 2008 in department of Computer Science and scored 2nd Position in faculty of Science.
He has been working in Technology Promotion International since June 2008. Here,he has worked on many Projects and learned many different technologies like WPF, Silverlight, LINQ and many more.His major expertise are in C#,ASP.NET,Crystal Report,SQL Server.
Jeremy Hutchinson
Software Developer
United States United States
I’m a Senior Engineer at Quicken Loans and a Microsoft Azure MVP. I’ve has been developing line of business applications for 15 years primarily in the Microsoft Stack, and have a passion for writing clean, scalable code and sharing what I’ve learned with others.

I also help run the Casco Bay .Net User Group
jmix90
Software Developer http://wpf-france.fr
France (Metropolitan) France (Metropolitan)
Jonathan creates software, mostly with C#,WPF and XAML.

He really likes to works on every Natural User Interfaces(NUI : multitouch, touchless, etc...) issues.



He is awarded Microsoft MVP in the "Client Application Development" section since 2011.


You can check out his WPF/C#/NUI/3D blog http://www.jonathanantoine.com.

He is also the creator of the WPF French community web site : http://wpf-france.fr.

Here is some videos of the projects he has already work on :
Jochen Baier
Germany Germany
No Biography provided
John Underhill
Network Administrator vtdev.com
Canada Canada
Network and programming specialist. Started in C, and have learned about 14 languages since then. Cisco programmer, and lately writing a lot of C# and WPF code, (learning Java too). If I can dream it up, I can probably put it to code. My software company, (VTDev), is on the verge of releasing a couple of very cool things.. keep you posted.
Josh Fischer
Architect
United States United States
CodeProject MVP 2010
CodeProject prize winner - Best C# article of December 2009

Katka Vaughan
Software Developer Outcoder
Switzerland Switzerland
Katka has several years of experience working in software development in the areas of market research and e-commerce. She has wide ranging experience in developing Java, ASP.Net MVC, ASP.Net, WPF, Silverlight, and Windows Phone applications. Katka is an Aussie/Czech girl currently based in Zurich, Switzerland.


Company: Outcoder.ch
Open source projects: Calcium SDK
Group: Windows 10 Experts
Proud co-creator of: Surfy browser, Surfy Industrial Browser
KenJohnson
Software Developer (Senior)
United States United States
Written software for what seems like forever. I'm currenly infatuated with WPF. Hopefully my affections are returned.
Lee Robie
Software Developer (Senior)
United States United States
Lee has worked on user interfaces, graphics, computational geometry, memory management, threading, and assorted applications in C#, Java, C++, and C. He started out programming in Fortran on a 128 Kb PDP/11, which only proves that he's old, not smart. Lee also writes about chronic illness and his love of animals; his auto racing related articles are here.
logicchild
Software Developer Monroe Community
United States United States
No Biography provided
MarkLTX
Software Developer (Senior)
United States United States
Mark Lauritsen has been a software developer for as long as he can remember.
Nicolas Dorier
Software Developer Freelance
France France
I am currently the CTO of Metaco, we are leveraging the Bitcoin Blockchain for delivering financial services.

I also developed a tool to make IaaS on Azure more easy to use IaaS Management Studio.

If you want to contact me, go this way Smile | :)
Ondra Spilka
Software Developer (Senior) eLinkx
Czech Republic Czech Republic
Currently senior developer at eLinkx, started with C\C++ in industry software companies. Mainly .NET GUI, OR and application server frameworks.
Hobbies - Astronomy (selfmade Dobson f/6 1200mm), HW (Atmel51, ARM), Sport (paragliding, footbal, tennis, skiing, skating ... definitely I like all sports).
My family is wide - with my wife we have 3 kids.
OPerttilä
Founder OPE AG
Switzerland Switzerland
Olli is a .Net developer and architect.

He specializes in Asp.net MVC and other web technologies, XML and lately Domain Specific Languages.

Olli is originally from Finland, but currently works for his own one-man-initiative OPE AG (www.ope.ag) from Switzerland. He has over 10 years of experience as one of the founding partners and Chief Technology Officer of Quartal group of companies (www.quartal.com).
Paolo Foti
Software Developer (Senior)
Italy Italy
I started coding in 1984 on a ZX Spectrum. From the Sinclair Basic I jumped straight to C++ (which I use since 1992). I wrote code in assembly 386, ANSI C++ (I love it) and VisualBasic 6.0 (urgh!!!); nowadays I write code in C# 4.0!

I was born in 1968 in Italy and I live in the north west of my country (near Venice). I work as a Project Leader/Senior Developer.

Computer Science interests: I like coding 3D-GameEngine and OpenGL applications.

Sport and hobbies: Martial Arts, Latino Dance, travels, reading and writing novels.
Pero Matić
Founder Turing Inc.
United States United States
Pete O'Hanlon
CEO
United Kingdom United Kingdom
A developer for over 30 years, I've been lucky enough to write articles and applications for Code Project as well as the Intel Ultimate Coder - Going Perceptual challenge. I live in the North East of England with 2 wonderful daughters and a wonderful wife.

I am not the Stig, but I do wish I had Lotus Tuned Suspension.
Pranay Rana
Software Developer (Senior)
India India

Microsoft C# MVP (12-13)



Hey, I am Pranay Rana, working as a Team Leadin MNC. Web development in Asp.Net with C# and MS sql server are the experience tools that I have had for the past 5.5 years now.

For me def. of programming is : Programming is something that you do once and that get used by multiple for many years

You can visit my blog


StackOverFlow - http://stackoverflow.com/users/314488/pranay
My CV :- http://careers.stackoverflow.com/pranayamr

Awards:


Qwertie
Software Developer None
Canada Canada
Since I started programming when I was 11, I wrote the SNES emulator "SNEqr", the FastNav mapping component, the Enhanced C# programming language (in progress), the parser generator LLLPG, and LES, a syntax to help you start building programming languages, DSLs or build systems.

My overall focus is on the Language of your choice (Loyc) initiative, which is about investigating ways to improve interoperability between programming languages and putting more power in the hands of developers. I'm also seeking employment.
Rajkumar-Kannan
Engineer Hewlett Packard
India India
No Biography provided
Ritzlgrmft
Software Developer (Senior)
Germany Germany
No Biography provided
Sacha Barber
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog
slelong
Other HP
France France
No Biography provided
Steve Psaltis
Software Developer
United Kingdom United Kingdom
We cannot achieve perfection but we can strive for excellence. Excellence through creativity that pushes innovation, collaboration that facilitates productivity, knowledge that empowers people and persistence that eventually pays off !

Enjoy what you do and do what you enjoy !
Sunny Ahuwanya
Software Developer
United States United States
Sunny has been developing software for the Microsoft-based platforms since the MS-DOS days. He has coded in C, VB (4 to 6) and C#. He enjoys designing and developing server-side .NET distributed applications.

He currently works for a Fortune 500 company. When he's not coding, he likes reading, hanging out with friends and sight-seeing.
Syed Mehroz Alam
Software Developer
Pakistan Pakistan

Syed Mehroz Alam, living in Karachi, Pakistan, is a developer focusing Microsoft technologies. He has completed his bachelors as a Computer Systems Engineer in 2006 and is currently pursuing a Masters degree in Computer Science. He loves to learn, discover and master all aspects of .NET and SQL Server. Mehroz has developed rich internet enterprise applications using Silverlight in addition to the traditional ASP.NET and Windows Forms applications. He has worked with all three components of SQL Business Intelligence Studio: SSIS, SSRS and SSAS for developing BI Solutions and Data warehouse. He loves to write complex TSQL queries and evaluate his skills by participating in various TSQL Challenges. His blog can be viewed at http://smehrozalam.wordpress.com.

The Manoj Kumar
Team Leader
India India

Manoj Kumar is a Humble Programmer and a trainer having dozens of trainings, publications and articles to his wallet.


His programming adventures began with Basic at an age of 11. Being a mathematician at core, soon he started looking for some more and moved to assembly language, later to C, C++, VC++ and finally to .Net.


He started his professional career as a VC++ 6 trainer, moved to embedded systems and device driver development, then to complex biological systems and finally moved to pure application development.


He has been teaching and training people for more than 12 years on a wide range of topics including Mathematics, Algorithms, Data Structures, C, C++, VC++, MFC, C#, Design Patterns and now a days he is working extensively with Visual Studio and .Net framework which includes VSX, WPF, Silverlight, WCF, WF, XAML and RIAs.


Awards:


  • Ideablade RIA Service Challenge winner
  • Visual Studio 2010 Extension Contest winner (Best Use of Editor)


Visit my website and blog or drop me a mail.


Feel free to connect with me on Linkedin.

theRobotGeek
Software Developer (Senior) Feirtech Inc.
United States United States
No Biography provided
Uwe Keim
Chief Technology Officer Zeta Producer Desktop CMS
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.

In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.

Some cool, free software from us:

Deutschsprachiges Forum zu Elektromobilität und Tesla  
Windows 10 Ereignisanzeige  
German Developer Community  
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Offline-Homepage-Baukasten
You must sign in to participate in this contest.
This contest has ended.
1 Feb - 28 Feb 2010