Click here to Skip to main content
15,849,182 members
This competition has ended

Best overall article of December 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.
8 Mar 2017Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.
Please Sign up or sign in to vote.
27 Dec 2010Arik Poznanski
Order in Chaos: Dependency Property Value Resolution
Please Sign up or sign in to vote.
19 Feb 2015DrABELL
Technique to extend capability of standard SQL by adding the Aggregate Product Function
Please Sign up or sign in to vote.
13 Dec 2010Vangos Pterneas
Bing Translator service for Windows Phone 7
Please Sign up or sign in to vote.
3 Dec 2010Dr. Song Li
This article presents a simple method to load clean HTML fragments from the web servers using jQuery and MVC.
Please Sign up or sign in to vote.
1 Dec 2010Andrew Rissing
I'd recommend a minor tweak to your code to remove the 'magic' string of the mimeType from the code, using the following:static void Main(string[] args){ Bitmap bitMap = new Bitmap(@"test.bmp"); var codecInfo = GetEncoderInfo(ImageFormat.Gif); var paramsEncoder = new...
Please Sign up or sign in to vote.
27 Dec 2010Brij
String.IsNullOrEmpty
Please Sign up or sign in to vote.
26 Jan 2011Abhishek Sur
Internals of a Delegate
Please Sign up or sign in to vote.
8 Feb 2013Andreas Andersen
NUnit doesn't support running the tests in a fixture in parallel. A trick for getting around this limitation is given.
Please Sign up or sign in to vote.
26 Aug 2011Brian C Hart
C# code to format a certain range of Excel cells using the Format As Table button -- but from C# interop code
Please Sign up or sign in to vote.
1 Dec 2010Sebastian Solnica
Writing a .NET debugger – breakpoints
Please Sign up or sign in to vote.
26 Dec 2010#realJSOP
Can't you just call Enum.GetNames(), and then bind to the collection returned by that method?
Please Sign up or sign in to vote.
15 Dec 2010EFEaglehouse
Windows CE/Mobile printing client for LPR, LPRng, and Socket API.
Please Sign up or sign in to vote.
2 Dec 2010LloydA111
Very useful :) Perhaps a slight improvement would be for it to take the retrieved value (in this case 97) and take it away from 100?
Please Sign up or sign in to vote.
13 Dec 2010Vangos Pterneas
Photoshop templates for Windows Phone 7
Please Sign up or sign in to vote.
19 Dec 2010PIEBALDconsult
How about loading it into an XmlDocument and getting the InnerText? (Provided the HTML is well-formed XML, of course.)
Please Sign up or sign in to vote.
20 Dec 2010JHoye
Consider using the open source HTML Agility Pack library (htmlagilitypack.codeplex.com).It lets you use XPATH queries to access very specific parts of an HMTL document, and the HTML does not have to be valid, well-formed XML. In addition to accessing the raw inner text of an element you can...
Please Sign up or sign in to vote.
15 Jan 2011Don Kackman
Here is a helper class to get the current location on a Windows Phone just once
Please Sign up or sign in to vote.
19 Dec 2010VyReN
Using VB.NET's RichTextBox and fitting all text into the box
Please Sign up or sign in to vote.
19 Dec 2010SuhasHaridas
LINQ to memory objects in the .NET Compact Framework
Please Sign up or sign in to vote.
5 Jan 2011jerpat
How to get (almost) all your code in one place when using WCF together with Silverlight
Please Sign up or sign in to vote.
5 Dec 2010Gil Fink
How to Separate Self-Tracking Entities to Their Own Class Library
Please Sign up or sign in to vote.
8 Dec 2010Gil Fink
EF Feature CTP5 – Code First Fluent API
14 Dec 2010Jesse Liberty
In this tutorial we will build a meaningful, and nontrivial Windows phone 7 application. This will give us the opportunity to explore layout controls, interactive controls, Visual Studio and a good bit more.
14 Dec 2010Jesse Liberty
In this second part of the tutorial, we will describe how to wire up the MainPage.xaml.cs file and bring all of the objects in the Bird Hunt game together into a running application
Please Sign up or sign in to vote.
3 Dec 2010-james
Iterate through the results and extract using system.reflection
Please Sign up or sign in to vote.
12 Dec 2010Gil Fink
EF Feature CTP5: Inheritance Scenarios with Code First Fluent API
Please Sign up or sign in to vote.
20 Dec 2010Jay R. Wren
I'd use this only because I find 2 lines of code easier to read than all of the others above. var itemsToRemove = oldList.Except(newList).ToArray(); var itemsToAdd = newList.Except(oldList).ToArray();This will work as long as each list is actually a set. Given your description of...
Please Sign up or sign in to vote.
15 Dec 2010Mel Padden
The second in a series of posts in which I will attempt to explain JavaScript from the perspective of an OO programmer.
Please Sign up or sign in to vote.
21 Dec 2010Stefan Savev 2
Shows how to encode a closure as a class where the references are stored as mutable fields, thus removing a level of indirection
Please Sign up or sign in to vote.
5 Jan 2011MarcoBot
NOTE: If you're really wanting plain text, then you should also be sure to decode the HTML entities (System.Web.HttpUtility.HtmlDecode()) on the resulting text, or you'll wind up with HTML/XML character entity text in your output, such as & and [ If you're going to immediately output the...
Please Sign up or sign in to vote.
19 Dec 2010Brian C Hart
You know that little "Merge and Center" button in Microsoft Excel? Here's how to 'click' it in C# with Excel Interop (and this carries over to VB etc, too).
Please Sign up or sign in to vote.
5 Jan 2011Anupama Roy 1 alternative  
Read clob from Oracle
Please Sign up or sign in to vote.
8 Dec 2010Gil Fink
EF Feature CTP5 – Walkthrough For The New DbContext T4 Template One of the new features in the EF Feature CTP5 that was released yesterday was a new T4 template for generating DbContext instead of ObjectContext.
Please Sign up or sign in to vote.
22 Dec 2010Abhijit Jana
New Features of IntelliTrace Debugging in Visual Studio 2010 – Service Pack 1 Beta
Please Sign up or sign in to vote.
24 Dec 2010mbcrump
Part 4 of a series of blog posts that get right to the point and is aimed specifically at Silverlight Developers.
Please Sign up or sign in to vote.
19 Feb 2015DrABELL
Generate large data series by using Cartesian Product and small data table
Please Sign up or sign in to vote.
24 Dec 2010Shahriar Iqbal Chowdhury/Galib
Reset PLSQL sequence value
Please Sign up or sign in to vote.
19 Dec 2010cechode
I had the same problem, but Contains was a disaster waiting to happen. :(I ended up creating something like: //Lists is a list of 4 lists ( Added, Changed, Deleted , Unchanged )public static Lists Diff(List listA, List listB, IComparer PrimaryCompare, IComparer[]...
Please Sign up or sign in to vote.
11 Dec 2010Gil Fink
Using EF DbContext with WCF Data Services
Please Sign up or sign in to vote.
13 Dec 2010mbcrump
Part 3 of 4 : Tips/Tricks for Silverlight Developers
Please Sign up or sign in to vote.
26 Dec 2010M Sheik Uduman Ali
Domain Specific Language using C# 4.0 - Part 1
Please Sign up or sign in to vote.
22 Dec 2010Abhijit Jana
Does IntelliTrace support all the .NET Frameworks?
6 Dec 2010carl.b.anderson
The SharePoint List Synchronizer for Excel 2007 and 2010, presented here, allows Excel users to open SharePoint Lists in two-way sync in 2007 and 2010 versions. This very powerful feature used to work directly in Microsoft Office Excel 2003 but the update ability was deprecated in 2007.
Please Sign up or sign in to vote.
19 Dec 2010Phil J Pearson 1 alternative  
An NLog target wrapper to pass on log events when triggered by an event with a specified log level
Please Sign up or sign in to vote.
13 Dec 2010M Sheik Uduman Ali
IIS 7.0 and WAS: A Primer
Please Sign up or sign in to vote.
18 Dec 2010Gil Fink
Installing a Production Server for ASP.NET MVC 2
Please Sign up or sign in to vote.
27 Dec 2010Don Kackman
Using attributes and reflection to bind the viewmodel to the view
Please Sign up or sign in to vote.
8 Dec 2010Gil Fink
EF Feature CTP5: Raw SQL Query/Command Support
Please Sign up or sign in to vote.
23 Dec 2010M Sheik Uduman Ali
In the previous post, we have seen the service configuration of WCF federation. In this post, let us see the STS configuration.

Current Participants

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

Software Developer (Senior) Paddedwall Software
United States United States
I've been paid as a programmer since 1982 with experience in Pascal, and C++ (both self-taught), and began writing Windows programs in 1991 using Visual C++ and MFC. In the 2nd half of 2007, I started writing C# Windows Forms and ASP.Net applications, and have since done WPF, Silverlight, WCF, web services, and Windows services.

My weakest point is that my moments of clarity are too brief to hold a meaningful conversation that requires more than 30 seconds to complete. Thankfully, grunts of agreement are all that is required to conduct most discussions without committing to any particular belief system.
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
President
India India
Did you like his post?

Oh, lets go a bit further to know him better.
Visit his Website : www.abhisheksur.com to know more about Abhishek.

Abhishek also authored a book on .NET 4.5 Features and recommends you to read it, you will learn a lot from it.
http://bit.ly/EXPERTCookBook

Basically he is from India, who loves to explore the .NET world. He loves to code and in his leisure you always find him talking about technical stuffs.

Working as a VP product of APPSeCONNECT, an integration platform of future, he does all sort of innovation around the product.

Have any problem? Write to him in his Forum.

You can also mail him directly to abhi2434@yahoo.com

Want a Coder like him for your project?
Drop him a mail to contact@abhisheksur.com

Visit His Blog

Dotnet Tricks and Tips



Dont forget to vote or share your comments about his Writing
Software Developer (Senior)
Denmark Denmark
.NET developer. I wanted to be first an astronaut, then a jet pilot, but when I got a Commodore 64 for Christmas I never looked back. Also I would never have qualified for the first two things and everybody knows computer programmers get all the girls.
Architect
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.

So..If you're not moving forward, you're moving backwards.
Software Developer (Senior) Dell
India India
I am a .Net developer working on C#,Asp.net,WCF,WF etc.I would like to utilize this space to share whatever I have come across so far working in .Net so that you can also learn & explore.

I hope you find these posts useful.I’d love to hear from you,so please post in your comments/feedback.

Visit my blog http://dotnetforyou.wordpress.com/ for more technical articles:
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).
Team Leader
United States United States
Brian C. Hart, Ph.D., is a strategic engagement leader on a mission to leverage space technology to protect U.S. interests and assets against adversaries. Throughout Dr. Hart's career, he has enjoyed: Working closely with business executives to provide strategic direction and leadership, translating customer and competitive intelligence into compelling capture strategies and solutions, and mentoring teams to enhance individual and company capabilities while fostering an engaging and accountable environment, being involved in STEAM initiatives and education to develop greater awareness in the community, and serving the armed forces with the U.S. Navy and U.S. Army National Guard. He is excited to begin developing his career in Jacobs's Critical Mission Systems business unit, supporting NORAD and the U.S. Space Force.
Software Developer (Senior)
India India
Brij is a 3-times Microsoft MVP in ASP.NET/IIS Category and a passionate .NET developer. More than 6 years of experience in IT field, currently serving a MNC as a Tech Lead/Architect.

He is a very passionate .NET developer and have expertise over Web technologies like ASP.NET 2.0/3.5/4.0, jQuery, JSON, Javascript, IIS and related technologies. He is also a Exchange Server (EWS) Specialist. He has great experience in design patterns and N-Tier Architecture.

He is also certified as Microsoft Certified Technologies Specialist-ASP.NET and Microsoft Certified Technologies Specialist-WCF in .NET 4.0. He has also received several awards at various forums and his various articles got listed as "Article of the day" at ASP.NET Microsoft Official Website www.asp.net.

He has done MCA from NIT Durgapur and completed his graduation from Lucknow University.

Learning new technologies and sharing knowledge excites him most. Blogging, solving problems at various forums, helping people, keeps him busy entire day.


Visit his Blog: Code Wala

Area of Expertise :
C#, ASP.NET 2.0,3.5,4.0, AJAX, JQuery, JSON, XML, XSLT, ADO.Net, WCF, Active Directory, Exchange Server 2007 (EWS), Java script, Web Services ,Win services, DotnetNuke, WSS 3.0,Sharepoint Designer, SQL Server 2000/2005/2008
Software Developer SoftFluent
France France
Carl Anderson is a .NET consultant at SoftFluent. You can contact him at carl "dot" anderson "at" softfluent "dot" com.
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 Starkey Laboratories
United States United States
The first computer program I ever wrote was in BASIC on a TRS-80 Model I and it looked something like:
10 PRINT "Don is cool"
20 GOTO 10

It only went downhill from there.

Hey look, I've got a blog
United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.
Engineer
United States United States
Dr. Alexander Bell (aka DrABell), a seasoned full-stack Software (Win/Web/Mobile) and Data Engineer holds PhD in Electrical and Computer Engineering, authored 37 inventions and published 100+ technical articles and developed multiple award-winning apps (App Innovation Contests AIC 2012/2013 submissions) Alexander is currently focused on Microsoft Azure Cloud and .NET 6/8 development projects.

  1. HTML5/CSS3 graphic enhancement: buttons, inputs
  2. HTML5 Tables Formatting: Alternate Rows, Color Gradients, Shadows
  3. Azure web app: Engineering Calculator VOLTMATTER
  4. Azure: NYC real-time bus tracking app
  5. Quiz Engine powered by Azure cloud
  6. 'enRoute': Real-time NY City Bus Tracking Web App
  7. Advanced CSS3 Styling of HTML5 SELECT Element
  8. Aggregate Product function extends SQL
  9. YouTube™ API for ASP.NET
Architect SunCat Services
United States United States
Ed is a veteran programmer of over 30 years. He designs and builds myriad enterprise applications improving the service quality of numerous international, national, and local manufacturers and distributors. He also brought the first publicly-available commercial Internet service to Akron, Ohio - not for profit but to provide the community with a desired service. Ed continually strives to learn the most effective skills and techniques in order to provide the greatest benefits to his customers.
Technical Lead sparXys
Israel Israel
Gil Fink is a web development expert and ASP.Net/IIS Microsoft MVP. He is the founder and owner of sparXys. He is currently consulting for various enterprises and companies, where he helps to develop Web and RIA-based solutions. He conducts lectures and workshops for individuals and enterprises who want to specialize in infrastructure and web development. He is also co-author of several Microsoft Official Courses (MOCs) and training kits, co-author of "Pro Single Page Application Development" book (Apress) and the founder of Front-End.IL Meetup. You can read his publications at his website: http://www.gilfink.net
Founder
United States United States
I have a BS in Computer Science. Interests include PHP, Swift, GOLang, and any flavor of SQL.
Web 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.
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) Telerik
United States United States
Jesse Liberty is a Technical Evangelist for Telerik. Liberty hosts the popular Yet Another Podcast and his blog is required reading. He is the author of numerous best-selling books, including two forthcoming books on Windows 8. He was a Senior Evangelist for Microsoft, Distinguished Software Engineer at AT&T; Software Architect for PBS and Vice President of Information Technology at Citibank. Jesse can be followed on twitter at @JesseLiberty
Web 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.
United Kingdom United Kingdom
Interested in:

