Click here to Skip to main content
14,932,691 members
This competition has ended

Best C# article of May 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.
23 Jan 2014
Alberto Biafelli
How to make a simple web server which supports GZIP compression, applications, and sessions.
Please Sign up or sign in to vote.
23 May 2012
Shweta Lodha
Reducing flicker and blinking in DataGridView.
Please Sign up or sign in to vote.
10 Jun 2012
Vitaly Tomilov
Simple way of mapping HttpHandler requests into controller/action
Please Sign up or sign in to vote.
23 May 2012
wim4you
This article describes one way of using the WPF TreeView to create tabbed Navigational Trees using MVVM for use in a File Explorer. In a next planned article a Tabbed Folder Plane will be added.
Please Sign up or sign in to vote.
19 Jan 2013
Alessio Saltarin
Unsatisfied by the WPF Font Pickers available, I decided to write one on my own (well, almost...)
Please Sign up or sign in to vote.
29 May 2012
Clifford Nelson
A runtime variables class to support multiple application development.
Please Sign up or sign in to vote.
22 May 2012
Nicolas Dorier
How to unit test network resources access : The hacker way.
Please Sign up or sign in to vote.
18 May 2012
hoonzis
This article describes how to use KnockoutJS, JQuery and Google Maps to create a responsive GUI of web applications. The usage of MVVM helps to keep JavaScript code organized and easy to evolve and maintain.
Please Sign up or sign in to vote.
1 May 2012
Ivan Ičin
Custom WinForm ToolStrip that fixes some of the ToolTip related problems and adds few related features
Please Sign up or sign in to vote.
18 Jun 2012
Mark Kruger
API which shows a Selection Overlay and notifies the caller when it's resizing and notifies the final rectangle.
Please Sign up or sign in to vote.
6 May 2012
CodingBruce
How to use a Linq2Xsd generated object to directly manipulate XmlSchema
Please Sign up or sign in to vote.
18 May 2012
deeptibansal
Adding event to Microsoft Outlook through Web Application
Please Sign up or sign in to vote.
13 Apr 2013
Azim Zahir
Creating a spell check enabled RichText editor.
Please Sign up or sign in to vote.
8 May 2012
Jeff B. Cromwell
This article examines the use of the ABMath and MathNet .NET packages for time series analysis.
Please Sign up or sign in to vote.
16 May 2012
Chamila Nishantha
Following article describes how to add a gridview and a horizontal scrollbar without depending on the screen resolution
Please Sign up or sign in to vote.
3 May 2012
Shenwei Liu
The article series shows how to upgrade a Silverlight application having basic patterns to the MVVM and MEF composable patterns with easy approaches and detailed coding explanations.
Please Sign up or sign in to vote.
7 May 2012
Sankar Subramanian
How to convert number to word, number to eqviualent word, change number to word , how to convert number to text
Please Sign up or sign in to vote.
9 May 2012
Guillaume Waser
WPF Progress controls and comparing related threads methods
Please Sign up or sign in to vote.
3 May 2012
Gary H Guo
Discuss object decoration, functional programming and dynamic behaviors
Please Sign up or sign in to vote.
4 May 2012
jstntham
Utility to auto generate individual Stored Procedure classes corresponding to each Stored Procedure on a Microsoft SQL Server database.
Please Sign up or sign in to vote.
15 May 2012
Saikumar Koona
How to make a component dynamically load the config file.
Please Sign up or sign in to vote.
16 May 2012
OriginalGriff
Loading an image from a database isn't difficult, but it can waste time. If you are loading a large list of Images (or even thumbnails) from a DB but not using them immediately, then it can take some considerable time. Why not load them on demand instead?
Please Sign up or sign in to vote.
29 May 2012
Razi Syed
This is an alternative for "How to post back to the server using JavaScript in ASP.NET"
Please Sign up or sign in to vote.
7 May 2012
coolnavjot31
Custom paging with only 10 pages shown in pager.
Please Sign up or sign in to vote.
3 May 2012
igorvelho
VS2010 AddIn that allows to create a solution adding multiple projects at same time
Please Sign up or sign in to vote.
8 May 2012
Jayson Ragasa
Expose those class members written in .NET, in VB6
Please Sign up or sign in to vote.
20 May 2012
hjgode
How can you achieve a kiosk mode application, where the user is only allowed to do what you define.
Please Sign up or sign in to vote.
29 May 2012
Erol Esen
Two relatively new ways of developing multi-threaded applications are compared: Synchronization Domains and the Task Parallel Library
Please Sign up or sign in to vote.
14 May 2012
taha bahraminezhad Jooneghani
Problem around .first() method in EF and a good solution
Please Sign up or sign in to vote.
18 May 2012
PIEBALDconsult
This is an alternative for "The Elegant Art of Programming"
Please Sign up or sign in to vote.
27 May 2012
Yumashin Alex
This tip describes how to change DataGridView behavior concerning row resizing
Please Sign up or sign in to vote.
29 May 2012
Mabchour 1989
Winform app to edit EDIFACT files to remove non-printable ASCII chars
Please Sign up or sign in to vote.
9 May 2012
Paul Marques
Simple way to do internationalization on your Windows Phone app.
Please Sign up or sign in to vote.
14 May 2012
Mossmyr
Converts any integer (32-bit) into its numeral (string)
Please Sign up or sign in to vote.
14 May 2012
Mohamed Amine Aboura
Using Google Search By Image within your .NET application
Please Sign up or sign in to vote.
26 May 2012
pramodchand
Using collection of UserControls in WinForm since WinForm does not have a control like DataList server control of WebForm.
3 May 2012
Peter Hanustiak
Resco offers classes that create universal interface that can access barcode scanners of various devices. This means that one application will be able to scan barcodes from different devices.
7 May 2012
Yoisel Melis Santana
PDF forms or AcroForms allow users to interactively edit specific portions of a PDF document. A PDF form is composed by AcroForm fields that provide a name-value association. This paper will focus on how to provide client and server AcroForm editing capabilities to your Silverlight application.
Please Sign up or sign in to vote.
21 May 2012
Tim Corey
Learn how to go from being an absolute beginner in the Managed Extensibility Framework to being an advanced user.
Please Sign up or sign in to vote.
17 Sep 2013
Jani Giannoudis
Design patterns on the presentation layer for WPF, Silverlight and Windows Phone applications.
Please Sign up or sign in to vote.
7 May 2012
Sperneder Patrick
This article describes how to handle and use the SpeechRecognitionEngine class that is shipped with and since .NET 3.0.
Please Sign up or sign in to vote.
7 May 2012
Vitaliy Shibaev
This article describes how to use Javascript code to create interactive PDF documents.
Please Sign up or sign in to vote.
30 May 2012
Miloslav Beno
This article describes how to extend WordPress with plugins written in C# and shows very first C# plugin for this system.
Please Sign up or sign in to vote.
25 May 2012
CodingBruce
Self-installing version tracking REST service for builds
Please Sign up or sign in to vote.
10 Jun 2012
Jovan Popovic(MSFT)
This article explains how you can use functional programming in C#.
Please Sign up or sign in to vote.
19 Jun 2012
David Catriel
How to get a list of data rows that caused an exception (or several of them) in a SqlBulkCopy operation
Please Sign up or sign in to vote.
5 May 2012
Duc Huy Nguyen
Wrap a C# library for use in Java, a folktale about an idiot coding at midnight.
Please Sign up or sign in to vote.
14 May 2012
Andreas Gieriet
Make floating point equality and relation operators reliable based on a comparison epsilon value.
Please Sign up or sign in to vote.
18 Jul 2012
Yves Vaillancourt
Adding an extension method to LINQ to flatten any hierarchical collection
Please Sign up or sign in to vote.
27 May 2012
Sacha Barber
A look at several Document database, and a look at how to use them

