Click here to Skip to main content
15,881,852 members
This competition has ended

Best C# article of March 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.
29 Mar 2010Nish Nishant
An ExifReader class in C# that supports custom formatting and extraction. StyleCop compliant code, with demos for WPF and Windows Forms.
Please Sign up or sign in to vote.
7 Mar 2010Luc Pattyn
This is an alternative to "Week Numbers According to ISO8601".
Please Sign up or sign in to vote.
15 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon drop down color picker control.
Please Sign up or sign in to vote.
23 Mar 2010Arik Poznanski
In this article, I'll present how to work with the ribbon quick access toolbar.
Please Sign up or sign in to vote.
6 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon application menu with ribbon split button and ribbon drop button controls.
Please Sign up or sign in to vote.
9 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon combo box control.
Please Sign up or sign in to vote.
22 Mar 2010Arik Poznanski
In this article, I'll present how to work with ribbon context popup.
Please Sign up or sign in to vote.
9 Jun 2012FatCatProgrammer
Balanced Binary Search Tree (BST) (Search, Delete, PrintInOrder, PrintPreOrder, PrintPostOrder,DepthFirst, BreadthFirst, BalanceTree)
Please Sign up or sign in to vote.
7 Mar 2010Arik Poznanski
In this article, I'll present how to use ribbon tabs, groups and the ribbon help button control.
Please Sign up or sign in to vote.
19 Mar 2010Arik Poznanski
In this article, I'll present how to load ribbon resources from external DLLs.
Please Sign up or sign in to vote.
20 Mar 2010Arik Poznanski
In this article, I'll present how to work with ribbon application modes.
Please Sign up or sign in to vote.
8 Mar 2010Lance Roberts
I needed to talk between one server process and multiple client processes, this was a simple test harness to prove it
Please Sign up or sign in to vote.
4 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon application menu.
Please Sign up or sign in to vote.
14 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon check box and toggle button controls.
Please Sign up or sign in to vote.
21 Mar 2010Arik Poznanski
In this article, I'll present how to work with ribbon contextual tabs.
Please Sign up or sign in to vote.
23 Mar 2010Arik Poznanski
In this article, I'll present how to work with the ribbon recent items control.
Please Sign up or sign in to vote.
10 Mar 2010Nic_Roche
This article demonstrates breaking out of the shell with module development and using Caliburn actions.
Please Sign up or sign in to vote.
16 Mar 2010Valentin Billotte
How to make TRUE sync call in Silverlight
Please Sign up or sign in to vote.
16 Mar 2010Arik Poznanski
In this article, I'll present how to use the ribbon font control.
Please Sign up or sign in to vote.
23 Mar 2010AspDotNetDev
This version works regardless of parameters:public void AnyMethod(int parameter){ MethodInvoker wrapper = new MethodInvoker(delegate() { // Do your thing here! }); if (this.InvokeRequired) this.Invoke(wrapper); else wrapper();}Note also...
Please Sign up or sign in to vote.
9 Mar 2010marc ochsenmeier
Use the new PLA interface to monitor performance counters and trigger alerts.
Please Sign up or sign in to vote.
23 Mar 2010Ashish Kumar Mukherjee
Walkthrough: Forwarding a type from one assembly to another by using the TypeForwardedToAttribute attribute.
Please Sign up or sign in to vote.
18 Mar 2010Mohammad Elsheimy
Create high-performance, short-lived, and stack-based arrays in C#
Please Sign up or sign in to vote.
26 Mar 2010Colin Eberhardt
This blog post is a bug fix (due to differences between SL2 and SL3) and expansion on my previous posts on this subject.
Please Sign up or sign in to vote.
29 Mar 2010Williarob
Override Configuration Manager
Please Sign up or sign in to vote.
4 Mar 2010Simon P Stevens
This code provides SafeTrigger extension methods as a way of triggering events in a thread safe way.For details on usage, a discussion of reasons and alternatives, and a full solution download see my article on safely triggering events[^]Multiple overloads are provided for convenience to...
Please Sign up or sign in to vote.
5 Mar 2010open-collar
Download source (55.5 KB)IntroductionThe "using" block in C# and VB.NET can be used as a high-level language construct, not just as a way of tidying-up. In this article I show you how to capture and restore state using constructors and disposers.BackgroundIn any substantial...
Please Sign up or sign in to vote.
9 Mar 2010Dan Mos
A few months ago I posted a article about exporting and formatting a datagridview to Excel.Well what about exporting a List to Excel?Sure, some may wonder but what's the point? Cause it's very easy to havelike a hidden dataGridView and when exporting one could easily add something...
Please Sign up or sign in to vote.
12 Mar 2010Cédric Menzi
In this article we see that we can parse well-formed binary data to our data structures using different approaches.
Please Sign up or sign in to vote.
18 Mar 2010Mohammad Elsheimy
Learn how to create/extend a culture and register it for future use (even by Windows)
Please Sign up or sign in to vote.
19 Mar 2010hjgode
A class to make a Windows Mobile compact framework forms fullscreen. Includes code to catch all keys (no more working softkeys)
Please Sign up or sign in to vote.
1 Mar 2010r verma
This piece of code is pretty fine but I have a confusion. I always used an old trick which utilizes a single 'for' loop and only splits the incoming string for array of words. After that you can apply your logic to store that in List. I think both logic will take approx same time but your logic...
Please Sign up or sign in to vote.
2 Mar 2010jmix90
As pointed out in this post, collections of the ViewModels and the models are not in sync.
Please Sign up or sign in to vote.
9 Mar 2010Lokesh Lal
this was part of my module in a project to generate xml files from prefix expression. this might be use ful to some one else as well.using System;using System.Collections.Generic;using System.Text;using System.Collections;using System.IO;namespace ConsoleApplication3{ ...
Please Sign up or sign in to vote.
18 Mar 2010Mohammad Elsheimy
Learn how to create transactional vista using C# and Windows Vista (and higher) SDK.
Please Sign up or sign in to vote.
23 Mar 2010Raymund Macaalay
In this post, I will show you how easy it is to develop webparts in MOSS (Sharepoint). If you know how to develop in .NET, then it will be a breeze. It will be as easy as 13 steps, so here we go.
Please Sign up or sign in to vote.
23 Mar 2010Raymund Macaalay
Extending the AdRotator to use Flash Banners
Please Sign up or sign in to vote.
27 Mar 2010cool_manu07
This article describes how the image can be shown in Frame ActiveX control with proper size.
Please Sign up or sign in to vote.
25 Mar 2010elizas
SQL Server Management Objects (SMO) are objects designed for programmatic management of Microsoft SQL Server. We can integrate SMO into any .NET based applications.SMO is also compatible with SQL Server version 7.0, SQL Server 2000, and SQL Server 2005, which makes it easy to manage a...
Please Sign up or sign in to vote.
1 Mar 2010Alphakoda
I have been using Visual Studio 2010 Release Candidate and there are few cool things that I am pleasantly surprised about. I have list a few off the top of my head.
Please Sign up or sign in to vote.
2 Mar 2010ron wilson
A branch/fork of Xiangyang Liu's XYNTService/XYWinService
Please Sign up or sign in to vote.
2 Mar 2010Rudy du Plooy
This code creates a mutex before starting an application and releases the mutex when the application is closed. A user will only be able to start the application once. This can be used for services as well./// /// The main entry point for the application.///...
Please Sign up or sign in to vote.
2 Apr 2010Ali BaderEddin
How To Get All Site Urls Without Creating an SPSite object?
Please Sign up or sign in to vote.
4 Mar 2010Paw Jershauge
Provides an easy way to make generic Cancel Event Handles. normaly used for pre changing event.The Delegate:[Serializable][HostProtection(SecurityAction.LinkDemand, SharedState = true)]public delegate void CancelEventHandler(object sender, TCancelEventArgs e) where...
8 Mar 2010Resco Developer Tools
Based on the feedback from mobile developers follows that there are several similar scenarios they have to solve. One of them is designing a mobile application that allows collecting orders and features full finger-touch operation.
Please Sign up or sign in to vote.
12 Mar 2010jp2code
Introduction...
16 Mar 2010Evan Hutnick
This whitepaper explains how through smart use of UI and Data virtualization, content recycling, XAML optimizations and more, RadControls for Silverlight deliver first-class performance.
Please Sign up or sign in to vote.
28 Mar 2010User-Rock
The best time to apply localization on an application is really at the end of its development. The obvious reason is that it allows you to get decoupling of localization from business modules. Localization should be done on UI side, not in business layer or data layer.If you are...

Current Participants

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

Software Developer
United States United States
https://open-gl.com
Software Developer (Senior) 4CoreDev
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.

Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Team Leader
India India
Software Professional having 8 years of experience in software development/design, requirement, testing and implementation using .NET Technologies(C#, ASP.NET,WPF,WCF,MVC), SQL Server 2005/2008, Sybase, DB2, Windows XP, 2000, Cruise Control and basic idea of Remedy.
Web Developer
United States United States

  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):
Software Developer (Senior) Metrohm AG
Switzerland Switzerland
I'm a passionate programmer with heart and soul. I've started programming in 2001 with C++, VB6 and then in 2002 with the .NET Framework. C# and I are still married, because we always solving our problems in a clean, easy and programmatic way.

My other passions are coffee and single-malt whisky. As a owner of a Rocket Espresso Milano, I always get the perfect shot to get up in the morning.
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

-
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Marketing Mindfire Solutions
India India
I am in the marketing team at Mindfire Solution.It is an offshore-software development company based in India.It is apple premier and microsoft gold certified partner.it is as ISO 9001:2000 certified company.It specializes in coldfusion, python,PHP,sharepoint, iphone,java,servoy,mysql, database and other such related technologies.I am very keen in learning and sharing technology.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Finance Industry
United States United States
Currently pursuing 'Programming Nirvana' (The ineffable ultimate in which one has attained disinterested wisdom and compassion as it relates to programming)

Respected Technologies
1. Confusor (https://confuser.codeplex.com/)
2. Power Threading (http://www.wintellect.com/Resources/visit-the-power-threading-library)
3. EDI Parsers (http://www.rdpcrystal.com)


Acknowledgements:

Microsoft Certified Technologist for WPF and .Net 3.5 (MCTS)
Microsoft Certified Technologist for WCF and .Net 3.5 (MCTS)
Microsoft Certified Application Developer for .Net (MCAD)
Microsoft Certified Systems Engineer (MCSE)
Microsoft Certified Professional (MCP)

Sun Certified Developer for Java 2 Platform (SCD)
Sun Certified Programmer for Java 2 Platform (SCP)
Sun Certified Web Component Developer (SCWCD)

CompTIA A+ Certified Professional

Registered Business School Teacher for Computer Programming and Computer Applications (2004)
(University of the State of New York Education Department)

Graduated from University At Stony Brook
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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 :
Software Developer jp2code.net
United States United States
Looking to become a powerful developer one of these days.
Software Developer
India India
Life is Mirror !!!!!!!
New Zealand New Zealand
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
India India
Working on .NET technologies(windows, web, database, reporting, intergration services etc).
Software Developer (Senior)
Belgium Belgium
I am an engineer with a background in electronics, software and mathematics.

I develop technical software, both for embedded systems and for desktop equipment. This includes operating systems, communication software, local networks, image processing, machine control, automation, etc.

I have been using all kinds of microcontrollers and microprocessors (Intel 4004/8080/8051/80386/Pentium, Motorola 680x/680x0/ColdFire/PowerPC, Microchip PIC, Altera NIOS, and many more), lots of programming languages (all relevant assemblers, Fortran, Basic, C, Java, C#, and many more), and different operating systems (both proprietary and commercial).

For desktop applications and general development tools I have been using both UNIX systems and Mac/MacOS for many years, but I have switched to x86-based PCs with Windows, Visual Studio and the .NET Framework several years ago.

I specialize in:
- cross-platform development (making software that runs on diverse hardware/OS combinations)
- instruction set simulation
- improving software performance, i.e. making sure the software runs the job at hand in as short a time as possible on the given hardware. This entails algorithm selection, implementation design, accurate measurements, code optimisation, and sometimes implementing virtual machines, applying SIMD technology (such as MMX/SSE), and more.
Software Developer winitor
Germany Germany
Marc Ochsenmeier is the author of pestudio (www.winitor.com) and worked as developer with the focus on Windows Security. He now works as a Malware Analyst

pestudio is on twitter at: https://twitter.com/ochsenmeier
Technical Lead
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer currently hired by one of the leading fintech companies in Middle East, as a technical lead.

Mohammad is a MCP, MCTS, MCPD, MCSA, MCSE, and MCT expertized in Microsoft technologies, data management, analytics, Azure and DevOps solutions. He is also a Project Management Professional (PMP) and a Quranic Readings college (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.

Mohammad was born in Egypt. He loves his machine and his code more than anything else!

Currently, Mohammad runs two blogs: "Just Like [a] Magic" (http://JustLikeAMagic.com) and "مع الدوت نت" (http://WithdDotNet.net), both dedicated for programming and Microsoft technologies.

You can reach Mohammad at elsheimy[at]live[dot]com
Software Developer Encore Software
Australia Australia
Contractor in Desktop and Web applications.
Gold Coast, Queensland.
United States United States
Nish Nishant is a technology enthusiast from Columbus, Ohio. He has over 20 years of software industry experience in various roles including Chief Technology Officer, Senior Solution Architect, Lead Software Architect, Principal Software Engineer, and Engineering/Architecture Team Leader. Nish is a 14-time recipient of the Microsoft Visual C++ MVP Award.

Nish authored C++/CLI in Action for Manning Publications in 2005, and co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is experienced in technology leadership, solution architecture, software architecture, cloud development (AWS and Azure), REST services, software engineering best practices, CI/CD, mentoring, and directing all stages of software development.

Nish's Technology Blog : voidnish.wordpress.com
Web Developer
United Kingdom United Kingdom
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Software Developer
Denmark Denmark
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/
Marketing Resco
Slovakia Slovakia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Team Leader Under Armour
United States United States
I'm your huckleberry.

Check out more beards here.

Team Leader
South Africa South Africa
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Software Developer
United Kingdom United Kingdom
I discovered programming aged 11 with my school's BBC micro, and a book titled "Write your own space action games". (Their ideas of "space action" games were very different to mine. My ideas didn't include a bunch of * signs controlled via a text based menu)

I got hooked on VB for a while (mainly because I discovered I could replace the * signs with .bmp files) until someone pointed out the wonderful world of objects and Java. I also went thought a c++ phase.

I've now been a professional developer for 5 years.

My current language of choice is C#. I spend my free time playing with XNA and microcontrollers.
Software Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect Viablue - GraphicStream
France France
I spent most of time on Silverlight, Xna (where i am MVP) and ADO.Net Data Services.
Software Developer (Senior) Salem Web Network
United States United States
Robert Williams has been programming web sites since 1996 and employed as .NET developer since its release in 2002.
You must sign in to participate in this contest.
This contest has ended.
1 Mar - 31 Mar 2010