Electronics
Programming
Embedded Systems
PIC Microcontrollers
Low level hardware and system programming (Including OS and driver development)
Favourite languages: Assembler, C, Python.
Architect Aditi
India India
Working as Architect for Aditi, Chennai, India.

My Website: www.udooz.net

My Blog: www.udooz.net/blog
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) Telerik
United States United States
Michael Crump is a Silverlight MVP and MCPD that has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

He has worked at Fortune 500 companies where he gained experience in embedded systems design and software development to systems administration and database programming, and everything in between.

His primary focus right now is developing healthcare software solutions using Microsoft .NET technologies. He prefers building infrastructure components, reusable shared libraries and helping companies define, develop and automate process standards and guidelines.

You can read his blog at: MichaelCrump.net or follow him on Twitter at @mbcrump.
Architect UBS AG
Switzerland Switzerland
Mel Padden:

Musician, papier maché guru, international authority on the modern crisp, and sometime software developer based in Zurich, Switzerland and Dublin, Ireland.

http://www.linkedin.com/in/melpadden
Software Developer (Senior)
England England
Started my career as an electronics engineer.

Started software development in 4004 assembler.

Progressed to 8080, Z80 and 6802 assembler in the days when you built your own computer from discrete components.

Dabbled in Macro-11 and Coral66 by way of a small digression.

