Click here to Skip to main content
15,867,453 members
This competition has ended

Best C# article of December 2012

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.
25 Jan 2013FatCatProgrammer
StarReport: WPF-less GDI+.NET report component.
Please Sign up or sign in to vote.
21 Jan 2013Srinivasu Pemma
This tip provides an easy way of dealing with different types of data sources for LINQ Group By taken from my blog http://www.srinetinfo.com/2012/12/linq-group-by.html
Please Sign up or sign in to vote.
13 Dec 2012Vijay Tanwar
Convert Word documents, Excel sheets to HTML files using Microsoft Office Interop API and render the result back to a client browser.
Please Sign up or sign in to vote.
13 Jan 2013Grasshopper.iics
How to build and publish Ultrabook desktop Apps in Intel AppUP store
Please Sign up or sign in to vote.
6 Mar 2013KenBeckett
Calculating metrics on and searching a CodeDOM.
Please Sign up or sign in to vote.
3 Feb 2013Enrique Albert
Unit of Work and Repository RavenDB implementation example
Please Sign up or sign in to vote.
28 Dec 2012Antonino Porcino
a TodoMVC implementation written in C# and compiled to JavaScript
Please Sign up or sign in to vote.
23 Dec 2012Oleksandr Kulchytskyi
This tip explains how to increase performance in serialization by using MessagePack
Please Sign up or sign in to vote.
24 Jan 2013Oleksandr Kulchytskyi
More advanced singleton implementation.
Please Sign up or sign in to vote.
1 Mar 2013Yasser Moradi DNP
Parse CanExecute to detect when CanExecuteChanged should be called.
Please Sign up or sign in to vote.
10 Dec 2012Robert Hoffmann
History of globalization in ASP.NET and available options.
Please Sign up or sign in to vote.
24 Dec 2014Alexander Batishchev
Implementing WCF behavior extension to run code on service launch
Please Sign up or sign in to vote.
14 Dec 2012orouit
This article demonstrates how to implement interfaces defined for a WinRT component in a C# Windows store DLL or a C# Windows store application.
Please Sign up or sign in to vote.
22 Apr 2017Cinchoo
Easy configuration management in .NET
Please Sign up or sign in to vote.
21 Dec 2012dromanol
This example illustrates the correct use of Application.DoEvents() in order to allow a window to repaint (or handle the desired messages) while its thread is busy doing heavy processing.
Please Sign up or sign in to vote.
17 Dec 2012Charles Mathis
This is an alternative for "Using RoutedCommands with a ViewModel in WPF".
Please Sign up or sign in to vote.
9 Apr 2013David J Rundle
Handling the Faulted state and Closure of a WCF service when being used in a stateful application.
Please Sign up or sign in to vote.
16 Dec 2012Gianmaria Gregori
How to create and customize a Twitter Bootstrap site with WebMatrix 2 and OrangeBits Compiler
Please Sign up or sign in to vote.
18 Dec 2012Vasil Trifonov
Using WIX with Managed Custom Action
Please Sign up or sign in to vote.
23 Dec 2012John Michael Hauck
Controlling intelligent precision electric motors from Windows applications written in C#
Please Sign up or sign in to vote.
27 Feb 2013Tarek Elqusi
Using the MainWindowTitle property to close a running program by killing the associated process.
Please Sign up or sign in to vote.
4 Mar 2013Tyronne Thomas
DNS resolving and parsing IP address in Metro Style applications (WinRT).
Please Sign up or sign in to vote.
10 Dec 2012joinsaad
Visual Studio crashed while moving code from UIMap.Designer.cs to UIMap.cs from Coded UI Test Editor
Please Sign up or sign in to vote.
14 Mar 2013李建兴
If two objects are equal, they would better have the same HashCode.
Please Sign up or sign in to vote.
24 Jan 2013cberthu
How to set/update Active Directory attributes to user.
Please Sign up or sign in to vote.
22 Dec 2012scott_liu
By use of a cutomized metadata provider, MVC model data annotation validation messages can be localized in a simple and elegant way.
Please Sign up or sign in to vote.
29 Dec 2012Abdullah Altokhais
Windows Forms application for capturing or thumbnailing a web page
Please Sign up or sign in to vote.
28 Dec 2012Praveen Raghuvanshi
This article explains the implementation of undo/redo using a Memento Pattern.
Please Sign up or sign in to vote.
30 Dec 2012Ivan Krivyakov
Is Turkish the only locale with unusual capitalization?
Please Sign up or sign in to vote.
6 Dec 2012Vasil Trifonov
Share Nuget packages between solutions
Please Sign up or sign in to vote.
4 Dec 2012Vasil Trifonov
How to share Nuget packages between solutions
Please Sign up or sign in to vote.
3 Dec 2012ahsanriaz1K
I will give a solution to the following problem "Response.TransmitFile(sFullHtmFilePath)" gives unformatted display of htm file on browser on client side.
Please Sign up or sign in to vote.
10 Dec 2012kosmoh
A simple class for implementing Lazy Phoenix-like weak reference.
Please Sign up or sign in to vote.
11 Dec 2012Anuja Pawar Indore
This is an alternative for "Using Ajax AutoCompleteExtender for autosuggest"
Please Sign up or sign in to vote.
21 Dec 2012Robert Hoffmann
Lightweight JSON protocol proposal
Please Sign up or sign in to vote.
11 Dec 2012Dane Balia
An Understanding of what it does and how it can help.....
Please Sign up or sign in to vote.
14 Dec 2012Rumman92
An application which allows user to create the encrypted message and then emails it to the desired person.
Please Sign up or sign in to vote.
17 Dec 2012santosh poojari
This is most general collection operation that we come across daily. Its set based operation using LINQ Except Operator.
Please Sign up or sign in to vote.
1 Sep 2015Code Artist
TortoiseHgManager, a repositories verification tool for TortoiseHg.
Please Sign up or sign in to vote.
16 Dec 2012hjgode
A remote CPU monitor and CPU usage analysis.
Please Sign up or sign in to vote.
17 Dec 2012mojtaba mahdavi software dev
Implement a multivariate polynomial class for a large number of terms.
Please Sign up or sign in to vote.
19 Dec 2012Rajesh Kuramdasu
This article describes about converting an XML string to a HTML table.
Please Sign up or sign in to vote.
21 Dec 2012orouit
This article shows how to login to a cloud storage like Box by entering the credentials in a dialog window rather than in a Web page.
Please Sign up or sign in to vote.
28 Dec 2012Nishith Jain
Balloon tool tip for the text box.
Please Sign up or sign in to vote.
30 Dec 2012John Michael Hauck
These posts focus on controlling intelligent precision electric motors from Windows applications written in C#. Specifically, we will be controlling a Schneider Electric M-Drive stepper motor with an integrated encoder and controller.
Please Sign up or sign in to vote.
29 Dec 2012John Michael Hauck
Controlling a Schneider Electric M-Drive stepper motor with an integrated encoder and controller
Please Sign up or sign in to vote.
3 Dec 2012Member 3531622
Composable data validations
Please Sign up or sign in to vote.
19 Dec 2012Member 8225284
The article shows how to populate a TreeView and maintain its state.
Please Sign up or sign in to vote.
4 Dec 2012sadomovalex
Shows how using reverse engineering feature developers may add new conditions into string CAML queries using lambda expressions.
Please Sign up or sign in to vote.
5 Dec 2012moosa pourghafari
Get LINQ GetCommand parameters.