Current Participants

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

Alberto Biafelli
Software Developer
United Kingdom United Kingdom
Alberto Biafelli,
Software Developer
Alessio Saltarin
Software Developer (Senior)
Italy Italy
Alessio Saltarin is Certified IT Architect and Senior Software Developer. He writes articles and book reviews for some italian magazines. He is the author of "Ruby e Rails" book.
Andreas Gieriet
Founder eXternSoft GmbH
Switzerland Switzerland
I feel comfortable on a variety of systems (UNIX, Windows, cross-compiled embedded systems, etc.) in a variety of languages, environments, and tools.
I have a particular affinity to computer language analysis, testing, as well as quality management.

More information about what I do for a living can be found at my LinkedIn Profile and on my company's web page (German only).
Azim Zahir
Instructor / Trainer NIIT, India
India India
I am a trainer by profession. Currently I am working with NIIT (Mumbai, India) as a Senior Faculty. I enjoy programming as a hobby. My favorite technologies are Flash, Flex and Silverlight.

Of late I have developed keen interest in WPF and Windows Mobile programming.

Apart from computers, my favorite pastime is bicycling.
Chamila Nishantha
Software Developer
Sri Lanka Sri Lanka
No Biography provided
Clifford Nelson
Software Developer (Senior) Clifford Nelson Consulting
United States United States
Has been working as a C# developer on contract for the last several years, including 3 years at Microsoft. Previously worked with Visual Basic and Microsoft Access VBA, and have developed code for Word, Excel and Outlook. Started working with WPF in 2007 when part of the Microsoft WPF team. For the last eight years has been working primarily as a senior WPF/C# and Silverlight/C# developer. Currently working as WPF developer with BioNano Genomics in San Diego, CA redesigning their UI for their camera system. he can be reached at qck1@hotmail.com.
CodingBruce
Engineer Big Company
United States United States
My professional career began as a developer fixing bugs on Microsoft Word97 and I've been fixing bad habits ever since. Now I do R&D work writing v1 line of business applications mostly in C#/.Net.