Moved on to C, first on Z80s and then on PCs when they were invented.

Continued to C++ and then C#

Now working mostly in C# and XAML while maintaining about half a million lines of C++
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 (Senior)
Poland Poland
Interested in tracing, debugging and performance tuning of the .NET applications.

My twitter: @lowleveldesign
My website: http://www.lowleveldesign.org
Architect
United States United States
Physics, physical and quantum optics, mathematics, computer science, control systems for manufacturing, diagnostics, testing, and research, theory of music, musical instruments… Contact me: https://www.SAKryukov.org
Chief Technology Officer
Bangladesh Bangladesh
I am a Software Engineer and Microsoft .NET technology enthusiast. Professionally I worked on several business domains and on diverse platforms. I love to learn and share new .net technology and my experience I gather in my engineering career. You can find me from here

Personal Site
Personal Blog
FB MS enthusiasts group
About Me
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 Standout IT Solutions(P) Ltd.
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
CEO LightBuzz
United States United States
Vangos Pterneas is a Microsoft Most Valuable Professional in the Kinect technology. He helps companies from all over the world grow their revenue by creating profitable software products. Vangos is the founder of LightBuzz Inc. and author of two technical books.
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.
You must sign in to participate in this contest.
This contest has ended.
1 Dec - 31 Dec 2010