Current Participants

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

Web Developer
China China
Right now I am a college student.
Student
Saudi Arabia Saudi Arabia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer Systems Limited
Pakistan Pakistan
Author is a student of .Net technologies.
Software Developer
United States United States
.NET developer and architect
Software Developer
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Program Manager Infobeans
India India
I have keen interest in learning new things, exploring more on a topic and being more versatile
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
United States United States
Charles creates software for Windows and the Web. He works as a Senior Software Engineer at a leading Financial Services company.
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.
Technical Lead
Malaysia Malaysia
Official Page: www.codearteng.com
Software Developer (Senior) Senwes
South Africa South Africa
Hacking at code.....
Software Developer (Senior)
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Spain Spain
Programming since the times of good old Spectrum.
Windows developer (from C++/COM to C# now).
Software Developer (Senior)
Ireland Ireland
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
Chief Technology Officer Federfarma Pavia
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
CEO Integrated Ideas
India India
gasshopper.iics is a group of like minded programmers and learners in codeproject. The basic objective is to keep in touch and be notified while a member contributes an article, to check out with technology and share what we know. We are the "students" of codeproject.

This group is managed by Rupam Das, an active author here. Other Notable members include Ranjan who extends his helping hands to invaluable number of authors in their articles and writes some great articles himself.

Rupam Das is mentor of Grasshopper Network,founder and CEO of Integrated Ideas Consultancy Services, a research consultancy firm in India. He has been part of projects in several technologies including Matlab, C#, Android, OpenCV, Drupal, Omnet++, legacy C, vb, gcc, NS-2, Arduino, Raspberry-PI. Off late he has made peace with the fact that he loves C# more than anything else but is still struck in legacy style of coding.
Rupam loves algorithm and prefers Image processing, Artificial Intelligence and Bio-medical Engineering over other technologies.

He is frustrated with his poor writing and "grammer" skills but happy that coding polishes these frustrations.
This is a Organisation

115 members
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead Thomson Reuters
United States United States
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.

Please visit my web site: www.ikriv.com.
Software Developer (Senior) LECO Corporation
United States United States
John Hauck has been developing software professionally since 1981, and focused on Windows-based development since 1988. For the past 17 years John has been working at LECO, a scientific laboratory instrument company, where he manages software development. John also served as the manager of software development at Zenith Data Systems, as the Vice President of software development at TechSmith, as the lead medical records developer at Instrument Makar, as the MSU student who developed the time and attendance system for Dart container, and as the high school kid who wrote the manufacturing control system at Wohlert. John loves the Lord, his wife, their three kids, and sailing on Lake Michigan.
Tester / Quality Assurance
Pakistan Pakistan
Working as a Testing Automation Engineer.
Software Developer (Senior)
United States United States
I've been writing software since the late 70's, currently focusing mainly on C#.NET. I also like to travel around the world, and I own a Chocolate Factory (sadly, none of my employees are oompa loompas).
Software Developer Crypton-M
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
Instructor / Trainer
Iran (Islamic Republic of) Iran (Islamic Republic of)
professinal level of software and supporting and teacher of CEH (Certifacte ethical hacker), Network+ , C# , PHP , SQL and ... in university and other centers.
+989367266508
barnamehshop@yahoo.com
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Team Leader Delphi LLC
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect Connect In Private
Singapore Singapore
Software Architect, COM, .NET and Smartcard based security specialist.

I've been working in the software industry since I graduated in Electrical and Electronics Engineering. I chose software because I preferred digital to analog.

I started to program with 6802 machine code and evolved to the current .NET technologies... that was a long way.

For more than 20 years I have always worked in technical positions as I simply like to get my hands dirty and crack my brain when things don't go right!

After 12 years in the smart card industry I can claim a strong knowledge in security solutions based on those really small computers!
I've been back into business to design the licensing system for the enterprise solution for Consistel using a .NET smart card (yes they can run .NET CLR!)

I'm currently designing a micro-payment solution using the NXP DESFire EV1 with the ACSO6 SAM of ACS. I can then add a full proficient expertise on those systems and NFC payments.
This technology being under strict NDA by NXP I cannot publish any related article about it, however I can provide professional consulting for it.

You can contact me for professional matter by using the forum or via my LinkedIn profile.
Architect Harman International
India India
I am a Microsoft .Net developer having experience in developing enterprise applications using technologies such as WPF, Winform. Always look towards making the life simple by developing GUI based applications.
Software Developer
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) Index Multimedia
France France
Internet & Technology related professional since 1994. Passionate about WEB 2.0 and Community/Social networking related type Websites, or anything that is tech related to bridging the gap between the User and his everyday Multimedia Experience.
Help desk / Support
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
Australia Australia
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com
Software Developer (Senior)
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
India India
Working as Technical Lead for last few years and has very good exposure to ms.net technologies
Software Developer (Senior)
Egypt Egypt
I am an ERP developer using VFP9
I started as a Clipper 5.2 with DBase III+ in 1995, I worked with Access 2.0
Then I converted to VFP5.0 then VFP9, I worked on an ERP application written by FoxPro2.6

Recently, I started learning C#
I have a tendency to do generic work and build generic functions, I try to do that using C#

I'm preparing myself now to be a Framework C# programmer
First step I'll read the C# specification, when done I'll update this, I've already started this in Feb-27-2013
Software Developer (Senior)
Sri Lanka Sri Lanka
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Telerik
Bulgaria Bulgaria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Nagarro Softwares
India India
I am vijay tanwar and i am a software engineer with passion of programming. I love to programming in c#, I love to warp up more and more things in few lines of code. my favirote languages are c# and javascript and both are fully object oriended. I always like to become the .net Architect.
Technical Lead
Iran (Islamic Republic of) Iran (Islamic Republic of)
Technical manager who leads technological development activities in Fermium team. More info about Fermium team in http://fermium.co/
You must sign in to participate in this contest.
This contest has ended.
1 Dec - 31 Dec 2012