I've been an avid pilot/instructor for 13+ years, I've built two airplanes and mostly fly gliders now for fun. I commute in an all-electric 1986 BMW 325 conversion.

I'd like to get back to my academic roots of programming 3D analysis applications to organize complex systems.
coolnavjot31
Software Developer
India India
No Biography provided
David Catriel
Team Leader
Canada Canada
A developer that's been tinkering with computers since he first laid eyes on his buddy's Atari in the mid 80's and messed around with GWBasic and Logo. He now divides his time among his wife, kids, and evil mistress (a term lovingly [ahem...] given to his computer by the wife ...).

For more info, please see my LinkedIn profile: http://www.linkedin.com/pub/david-catriel/44/b01/382
deeptibansal
Software Developer
India India
No Biography provided
Duc Huy Nguyen
Vietnam Vietnam
Oops!
Erol Esen
Software Developer (Senior)
United States United States
No Biography provided
Gary H Guo
United States United States
Object-oriented (OO) is about "classes" not "objects". But I truly believe that "objects" deserve more our attentions. If you agree, read more on... Dynamic Object Programming (DOP), Component-Based Object Extender (CBO Extender), AOP Container and Dynamic Decorator Pattern.

Mobile development is not just another type of front end. The real challenge is actually in the back end: How to present meaningful information in time to mobile users with exponentially increased data flooding around? Here is my first mobile solution: SmartBars - Barcode Reader, Price Comparison and Coupons.

Gary lives in southeast Michigan. My first programming language is FORTRAN. For the last a few years, I have primarily focused on .NET technologies with Mobile Development as my newest interest.
Guillaume Waser
Architect
France France
WPF and MVVM fan, I practice C # in all its forms from the beginning of the NET Framework without mentioning C ++ / MFC and other software packages such as databases, ASP, WCF, Web & Windows services, Application, and now Core and UWP.
In my wasted hours, I am guilty of having fathered C.B.R. and its cousins C.B.R. for WinRT and UWP on the Windows store.
But apart from that, I am a great handyman ... the house, a rocket stove to heat the jacuzzi and the last one: a wood oven for pizza, bread, and everything that goes inside

https://guillaumewaser.wordpress.com/
https://fouretcompagnie.wordpress.com/
hjgode
Germany Germany
No Biography provided
hoonzis
Software Developer (Junior) OCTO Technology
Czech Republic Czech Republic
Writing software at ITG RFQ-hub.
LinkedIn
Blog
GitHub
Articles at OCTO blog
igorvelho
Software Developer
Brazil Brazil
No Biography provided
Ivan Ičin
CEO Labsii
Serbia Serbia
Speech Central app on Windows, macOS, iOS, Apple TV, Android
Jani Giannoudis
Software Developer (Senior)
Switzerland Switzerland
No Biography provided
Jayson Ragasa
Founder Capploud
Philippines Philippines
I am an experienced Applications Developer and had worked professionally for over 6 years. I have been writing codes and building different applications for over 13+ years. My work is mostly for Microsoft technologies such as .NET. Yes I am Microsoft technology enthusiast.

