Click here to Skip to main content
14,331,586 members

Best C# article of April 2012

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.

20 Apr 2012
OriginalGriff
There is a common theme in development: storing data files in the application folder. This is bad, and wrong, and should be stamped on!
23 Apr 2012
Jovan Popovic(MSFT)
Reordering table rows using drag and drop functionality with jQuery DataTables plug-in in ASP.NET MVC applications.
19 Apr 2012
Deepak_Sharma_
This article will show how to create an auto-suggest TextBox that will suggest data from a SQL Server database column.
21 May 2012
Dave Kerr
Write your first MVVM application in ten minutes using the Apex SDK!
23 Apr 2012
Kuthuparakkal
SSIS and Excel Automation
17 Apr 2012
Nadege Rouelle
Shows how to configure Entity Framework Code First with Data Annotations and Code Fluent.
25 Apr 2012
Razi Syed
Easily bind a class to .NET data controls like GridView, FormView, etc., and get an updated object or list back in the code-behind effortlessly.
3 Apr 2012
Giorgi Dalakishvili
This post demonstrates how to use Reactive Extensions for loading data from database asynchronously in chunks.
29 Jun 2012
Horatiu-Andrei Stoianovici
This is an alternative for "Fast, memory efficient Levenshtein algorithm"
1 Apr 2010
Brian C Hart
An adaptation of Nick Thissen's article on VBForums translated to C# and bottled up into a Class Library you can just drop into your projects.
12 Apr 2012
OriginalGriff
If you haven't heard of AI Memo 239, then you need to have a look at it. It is an MIT memo from 1972 containing "clever code" and such like. Some of it is absolutely beautiful!
26 Apr 2012
Issam Ali
How to pass native (Delphi) callback pointer to a .net COM assembly
27 Apr 2012
FenRunner
This is an alternative for "A Universal WPF Find / Replace Dialog"
17 Apr 2012
abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
22 Apr 2012
ManojKumar19
How to make WCF service reference configurabe for Silverlight project(makes easy for deploying on severs like Dev, QA, UAT etc.)
27 Apr 2012
Tony Dubey
This code demonstrate pros and cons of PLINQ as compared to LINQ
23 Apr 2012
Overboard Software
QueryMap allows you to pre-translate a LINQ expression into a form that the underlying query provider (such as LINQ to SQL) can understand.
17 Jan 2013
kosmoh
Having too many files in one folder causes file manipulation to slow down the program. The class presented here is intended to provide a tree-like folder structure for file writing.
1 May 2012
Jean-Francois Lanouette
This is an alternative for "Simple & Advanced Pivots with C# and ASP.NET"
17 Apr 2012
RobertDinaro
GridView paging takes two clicks (solved).
28 Apr 2012
Jeremy Alles
In this post, I share the “journal” I wrote will porting the app so that you can follow this process with many detail.
2 Apr 2012
Wendelius
This is an alternative for "Getting publishing information for a ClickOnce deployment"
4 Apr 2012
Adrian Calinciuc
How to make/use a simple RadioList displaying an "n" state value with checkboxes.
6 Apr 2012
Chamara Janaka
Article Describes how to Generate a Simple Chart using ASP.NET chart control
8 Apr 2012
Daniel Vaughan
How to use T4 to generate Windows Phone WMAppManifest files
25 May 2012
Tauseef M
This tool is used for Encryption of Database in SQL Server 2008 Enterprise Edition
17 Apr 2012
Kunal Chowdhury «IN»
This post will allow you to understand the API of Windows Phone 7 SDK. In this post, we will learn about SaveEmailAddressTask class and its API with a simple demo.
17 Apr 2012
Nadege Rouelle
Let's see how to define our own database name using Entity Framework Code First
18 Apr 2012
Paw Jershauge
In case where DirectoryInfo.GetFiles returns too many files because of the searchpattern...
21 Apr 2012
Himanshu Manjarawala
How to report progress and intermediate results from an asynchronous process to client code.
23 Apr 2012
Andreas Gieriet
This is an alternative for "Converting InFix to PostFix using C#"
26 Apr 2012
coffee_machine
A component to add localized strings to a Form's res'x.
28 Apr 2012
Jeremy Alles
In this post, I’m sharing the aspects I discovered while trying to port a project from Windows Phone to WinRT.
2 Apr 2012
Fabrizio Stellato
Simply search data in file
4 Apr 2012
Kunal Chowdhury «IN»
How to programmatically search for a specific contact in WP7?
7 Apr 2012
Gustav Brock
This is an alternative to using LINQ for "Find the count of a weekday between two dates without iterating/looping".
9 Apr 2012
Fady Aro
General object serialization,
10 Apr 2012
Anuj Banka
Add headers in WF service client and get headers value in WF service.
10 Apr 2012
Kunal Chowdhury «IN»
This small post will help you to understand the basics about the SavePhoneNumberTask API and details about the implementation stuff with step-by-step details.
10 Apr 2012
piyush_singh
This article will help us in setting the format of date values coming from a database.
15 Apr 2012
Kunal Chowdhury «IN»
How can you programmatically retrieve a phone number from an existing contact list?
15 Apr 2012
pramod.hegde
Convert *.potx file to *.pptx file.
16 Apr 2012
Joel Ivory Johnson
Data serializer update for Windows Metro.
23 Apr 2012
Giorgi Dalakishvili
This post is part of a series about building a simple mathematical expression evaluator.
19 Apr 2012
PIEBALDconsult
This is an alternative for "Validating gender dynamically using REGEX"
20 Apr 2012
Sebastian Solnica
Performance counters are used to provide information how well the operating system or an application, service, or driver is performing.
21 Apr 2012
Kunal Chowdhury «IN»
How to retrieve an email address from a contact list with a simple example (including the internal implementation of the API).
22 Apr 2012
Shay Yannay
A tip about block blobs
25 Apr 2012
Kunal Chowdhury «IN»
SmsComposeTask of the WP7 SDK can be used to create SMS from code.
24 Apr 2012
Matt T Heffron
This is an alternative for "Legendre Symbol (C# code)"

