Click here to Skip to main content
15,885,998 members
This competition has ended

Best C# article of September 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.
22 Sep 2010Guillaume Waser
Reflection Studio is a "developer" application for assembly, database, performance, and code generation, written in C# under WPF 4.0.
Please Sign up or sign in to vote.
11 Oct 2011Enrique Albert
Baseline WCF Distribution Layer - Decoupling of WCF Services and ViewModels.
Please Sign up or sign in to vote.
19 Oct 2010Florin Badea
This article presents a way to apply data templates dynamically by type in the Windows Phone 7 platform
Please Sign up or sign in to vote.
15 Sep 2010Yury Goltsman
Extending functionality by wrapping entity using DynamicObject. Improving performance of Reflection by using cache and expressions
Please Sign up or sign in to vote.
3 Sep 2010Abhijit Jana
In this post, I have explained how you can mark methods as obsolete using obsolete attributes which are not in use or may be removed in upcoming builds.
Please Sign up or sign in to vote.
6 Sep 2010DaveyM69
How to convert a generic List of derived types to a generic list of base types.
Please Sign up or sign in to vote.
16 Sep 2010Simon Dufour
If you don't need to check for other strings than True or False, then, you should use Boolean.Parse or Boolean.TryParse.// Return trueBoolean.Parse("true");// Return falseBoolean.Parse("false");// Exception.. you can prevent that from happening by using a try..catch// or using...
Please Sign up or sign in to vote.
16 Sep 2010Alex Soya
A simple console utility that allows you to query and modify port mappings on a UPnP enabled home networking router.
Please Sign up or sign in to vote.
13 Sep 2010Ron Beyer
using System;using System.Runtime;using System.Runtime.InteropServices;public static class InternetConnectionStatus{ [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int Description, int Reserved); public static bool Connected() { ...
Please Sign up or sign in to vote.
22 Sep 2010Hossein Ghahvei Araghi
This article is about DSL and SQL Server Modeling
Please Sign up or sign in to vote.
30 Sep 2010David Furshpan
A simple code that shows how to create, bind and inject View and ViewModel
Please Sign up or sign in to vote.
7 Sep 2010Joel Ivory Johnson
Continuation of a blog post on Windows Phone 7 programming. This part covers playing sounds using XNA
Please Sign up or sign in to vote.
27 Sep 2010Not Active
A Visual Studio 2010 SharePoint 2010 extension to import existing list definition and schema to SharePoint 2010 project
Please Sign up or sign in to vote.
29 Jun 2017outcoldman
Config Transformation Tool: Using XDT Transformation
Please Sign up or sign in to vote.
6 Sep 2010Abhishek Sur
Use of Expression Trees in .NET for Lambda Decomposition
Please Sign up or sign in to vote.
9 Sep 2010CodingBruce
When you want an application to trigger on an event (timer, system, file, etc.), but you don't want the overhead of the service manager
Please Sign up or sign in to vote.
14 Sep 2010Gil Fink
A post that explains how to enable client side validation in ASP.NET MVC 2.
Please Sign up or sign in to vote.
21 Sep 2010Martin Jarvis
Protect against POET Attacks with Custom Errors!
Please Sign up or sign in to vote.
29 Sep 2010outcoldman
This is a small sample of using code contracts.
Please Sign up or sign in to vote.
1 Jul 2017outcoldman
C# 4.0 in a Nutshell, Fourth Edition
Please Sign up or sign in to vote.
28 Sep 2010Oddleif Halvorsen
Ever been in a situation where you need to modify a SharePoint master page, but really would like not having to create a custom master page? It can be done. Sure, this depends on the amount of customizations, but in a lot of situations you can do what you need from code.
Please Sign up or sign in to vote.
21 Sep 2010Mohammad Elsheimy
This is another article that talks about URL shortening services. Today we are going to talk about Cligs, one of the popular shortening services on the web.
Please Sign up or sign in to vote.
3 Sep 2010TheyCallMeMrJames
A 30 minute walkthrough of the Azure PhluffyFotos application, followed by some comments and exploration of the solution.
Please Sign up or sign in to vote.
20 Sep 2010User 6619207
Make your application extensible with Reflection
Please Sign up or sign in to vote.
7 Sep 2010Martin Jarvis
Yummy! Cleaner, sweeter WCF proxy usage with DynamicTidyProxy!
Please Sign up or sign in to vote.
7 Sep 2010Member 2722225
what about this one :if (new frm().ShowDialog().Equals(true)) { //do something }
Please Sign up or sign in to vote.
7 Sep 2010hjgode
A simple taskbar addon showing the WiFi signal strength
Please Sign up or sign in to vote.
8 Sep 2010rudigrobler
ClickOnce
8 Sep 2010Dundas Data Visualization
Dundas Dashboard is a turnkey Silverlight data visualization solution that lets companies create interactive dashboards and scorecards, all in a rich internet application (RIA) environment. This article will show the many powerful options for developers to customize and extend to get exactly what t
Please Sign up or sign in to vote.
9 Sep 2010rudigrobler
Scaffolding and Navigation
Please Sign up or sign in to vote.
8 Mar 2011Frank Kerrigan
Handling 301 Redirects in ASP.NET form basic page control to HHTP modules
Please Sign up or sign in to vote.
21 Sep 2010anshudutta
Please Sign up or sign in to vote.
21 Sep 2010rudigrobler
Silverlight for Windows Phone Toolkit is Loopy
Please Sign up or sign in to vote.
21 Sep 2010Mohammad Elsheimy
Just another article of the URL shortening services series. Today, we are going to talk about another hot and easy-to-use service, it's Tweetburner. If you haven't used it before, then it's the time to. We're going to discuss how to use Tweetburner first. After that, we'll inspect its API and learn
27 Sep 2010Resco Developer Tools
Mobile business has never been as fast-paced as today. It’s just a few years back when there were only two main rivals — Microsoft and Palm, and there were no internet capable Smartphones. Now we see people using their iPhone, Windows Mobile, or Android Smartphones every day in various situations.
Please Sign up or sign in to vote.
29 Sep 2010outcoldman
Config transformation tool: parameter support
Please Sign up or sign in to vote.
29 Sep 2010outcoldman
Wrox–Professional WCF 4–Windows Communication Foundation with .NET 4
Please Sign up or sign in to vote.
29 Sep 2010outcoldman
RESTful WCF Service – How to get browser version at server code
Please Sign up or sign in to vote.
17 May 2011Yevhen Bobrov
Simplifying programming of asynchronous WCF service calls and asynchronous programming in general.
Please Sign up or sign in to vote.
13 Oct 2010Reinhard Ostermeier
In .NET 4.0, you can also use the new System.Environment.Is64BitOperatingSystem and System.Environment.Is64BitProcess
Please Sign up or sign in to vote.
11 Sep 2010Renil Joy, Bangalore
Custom Rule Engine approach which can evaluate complex combinations of business rules. A sample application is provided in WPF following the MVVM pattern.
Please Sign up or sign in to vote.
14 Oct 2010Marcelo Ricardo de Oliveira
Discover how to create complex stick figure animations using simple WPF or Silverlight elements.
Please Sign up or sign in to vote.
3 Nov 2010Samuel Cragg
Hosting Direct2D content in WPF controls.
Please Sign up or sign in to vote.
7 Sep 2010Nitin Kunte
Online Rich Text Editor with Mail Merge and download file as Word option
Please Sign up or sign in to vote.
11 Oct 2011Enrique Albert
WPF ICommand implementation based on Josh Smith's pattern.
Please Sign up or sign in to vote.
23 Sep 2010Roman Kiss
This article describes the design, implementation and usage of the Enterprise Variables stored in the Repository.
Please Sign up or sign in to vote.
5 Apr 2013Steve Marsh
The LEDBulb is a .NET user control for Windows Forms that emulates an LED light. Its purpose is to provide a sleek looking representation of an LED light that is sizable, has a transparent background and can be set to different colors.
Please Sign up or sign in to vote.
12 Sep 2010TheCodeKing
A step by step guide to getting Log4Net working with the .NET Client Profile

Current Participants

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

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) Logan Industries, Inc.
United States United States
Alex is a software developer and project manager at Logan Industries in Melbourne Florida.

His skills include Windows Server management, router configuration, and software development in C, C++, and C#.

Alex started developing software in the days of Turbo Pascal (Borland) and 8080 assembly language. He progressed through the various stages of coding on various operating system platforms including MP/M-86, Concurrent DOS, MS-DOS, Unix and Windows. He is now most active in the .NET environment using C# and the Visual Studio development platform.
Software Developer (Senior)
Australia Australia
I am a Senior Software Developer / Technical Consultant in a leading software company.
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
CEO Dave Meadowcroft
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.
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
Since 1992 Dundas Data Visualization has been helping companies all over the world visualize their data. Dundas products have a global reputation of being the highest quality, and are all designed, built and tested to meet the strictest requirements that developers and business managers demand.

Our showcase product is Dundas Dashboard, an easy-to-integrate digital dashboard software solution. Dundas Dashboard allows for the rapid and collaborative development of performance dashboards, helping companies leverage their business intelligence (BI) solutions.

Our web-based dashboard software comes with wizard interfaces, and a unique Dundas DashFlowTM process, allowing for the simultaneous development of an executive dashboard by business analysts, IT staff and database administrators. It also uses premier charts, maps, gauges and graph controls, letting end-users visualize their data as required.

Dundas also offers superb, world class consulting services for those companies that do not have the in-house expertise to implement their data visualization projects.

The quality of our products in conjunction with our unmatched technical support, numerous awards and years of experience reflect Dundas Data Visualization's commitment to being the best!
This is a Organisation

3 members
Software Developer (Senior)
Ireland Ireland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
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)
United Kingdom United Kingdom
Frank Kerrigan

Currently developing Insurance systems with SQL Server, ASP.NET, C#, ADO for a company in Glasgow Scotland. Very keen on OOP and NUNIT testing. Been in IT forever (20 years) in mix of development and supporting applications / servers. Worked for companies big and small and enjoyed both.

Developed in (newest first) : C#, Progress 4GL, ASP.NET, SQL TSQL, HTML, VB.NET, ASP, VB, VBscript, JavaScript, Oracle PSQL, perl, Access v1-2000, sybase/informi, Pic Controllers, 6502 (ask your dad).

Msc .Net Development Evenings www.gcu.ac.uk
MCAD Passed
MCP C# ASP.NET Web Applications
MCP SQL Server 2000
HND Computing
OND / HNC Electrical Engineering,
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
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/
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Program Manager System Group
Iran (Islamic Republic of) Iran (Islamic Republic of)
Hossein Ghahvei Araghi
Birth date: 1978
Birth place: Iran
Academic Credentials : BS(Tehran University)
Microsoft Credentials : MCP, MCAD, MCTS 2.0, MCTS 3.5, MCPD 2.0, MCPD 3.5
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

Instructor / Trainer Alura Cursos Online
Brazil Brazil
Software Developer (Senior) Freestyle Interactive Ltd
United Kingdom United Kingdom
I'm a lead developer for Freestyle Interactive Ltd where we create many wonderful websites built on Microsofts ASP.Net and Ektron CMS.

I've been developing .Net applications (both Windows and Web) since 2002.
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
Lebanon Lebanon
Technical Lead
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer currently hired by one of the leading fintech companies in Middle East, as a technical lead.

Mohammad is a MCP, MCTS, MCPD, MCSA, MCSE, and MCT expertized in Microsoft technologies, data management, analytics, Azure and DevOps solutions. He is also a Project Management Professional (PMP) and a Quranic Readings college (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.

Mohammad was born in Egypt. He loves his machine and his code more than anything else!

Currently, Mohammad runs two blogs: "Just Like [a] Magic" (http://JustLikeAMagic.com) and "مع الدوت نت" (http://WithdDotNet.net), both dedicated for programming and Microsoft technologies.

You can reach Mohammad at elsheimy[at]live[dot]com
United States United States
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead Software Innovation
Norway Norway
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) remes GmbH
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) CA-CIB
Singapore Singapore
I am a .Net developer, currently working in Singapore worked wiith Societe Generale Global Solution Centre, Bangalore and was previously with Cognizant.I have more than 8 years of .Net experience in BFSI domain. I am an experienced developer in C#, VB.Net, Silverlight, WPF, WCF, LINQ, Entity Framework, SSIS, NHibernate, ASP.Net and SQL Server.
Marketing Resco
Slovakia Slovakia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
President 6D Systems LLC
United States United States
I studied Software Engineering at Milwaukee School of Engineering for 2 years before switching to Management of Information Systems for a more business oriented approach. I've been developing software since the age of 14, and have waded through languages such as QBasic, TrueBasic, C, C++, Java, VB6, VB.NET, C#, etc. I've been developing professionally since 2002 in .NET.
South Africa South Africa
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
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer CGI
Canada Canada
I have a three years technical education in computer science (June 2006) and a four years bachelor's degree in Software Engineering from the École de Technologie Supérieure (August 2010). I worked as a Web Developper at the beginning of my career before being recruited as a .NET Analyst-Programer at SNC-Lavalin in Montreal. I worked there until they outsourced all development to CGI. I worked there since.
Software Developer (Senior)
United States United States
Stephen Marsh has over 10 years of experience developing enterprise applications built on the .Net framework. He specializes in building expert systems that serve the financial industry.
Architect
United Kingdom United Kingdom
Mike Carlisle - Technical Architect with over 20 years experience in a wide range of technologies.

@TheCodeKing
Software Developer (Senior)
Canada Canada
For almost 30 years I have been working with computers, learning a myriad of languages and participating in various computing environments.

Though I have been mentoring other developers for the last decade, I have recently found a strong interest in writing and am learning to translate the fun of in-person teaching to something I can get into article form.

I enjoy following technology trends, new gadgets and trying to guess where innovation will lead us next (I'm kinda holding out for a robot-served utopia, but willing to submit to our future robot leaders).

I am a guy who is passionate about my faith, my family and a cure for Juvenile Diabetes (my son lives with this disease).
Software Developer
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer http://blog.xtalion.com
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Israel Israel
Yury is Software Engineer since 1988.
His programming experience includes C#/VB.NET, WPF, C/C++(MFC/STL), Borland Delphi & C++ (VCL), JavaScript, HTML, CSS, XML, SQL, VB6, DirectX, Flash.
He has worked on PCs (DOS/Win3.1-Vista) and PocketPCs (WinCE).

Yury was born in Ukraine, but currently based in Jerusalem.
You must sign in to participate in this contest.
This contest has ended.
1 Sep - 30 Sep 2010