My field of expertise in .NET technology are Desktop and Windows Mobile and Windows Phone. I occasionally write ASP.NET too for clients.

I have wide experience of different programming languages and scripts such as: Turbo Pascal, Batch Scripts, C/C++, Visual Basic Classic, Visual Basic .NET, Java, HTML, CSS, ASP Classic, VB Script, ASP.NET, T-SQL, MySQL, PHP, C#, Javascript, jQuery, HTML5, RegEx, XAML, XML, JSON, and XPath

I am also experienced in different platforms such as: Google Data API, Google Map API, Twitter API, Facebook API, Flickr API, Skydrive API, SVN, GitHub, Drupal, and Orchard.

I am interested in Microsoft technologies, User Experience and User Interfaces, Algorithms, Robotics, Astronomy, Architecture, Electrical, Mechanics, and Extra Therestrial Life on other planets.

I am also offering free coding and application development consultations with students having a problem with their Thesis projects.

View my full Curriculum Vitae here
http://ss.jaysonragasa.net/?mycv
Jeff B. Cromwell
CEO The Cromwell Workshop
United States United States
Dr. Jeff B. Cromwell is the CEO/Neuroeconomist at The Cromwell Workshop.

Scholar Site: http://independent.academia.edu/JeffCromwell
Web Site: www.cromwellworkshop.com
Jovan Popovic(MSFT)
Program Manager Microsoft
Serbia Serbia
Graduated from Faculty of Electrical Engineering, Department of Computer Techniques and Informatics, University of Belgrade, Serbia.
Currently working in Microsoft as Program Manager on SQL Server product.
Member of JQuery community - created few popular plugins (four popular JQuery DataTables add-ins and loadJSON template engine).
Interests: Web and databases, Software engineering process(estimation and standardization), mobile and business intelligence platforms.
jstntham
Web Developer
Malaysia Malaysia
software/web development has always been a passion for me, started off with a beginners course in 1986 and got hooked ever since.
Mabchour 1989
Student
Morocco Morocco
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Mark Kruger
Netherlands Netherlands
No Biography provided
Miloslav Beno
Software Developer DEVSENSE s.r.o
Czech Republic Czech Republic
Miloslav is software developer of open-source PHP compiler & runtime for .NET/Mono called Phalanger and PHP Tools for Visual Studio. He's graduated at Faculty of Mathematics and Physics at Charles University in Prague. Beside of compilers and dynamic languages he is also interested in semantic web technologies. Available on twitter @miloslavbeno
Mohamed Amine Aboura
Software Developer
Algeria Algeria
No Biography provided
Mossmyr
Sweden Sweden
This member doesn't quite have enough reputation to be able to display their biography and homepage.
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 | :)
OriginalGriff
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?
Paul Marques
Software Developer ByteMarq
United Kingdom United Kingdom
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Peter Hanustiak
Unknown
No Biography provided
PIEBALDconsult
Software Developer (Senior)
United States United States
BSCS 1992 Wentworth Institute of Technology

Originally from the Boston (MA) area. Lived in SoCal for a while. Now in the Phoenix (AZ) area.

OpenVMS enthusiast, ISO 8601 evangelist, photographer, opinionated SOB, acknowledged pedant and contrarian

---------------

"I would be looking for better tekkies, too. Yours are broken." -- Paul Pedant

"Using fewer technologies is better than using more." -- Rico Mariani

"Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed?’" -- Steve McConnell

"Every time you write a comment, you should grimace and feel the failure of your ability of expression." -- Unknown

"If you need help knowing what to think, let me know and I'll tell you." -- Jeffrey Snover [MSFT]

"Typing is no substitute for thinking." -- R.W. Hamming

"I find it appalling that you can become a programmer with less training than it takes to become a plumber." -- Bjarne Stroustrup

ZagNut’s Law: Arrogance is inversely proportional to ability.