Current Participants

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

Kunal Chowdhury «IN»
Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:




abhinavshastri
Software Developer (Senior)
India India
IT professional completed B.Tech in Computer Science with 7 years experience in design and development of Web and Windows application using Microsoft .NET Technology, C#.Net, VB.Net, ASP.NET with database in MS SQL Server 2000/2005/2008/2012 and MYSQL, Experience on full Software Development life cycle (SDLC) of software applications on web based environments.
Adrian Calinciuc
Software Developer Yonder
Romania Romania
No Biography provided
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).
Anuj Banka
Software Developer
India India
No Biography provided
Brian C Hart
Software Developer (Senior) xyLOGIX, LLC
United States United States
No Biography provided
Chamara Janaka
Software Developer Insight Software Solutions Lanka PVT Ltd
Sri Lanka Sri Lanka
No Biography provided
coffee_machine
Switzerland Switzerland
No Biography provided
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
Dave Kerr
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.
Deepak_Sharma_
Software Developer (Senior)
India India
No Biography provided
Fabrizio Stellato
Software Developer (Senior)
Italy Italy
Creator of:
Impulse Media Player http://impulsemediaplayer.codeplex.com
Audio Pitch & Shift http://audiops.codeplex.com
Ultimate Music Tagger http://umtagger.codeplex.com
Modern Log Viewer http://modernlogviewer.codeplex.com
Pitch Tuner http://pitchtuner.codeplex.com
Modern Audio Tagger http://modernaudiotagger.codeplex.com
Win Log Inspector http://windowsloganalyzer.com/win-log-inspector/
Win Log Analyzer http://windowsloganalyzer.com/win-log-analyzer/
Fady Aro
Architect
Lebanon Lebanon
Bitcoin, Ethereum - Smartcontracts, Full Stack, Architecture & Development, Music!
FenRunner
United Kingdom United Kingdom
No Biography provided
Giorgi Dalakishvili
Software Developer
Georgia Georgia
No Biography provided
Gustav Brock
Architect Cactus Data ApS
Denmark Denmark
It started with BASIC in the 80s, then moved to PDC Prolog, and then - when Access 1.0 was launched - "back to Basic", or rather Access Basic. Then followed VBA (Visual Basic for Applications) starting with Microsoft Access 95/97 and still going with Access 2016.

Still I do some VBA, but since 2008 my main focus has been C#.

Application area is mainly accounting and custom applications related to accounting.
Himanshu Manjarawala
Team Leader Automation Anywhere Inc.
India India
I am Himanshu Manjarawala, Garduate in Computer Science and MCA From Veer Narmad South Gujarat University, Surat Gijarat India. Currently working as Sr. Software Developer in Automation Anywhere Softwares Pvt. Ltd. Vadodara, Gujarat
Horatiu-Andrei Stoianovici
Student
Romania Romania
No Biography provided
Issam Ali
Software Developer (Senior)
Syrian Arab Republic Syrian Arab Republic
Software developer from Banias, Syria. I work as senior software developer in local oil company and as freelancer programmer in my free time.

