Click here to Skip to main content
14,982,671 members
This competition has ended

Best C# article of February 2010

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.

Please Sign up or sign in to vote.
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.
Please Sign up or sign in to vote.
23 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,...
Please Sign up or sign in to vote.
25 Feb 2010
dasblinkenlight
Converting between types in .NET
Please Sign up or sign in to vote.
19 Feb 2010
Ondra Spilka
How to host a WCF HTTPS service with a custom username validator, in IIS.
Please Sign up or sign in to vote.
4 Feb 2010
daylightdj
When using DisplayMember / ValueMember on a ComboBox, this problem often occurs.
Please Sign up or sign in to vote.
14 Feb 2010
Irfan alam
A library for creating a voice and text conferencing application
Please Sign up or sign in to vote.
25 Feb 2010
César de Souza
Kernel principal component analysis in C#
Please Sign up or sign in to vote.
19 Feb 2010
Uwe Keim
Small tool to monitor the clipboard for images and upload them to Twitpic
Please Sign up or sign in to vote.
2 Feb 2010
Sunny Ahuwanya
Set up failover and load balancing support for web applications that make use of the ASP.NET state server
Please Sign up or sign in to vote.
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
Please Sign up or sign in to vote.
16 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", ...
Please Sign up or sign in to vote.
9 Jul 2011
#realJSOP
Avoid exceptions when setting enumerators from unknown/untrusted sources.
Please Sign up or sign in to vote.
26 Feb 2010
Sandeep Mewara
This is an easy way to clear all input fields in the form.
Please Sign up or sign in to vote.
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.
Please Sign up or sign in to vote.
15 Feb 2010
Rajkumar-Kannan
In this article, we move on and explore topics like Exporting and Importing Virtual Machines.
Please Sign up or sign in to vote.
18 Feb 2010
Alaric Dailey
Building an O/R Mapper: Step 2.
Please Sign up or sign in to vote.
22 Feb 2010
Colin Eberhardt
Rippling reflection effect with Silverlight 3's WriteableBitmap
Please Sign up or sign in to vote.
17 Feb 2010
Ali BaderEddin
A tool to make it easier to learn C# regular expressions...
Please Sign up or sign in to vote.
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.
Please Sign up or sign in to vote.
4 Feb 2010
Palash Biswas
There are lots of simple tricks in .net which can be very useful if you used wisely. In this post I want to discuss the use of DebuggerBrowsableAttribute. Using this attribute you can control how a member of class will be displayed in debugger windows during debugging. Before that consider small...
Please Sign up or sign in to vote.
6 Feb 2010
Andriy Buday
Specification
Please Sign up or sign in to vote.
6 Feb 2010
Andriy Buday
Template method
Please Sign up or sign in to vote.
17 Feb 2010
shirish.lokhande@gmail.com
This utility is used to find the comments entered by users in TFS while check in the code. This will give change set number with owner, date of check in, comments and check in notes.So this will used in finding all checkin comments from TFS for any project. //Create object of tfs...
Please Sign up or sign in to vote.
11 Feb 2010
dabaopku
INI File I/O classusing System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.IO;namespace DABAOKU{ /// /// 读写ini配置文件类 /// class IniFile { #region 成员变量 ...
Please Sign up or sign in to vote.
18 Feb 2010
Ming_Lu
A custom VScrollbar to make DataGrid finger flickable.
Please Sign up or sign in to vote.
23 Feb 2010
ProtoBytes
A better method of finding solutions to problems like this is to use a tool to decompile the IL which is assembled .NET. The tool I recomend is LINQPad; which features a lambda button which will decompile the sample code fragment being analyzed.To further your understanding of such...
1 Feb 2010
Murtaza Abdeali
Infragistics leverages Microsoft Visual Studio 2010, the latest version of Microsoft’s integrated development environment (IDE) for the .NET Framework, to deliver powerful user interface tools that allow you to create rich user experiences that will delight your users with the WOW-factor!
9 Feb 2010
Resco Developer Tools
Despite the advances in mobile computing, the primary functions of a mobile device are — besides other activities — communication and calendaring. These essential needs are on the Windows Mobile platform provided by the Pocket Outlook family of applications, such as Messaging and Calendar.
26 Feb 2010
Paul B. Firth
With the availability of fast, accurate barcode reading and writing toolkits, it’s easy to include barcodes in your applications to reliably transfer information. With some basic information, you can determine how barcodes could streamline your document-processing workflows.
Please Sign up or sign in to vote.
8 Mar 2010
Marcelo Ricardo de Oliveira
WCF-enabled multi-player XNA game for the Windows platform.
Please Sign up or sign in to vote.
26 Mar 2010
KenJohnson
1 alternative  
A WPF control for graphing functions, parametric curves, and polar curves.
Please Sign up or sign in to vote.
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.
Please Sign up or sign in to vote.
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. ...
Please Sign up or sign in to vote.
31 Mar 2010
Qwertie
A memory-efficient Patricia trie that implements IDictionary and supports the "find nearest key" operation.
Please Sign up or sign in to vote.
1 Mar 2010
Solid State Coder
Give your users quick, visual help without forcing them to leave your app.
Please Sign up or sign in to vote.
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.
Please Sign up or sign in to vote.
26 Feb 2010
Gary R. Wheeler
A solution for binding a set of WPF radio buttons to an enumeration value.
Please Sign up or sign in to vote.
22 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.
Please Sign up or sign in to vote.
3 Feb 2010
The Manoj Kumar
A multi-touch simple and compound gesture recognition implementation for Windows 7 in WPF.
Please Sign up or sign in to vote.
2 Feb 2010
logicchild
An article that focuses on Data Parallelism based on the Multi-Core Processor Technology.
Please Sign up or sign in to vote.
28 Mar 2010
John Underhill
A fully featured animated trackbar control
Please Sign up or sign in to vote.
10 Mar 2010
Christ Kennedy
A dictionary with search engine and graphic text display, for a low, low price.
Please Sign up or sign in to vote.
18 Sep 2013
Danielku15
Give your WinForms Windows a unique look using a unique design
Please Sign up or sign in to vote.
8 Feb 2010
Abhijit Jana
Scrollable Zooming Extension for VS 2010
Please Sign up or sign in to vote.
17 Mar 2010
#realJSOP
Tie it all together and not lose your mind in the process
Please Sign up or sign in to vote.
5 Feb 2010
theRobotGeek
Control a Lego NXT robot using multi-touch on Windows 7.
Please Sign up or sign in to vote.
30 Mar 2011
DreamCatcher2k10
1 alternative  
Provides another, simple way to get a tri-state TreeView, ensuring compatibility to all Windows UIs / styles
Please Sign up or sign in to vote.
25 Aug 2012
Don Kackman
A WPF control and FlowDocument to display Trace output in a running application.
Please Sign up or sign in to vote.
23 Feb 2010
John Underhill
A Form skinning library in C#

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) Intuit India
India 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
No Biography provided
Ali BaderEddin
Software Developer Qualtrics
United States United States
https://about.me/ali.b
Andriy Buday
Software Developer SoftServe
Ukraine Ukraine
I'm very pragmatic and self-improving person. My goal is to become successful community developer.
I'm young and love learning, these are precondition to my success.