"Well blow me sideways with a plastic marionette. I've just learned something new - and if I could award you a 100 for that post I would. Way to go you keyboard lovegod you." -- Pete O'Hanlon

"linq'ish" sounds like "inept" in German -- Andreas Gieriet

"Things would be different if I ran the zoo." -- Dr. Seuss

"Wrong is evil, and it must be defeated." –- Jeff Ello

"A good designer must rely on experience, on precise, logical thinking, and on pedantic exactness." -- Nigel Shaw

“It’s always easier to do it the hard way.” -- Blackhart

“If Unix wasn’t so bad that you can’t give it away, Bill Gates would never have succeeded in selling Windows.” -- Blackhart

"Use vertical and horizontal whitespace generously. Generally, all binary operators except '.' and '->' should be separated from their operands by blanks."

"Omit needless local variables." -- Strunk... had he taught programming
pramodchand
United States United States
No Biography provided
Razi Syed
Software Developer (Senior)
United States United States
My area of expertise is developing management database systems for business so that they can efficiently store and lookup existing customer's information and related data, and be able to generate various reports. My goal is to always deliver innovative design and a user friendly interface.
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
Saikumar Koona
Architect
India India
I work as a Technical Architect at one of the leading US-based Organization., I am passionate to learn new thing and love to share my observations and learnings via. articles.
No Biography provided
Shenwei Liu
United States United States
Shenwei is a software developer and architect, and has been working on business applications using Microsoft and Oracle technologies since 1996. He obtained Microsoft Certified Systems Engineer (MCSE) in 1998 and Microsoft Certified Solution Developer (MCSD) in 1999. He has experience in ASP.NET, C#, Visual Basic, Windows and Web Services, Silverlight, WPF, JavaScript/AJAX, HTML, SQL Server, and Oracle.
Shweta Lodha
Technical Lead
India India
You can also follow me at my blog http://www.shwetalodha.blogspot.in/
Sperneder Patrick
Software Developer (Senior)
Austria Austria
No Biography provided
taha bahraminezhad Jooneghani
Software Developer (Senior)
Iran (Islamic Republic of) Iran (Islamic Republic of)
Taha has started programming at the age of 16 and he has taken an avid interest in Microsoft technologies. He professionally works on ASP.NET and C#. Mainly, He lives for getting the world into codes and follows this aspiration in a third world country with lack of facility and support. He never gives up seeking success and competence.
Tim Corey
Software Developer (Senior) DeGarmo
United States United States
I am currently a Senior Software Developer at a company in Illinois called DeGarmo. My primary skills are in .NET, SQL, JavaScript, and other web technologies although I have worked with PowerShell, C, and Java as well.

In my previous positions, I have worked as a lead developer, professor and IT Director. As such, I have been able to develop software on a number of different types of systems and I have learned how to correctly oversee the overall direction of technology for an organization. I've developed applications for everything from machine automation to complete ERP systems.

I enjoy taking hard subjects and making them easy to understand for people unfamiliar with the topic.
Vitaliy Shibaev
Software Developer Bit Miracle
Russian Federation Russian Federation
Vitaliy Shibaev is a developer and co-founder of Bit Miracle, company developing the Docotic.Pdf, Jpeg2000.Net, LibTiff.Net libraries.

Docotic.Pdf - pure .NET library for PDF processing. It is a high-quality library for text extraction, PDF to image conversion, compressing PDF, and other PDF tasks.

Jpeg2000.Net - the library for encoding/decoding JPEG 2000 images in .NET.
Vitaly Tomilov
Software Developer (Senior) Sibedge IT
Ireland Ireland
My online CV: cv.vitalytomilov.com
wim4you
Netherlands Netherlands
Retired hobby programmer.
Yoisel Melis Santana is a senior software developer with more than 10 years of experience in web and mobile application design and development. He has joined Amyuni Technologies three years ago and has since acquired considerable experience in PDF technologies and their applications in the mobile development field. Yoisel can be reached by email or through our online contact form at http://www.amyuni.com/en/company/contactform/.
Yumashin Alex
Software Developer (Senior)
Russian Federation Russian Federation
No Biography provided
Yves Vaillancourt
Architect CGI
Canada Canada
No Biography provided
You must sign in to participate in this contest.
This contest has ended.
1 May - 31 May 2012