http://issamsoft.com
http://blog.issamsoft.com
Jean-Francois Lanouette
Web Developer
Canada Canada
No Biography provided
Jeremy Alles
Software Developer (Junior)
France France
No Biography provided
Joel Ivory Johnson
Software Developer
United States United States
I attended Southern Polytechnic State University and earned a Bachelors of Science in Computer Science and later returned to earn a Masters of Science in Software Engineering. I've largely developed solutions that are based on a mix of Microsoft technologies with open source technologies mixed in. I've got an interest in astronomy and you'll see that interest overflow into some of my code project articles from time to time.



Twitter:@j2inet

Instagram: j2inet

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.
kosmoh
Software Developer Crypton-M
Ukraine Ukraine
No Biography provided
Kuthuparakkal
Business Analyst
United States United States
No Biography provided
ManojKumar19
Architect
United States United States
Manoj Kumar

AWS Certified Solutions Architect (Web development, Serverless, DevOps, Data)
MSSE - Cloud and Mobile Computing, San Jose State University

A wide range of experience in resolving complex business problems.

* Cloud Technologies: EC2, S3, DynamoDB & RDS databases, Lambda serverless architecture, Microservices architecture, API Gateway, Cloud Front CDN, Linux/Windows systems administration, CloudFormation, DevOps, Docker, CICD, Node.js, Python, Java and other open source technologies. Familiarity with OpenStack.
* Web Technologies: HTML5, Node.Js, MEAN Stack, AngularJS, ASP.Net Core, MVC5, CSS3, jQuery, Bootstrap, MongoDB, JavaScript, JSON, AJAX.
* Data: Experience in database architecture, Big Data, Machine Learning, BI, Data Analytics, No-SQL databases, ETL.
* Mobile: IOS/Android app development

He lives with his wife Supriya and daughter Tisya in Bay Area.
Matt T Heffron
Software Developer (Senior) Sciex
United States United States
I started programming in Basic on a DECSystem-10 as a Freshman at Caltech in 1974. I quickly transitioned to assembly language, Fortran, and Pascal. As a summer job at JPL, I did analysis of fuel consumption for the Viking Mars Orbiter attitude control system. I also spent a summer doing O/S maintenance at Digital Equipment Corporation.
After graduation, I started developing microprocessor development tools (e.g., cross-compiler, debugger) for Beckman Instruments, a scientific instrument company.
I've worked on custom file-systems, a real-time O/S for Z8000, Expert Systems (SpinPro & PepPro), and internal and external networking support (I was their first webmaster).
I've worked on the DNA analysis system.
I was the console/UI software architect for Ultracentrifuges and protein Capillary Electrophoresis systems.
After 35 years, Danaher having acquired Beckman (now Beckman Coulter), transferred the CE group to become part of Sciex (2014).
Nadege Rouelle
Architect
France France
I'm coding in .Net since 9 years, most with ASP.Net and SharePoint and a little using WPF, MVC, Windows Phone 8 and WinRT technology.
I have learned so much reading others experience and tutorials, or tips so I try to do the same, keeping learning from others of course.
You can also find my blog here : http://sharemstips.wordpress.com/
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?
Overboard Software
Software Developer (Senior)
United States United States
David Nelson has been programming in various languages for 17 years, and has been programming in .NET (C# and VB.NET) since 2003.
He is a MCTS in .NET 2.0 Web Applications, and is a moderator on the MSDN Forums (http://forums.microsoft.com/msdn).
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

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

"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
piyush_singh
Software Developer
India India
No Biography provided
pramod.hegde
Software Developer
India India
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.
RobertDinaro
Software Developer
United Kingdom United Kingdom
No Biography provided
Sebastian Solnica
Software Developer (Senior)
Poland Poland
Interested in tracing, debugging and performance tuning of the .NET applications.

My twitter: @lowleveldesign
My website: http://www.lowleveldesign.org
Shay Yannay
Software Developer Quest Software
Israel Israel
Shay Yannay is a Senior Software Developer and Windows Azure Domain Expert.
He is experienced with designing and developing highly scalable, distributed, 24x7 availability complex system. Shay also specializes in performance management & diagnostics of multi-tier applications.
He is passionate about the cloud technologies and trends, specifically with Microsoft Azure.
He currently works for Dell as an Azure Specialist.

Shay holds a B.Sc in Communication Systems Engineering from the Ben-Gurion university.

Personal Blog: http://shayyannay.wordpress.com
Tauseef M
Software Developer (Senior)
India India
I am a MCP Certified Developer with 3 years experience in .net Technology. I love writing technical articles whenever i find leisure time. According to me, "Giving a deadly desired storm to your brain might yield to an 'invention." Think about it Smile | :)
Tony Dubey
United States United States
No Biography provided
Wendelius
Architect
Europe Europe
This member does have enough reputation to be able to display their biography and homepage.






You must sign in to participate in this contest.
This contest has ended.
1 Apr - 30 Apr 2012