Click here to Skip to main content
16,017,857 members
This competition has ended

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

Current Participants

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

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:




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.
Software Developer Yonder
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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).
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.
Architect
United States United States
Dr. Brian Hart obtained his Ph.D. in Astrophysics from the University of California, Irvine, in 2008. Under Professor David Buote, Dr. Hart researched the structure and evolution of the universe. Dr. Hart is an Astrodynamicist / Space Data Scientist with Point Solutions Group in Colorado Springs, CO, supporting Space Operations Command, United States Space Force. Dr. Hart is a Veteran of the U.S. Army and the U.S. Navy, having most recently served at Fort George G. Meade, MD, as a Naval Officer with a Cyber Warfare Engineer designator. Dr. Hart has previously held positions at Jacobs Engineering supporting Cheyenne Mountain/Space Force supporting tests, with USSPACECOM/J58 supporting operators using predictive AI/ML with Rhombus Power, and with SAIC supporting the Horizon 2 program at STARCOM. Dr. Hart is well known to the community for his over 150 technical publications and public speaking events. Originally from Minneapolis/Saint Paul, Minnesota, Dr. Hart lives in Colorado Springs with his Black Lab, Bruce, and likes bowling, winter sports, exploring, and swimming. Dr. Hart has a new movie coming out soon, a documentary called "Galaxy Clusters: Giants of the Universe," about his outer space research. The movie showcases the Chandra X-ray Observatory, one of NASA’s four great observatories and the world’s most powerful telescopes for detecting X-rays. The movie has been accepted for screening at the U.S. Air Force Academy ("USAFA" for short) Planetarium and will highlight how scientists use clusters of galaxies, the largest bound objects in the Universe, to learn more about the formation and evolution of the cosmos --- as well as the space telescopes used for this purpose, and the stories of the astronauts who launched them and the scientists who went before Dr. Hart in learning more about the nature of the Universe.
Software Developer Insight Software Solutions Lanka PVT Ltd
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.
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Engineer
Switzerland Switzerland
Daniel is a former senior engineer in Technology and Research at the Office of the CTO at Microsoft, working on next generation systems.

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
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.
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.
Architect
Lebanon Lebanon
Bitcoin, Ethereum - Smartcontracts, Full Stack, Architecture & Development, Music!
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/
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
Georgia Georgia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect Cactus Data ApS
Denmark Denmark
Microsoft MVP, Most Valuable Professional, since 2017.

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 2019/365.

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.
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
Student
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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
Web Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Junior)
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
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

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.
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.
Business Analyst
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.
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.
Software Developer (Senior) Retired
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 (CE) systems.
After 35 years, Danaher having acquired Beckman (now Beckman Coulter), transferred the CE group to become part of Sciex (2014), and was on the software team that developed the new (9/2021) Sciex BioPhase Capillary Electrophoresis instrument.
---
Finally, after 43 years, 7 months, and 19 days, I am retired.
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/
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?
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).
Software Developer
Denmark Denmark
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
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.
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.
Software Developer
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)
Poland Poland
Interested in tracing, debugging and performance tuning of the .NET applications.

My twitter: @lowleveldesign
My website: http://www.lowleveldesign.org
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
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 | :)
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.
Architect
Europe Europe
Biography provided
SA Police Super
Australia Australia
I have always been interested in electronics and computers. I built my own C/PM micro system as a teenager and progressed from there to the System80, C64 and finally the PC. I've been a programmer and analyst for most of my working life in private and government employment, using languages based on BASIC and C. Most of my career was spent as a Senior Systems Analyst using PICK, Universe, D3 and VB6. I am now working in C#, .NET4 and SQL Server 2008/2012, but still keeping in touch with D3 (PICK).
Although I spend most of my time in a Windows (7 & 2008) environment, I also have a bit of a Unix background and dabble in a bit of LINUX here and there.
I'm currently the Manager IT at SA Police Super where I look after all their IT needs. I'll probably be here until I retire. So much to do...
You must sign in to participate in this contest.
This contest has ended.
1 Apr - 30 Apr 2012