Currently I'm working in dedicated Ukrainian outsourcing company SoftServe as .NET developer on enterprise project. In everyday work I'm interacting with lot of technologies which are close to .NET (NHibernate, UnitTesting, StructureMap, WCF, Win/WebServices, and so on...)

Feel free to contact me.
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 unemployable and currently living in Moncton, N.B. writing his next novel.
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

-
dabaopku
United States United States
No Biography provided
Daniel Vaughan
Engineer Microsoft
United States United States
Daniel Vaughan is a Senior Software Engineer at Microsoft.

Previously Daniel was a nine-time Microsoft MVP and co-founder of Outcoder, a Swiss software and consulting company.

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 | 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.
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.
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.
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.
Ming_Lu
Software Developer Oliver Wyman Groups
United States United States
Education: Masters in Applied mathematics

Certification:
MCP in Asp.net
MCP in SQL Server 2008 Implementation.

Working Experience In .Net since 2005
Murtaza Abdeali
Product Manager Infragistics
United States United States
My name is Murtaza Abdeali, also known as Taz, I am the Product Manager for Web Clients at Infragistics. I manage our ASP.NET product line.

I started at Infragistics in 2004 as a Developer Support Engineer, where I enjoyed being at the fore front of all the product lines, talking directly to customers, answering questions, solving simple and complex problems.

Then I joined our Evangelism department as a Technical Evangelist, where I travelled all over the world visiting customers, speaking with them face to face, talking about the product and technologies around. During the same period, I also did some consulting and training gigs. This was the time where I got to see Infragistics customers actually using the product within their applications and being able to help with their problems in real time.

In my current role as a Product Manager, I still do all of the above, but I am also responsible for setting the direction for our ASP.NET product. So, if you want to discuss anything regarding the ASP.NET toolset, please feel free to contact me: murtazaa@infragistics.com
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
Architect ABB
Czech Republic Czech Republic
No Biography provided
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).
Palash Biswas
Software Developer Kovair Inc.
India India
I have started programming in 10 years on Fortran 77.Then it was Cobol,C,C++,JAVA 1.2, ASP,JavaScript. Now it at all C# and .NET Framework, such tehnologies as WCF, ADO.NET, ASP.NET, LINQ, ASP.NET Ajax , FLEX and another.
Paul B. Firth
Product Manager Accusoft Pegasus
United States United States
Paul has been helping to guide the overall product strategy for Accusoft Pegasus since 2005. In this role he works closely with the Sales and R&D teams to identify and satisfy product needs in the highly-dynamic software tools market. Prior to joining Accusoft Pegasus, he has led high-tech marketing teams and managed teams of both software and hardware developers. Paul holds a Masters in Business Administration from New York University, and Bachelor of Science degree in Electrical Engineering from the University of Rochester.
Pero Matić
Founder Turing Inc.
United States United States
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:


ProtoBytes
CEO AW Proto-Code, Inc.
United States United States
I’m a self learned wiz kid turned Architect. Stared with an Apple IIe, using AppleSoft Basic, ProDos and Begal Basic at age 10.

Picked up LPC in college before the Dot Com Explosion. Wrote some Object C in the USAF for one of my instructors. Got a break from a booming computer manufacture testing server software. Left the Boom and went to work for a Dot Com built from the ashes of Sun Micro in CS. Mentoring in Java solidified me as a professional developer. Danced in the light of the sun for 13 years, before turning to the dark side. An evil MVP mentored me in the ways of C# .NET. I have not looked back since.

Interests include:

~ Windows Presentation Foundation and Silverlight
~ Parallel Programming
~ Instruction Set Simulation and Visualization
~ CPU to GPU code conversion
~ Performance Optimizations
~ Mathematics and Number Theory
~ Domain Specific Languages
~ Virtual Machine Design and Optimization
~ Graphics Development
~ Compiler Theory and Assembler Conversion Methodology
~ CUDA, OpenCL, Direct Compute, Quantum Mechanics

IEEE Associate Member 2000
Group type: Organisation (No members)


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
Resco Developer Tools
Marketing Resco
Slovakia Slovakia
No Biography provided
No Biography provided
Solid State Coder
Architect
United States United States
CodeProject MVP 2010
CodeProject prize winner - Best C# article of December 2009

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