Click here to Skip to main content
15,169,823 members
This competition has ended

Best C# article of November 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.
6 Nov 2010
defwebserver
How using the Silverlight DataTrigger allows you to run a process and then raise another when using View Model (MVVM)
Please Sign up or sign in to vote.
8 Nov 2010
Gary.Miller.WPF
Final article in the series on how to make an animated 3D robot in WPF using C# code
Please Sign up or sign in to vote.
6 Nov 2010
JeroenVonk
This article describes how you can asynchronously control your SqueezeBox server
Please Sign up or sign in to vote.
21 Nov 2010
Joel Ivory Johnson
Playing back data that was recorded from the Microphone, in Windows Phone 7
Please Sign up or sign in to vote.
3 Nov 2010
Gary.Miller.WPF
Part one of a series on how to make an animated 3D robot in WPF using C# code
Please Sign up or sign in to vote.
8 Nov 2010
Versile
A How-To Guide for replacing the integrated ClickOnce technology built into Visual Studio, and control the install/update process using Visual Studio tools
Please Sign up or sign in to vote.
16 Nov 2010
alrosan
How to change input language
Please Sign up or sign in to vote.
19 Dec 2010
qlipoth
6 alternatives  
Drop-in Function to get the steps to convert one list to another
Please Sign up or sign in to vote.
22 Nov 2010
CPallini
3 alternatives  
There was a request about in Q&A. The question was deleted, anyway I think the subject may be interesting.
Please Sign up or sign in to vote.
3 Nov 2010
vnmatt
Code generator for creating XML serializable classes from scanning the XML file itself.
Please Sign up or sign in to vote.
21 Nov 2010
Kunal Chowdhury «IN»
How to Reposition a Silverlight Child Window?
Please Sign up or sign in to vote.
21 Dec 2010
Morten Nilsen
Here is my take on the same, using Lambda expressions and slightly more advanced regular expression features:I have not tested this code, so errors may exist.This implementation will ignore unrecognized tokens. namespace Postfix { class Parser { static Dictionary
Please Sign up or sign in to vote.
1 Nov 2010
Ondrej_Uzovic
Very simple example showing how to send a message from Silverlight application to standalone desktop application
Please Sign up or sign in to vote.
7 Nov 2010
FZelle
You can do this in a much easier way:object ADOXCat = Activator.CreateInstance(Type.GetTypeFromProgID("ADOX.Catalog"));ADOXCat.GetType().InvokeMember("Create", System.Reflection.BindingFlags.InvokeMethod, null, ADOXCat, new string[] { ConnectionString });
Please Sign up or sign in to vote.
8 Nov 2010
Raja Sinha
The media player plays songs based on the song name spoken by the user.
Please Sign up or sign in to vote.
9 Nov 2010
Sebastian Solnica
How to load module debugging symbols (PDB files) into the debugger and how to bind them with source files
Please Sign up or sign in to vote.
10 Jan 2011
Minuert
How to Add a Lotus Notes Calendar Entry with C#
Please Sign up or sign in to vote.
25 Nov 2010
Abhijit Jana
How to use Silverlight Chart Control with SharePoint 2010
Please Sign up or sign in to vote.
13 Nov 2010
jarvisa
public void ControlStatus(Control control, bool isDisable){ foreach (Control c in control.Controls) if (c.HasControls()) ControlStatus(c, isDisable); else { WebControl wc = c as WebControl; if (wc != null) ...
Please Sign up or sign in to vote.
8 Nov 2010
JP van Mackelenbergh
A component which allows to work with WCF services in a robust way
Please Sign up or sign in to vote.
8 Nov 2010
RobCroll
Creating a custom control when inheriting ItemsControl doesn't fit the requirement
Please Sign up or sign in to vote.
13 Nov 2010
PSU Steve
You can just use "not IsDisable" versus the IF...ELSE block. Additionally, the recursive call to ControlStatus should be done all the time so that the parent control is enabled/disabled along with the children. // to enable\disable the control & its child controls public...
Please Sign up or sign in to vote.
16 Nov 2010
mrjvdveen
A problem most of us will encounter while building a Line Of Business application in Silverlight - it involves UI paradigms combined with the asynchronous communication model
Please Sign up or sign in to vote.
18 Nov 2010
Diamonddrake
another way is to first create a empty db in access then read its bytes into an array and export them as a string. Then hardcode that string into a class that creates the the empty database by converting the hardcoded string back into a byte array and then writing it to disk as a mdb...
Please Sign up or sign in to vote.
18 Nov 2010
Gil Fink
Back to Basics – Null-Coalescing Operator
Please Sign up or sign in to vote.
18 Nov 2010
hjgode
Windows Mobile 6.5.3. Class to subclass menu toolbar to disable Start and Close button clicks
Please Sign up or sign in to vote.
23 Nov 2010
ISanti
I like to use the old JET API to manipulate ACCESS Databases.In C# 4 all you need to create a blank JET database is add a reference to Microsoft.Office.Interop.Access.Dao library in your WINDOWS FORMS project, and two simple lines of code: var engine=new DBEngine(); var...
Please Sign up or sign in to vote.
29 Nov 2010
andreribas
Please Sign up or sign in to vote.
29 Nov 2010
mbcrump
Tips/Tricks for Silverlight Developers
Please Sign up or sign in to vote.
13 Nov 2010
a_pess
Alternative For VB.NET Windows Forms Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean) Me.ControlEnabled(ctrl, isDisable, True) End Sub Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean, ByVal allowRecurse As...
Please Sign up or sign in to vote.
8 Nov 2010
Martin Jarvis
How to apply output cache policies to a user control
Please Sign up or sign in to vote.
9 Nov 2010
Wayne Ye
Elevated trust in Silverlight 4
Please Sign up or sign in to vote.
12 Nov 2010
mazhou
Introduction to Asynchronous Programming Model (C# 5.0 Series)
Please Sign up or sign in to vote.
21 Nov 2010
hjgode
A native rdesktop prt for Wndows CE and Windows Mobile to replace Remote Desktop Mobile.
Please Sign up or sign in to vote.
22 Nov 2010
Morten Nilsen
I also have implemented a MarkupExtension to set the DataContext, which looks like this:[MarkupExtensionReturnType(typeof(ApplicationControllerBase))]public class ApplicationDataContext : MarkupExtension{ private Type dataContextType; public ApplicationDataContext(Type...
Please Sign up or sign in to vote.
26 Nov 2010
ZamirF
This line:ADOX.CatalogClass cat = new ADOX.CatalogClass();may not work if you are using C# 4.0+You will needADOX.Catalog cat = new ADOX.Catalog();For a completed method checkout:http://zamirsblog.blogspot.com/2010/11/creating-access-database.html[^]
2 Nov 2010
J. Ambrose Little
With NetAdvantage® Ultimate 2010 Volume 3, Infragistics gives .NET developers all of the line of business controls with superior MS Office 2010 style and features for ASP.NET, Windows Forms, WPF and Silverlight, and high performance data visualization controls on WPF and Silverlight.
Please Sign up or sign in to vote.
9 Nov 2010
Katka Vaughan
Learn how to use the Pivot and Panorama controls, page navigation, OData and more!
Please Sign up or sign in to vote.
19 Nov 2010
Nish Nishant
This is a lightweight version of Luc Pattyn's popular CP Vanity application
Please Sign up or sign in to vote.
17 Nov 2010
Paul Selormey
A C# library for converting SVG to WPF and viewing SVG files in WPF Applications
Please Sign up or sign in to vote.
6 Nov 2010
Kunal Chowdhury «IN»
In this article, I will show you how to fire Triggers to call some methods present in your ViewModel, instead of writing in the code behind file. Read more to learn about it.
Please Sign up or sign in to vote.
19 Nov 2010
Matthew Dennis
Refactoring Lucene.NET to follow .NET best practices and conventions rather than Java's coding styles and limitations. A series of articles will be available at www.codeproject.com that follow the process from beginning to end.
Please Sign up or sign in to vote.
24 Nov 2010
Roberto Sonnino
An implementation of MultiScaleImage (Deep Zoom) for WPF, compatible with Deep Zoom Composer and Zoom.it.
Please Sign up or sign in to vote.
2 Nov 2010
Doug Wyrembek
An example of a WPF MVVM utility accessing a simple legacy database.
Please Sign up or sign in to vote.
20 Nov 2010
Christ Kennedy
strategy/action game defending the solar system : interplanetary space
Please Sign up or sign in to vote.
26 Dec 2010
KenJohnson
A WPF color picker (like Adobe's) constructed in a modular fashion for easy modification.
Please Sign up or sign in to vote.
14 Nov 2010
defwebserver
A demo application using the Silverlight Sterling database using View Model (MVVM).
Please Sign up or sign in to vote.
15 Nov 2010
Brij
This article discusses a very cool feature of jQuery that is Client Templating

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:




a_pess
Engineer
Egypt Egypt
Oil & Gas Engineer
C# & VB.net
Coding For Fun Only
Abhijit Jana
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
alrosan
Software Developer
Jordan Jordan
No Biography provided
andreribas
Brazil Brazil
No Biography provided
Brij
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
Christ Kennedy
CEO unemployable
Canada Canada
Christ Kennedy grew up in the suburbs of Montreal and is a bilingual Quebecois with a bachelor’s degree in computer engineering from McGill University. He is unemployable and currently living in Moncton, N.B. writing his next novel.
CPallini
Software Developer (Senior) Biotecnica Instruments S.p.A.
Italy Italy




Debugging? Klingons do not debug. Our software does not coddle the weak. Bugs are good for building character in the user.
-- The Klingon programmer



Beelzebub for his friends [^].




defwebserver
Software Developer (Senior) http://ADefWebserver.com
United States United States
Michael Washington is a Microsoft MVP. He is a ASP.NET and
C# programmer.
He is the founder of
AiHelpWebsite.com,
LightSwitchHelpWebsite.com, and
HoloLensHelpWebsite.com.

He has a son, Zachary and resides in Los Angeles with his wife Valerie.

He is the Author of:
Diamonddrake
Software Developer
United States United States
I am a part time programmer, The more I learn, the more I need to learn, the best of which I will share here on codeproject!

Visit my site and blog
Doug Wyrembek
United States United States
No Biography provided
FZelle
Web Developer
Germany Germany
Software-Developer since 1990
Specialiced in LAN/WAN Tracers ( sniffer )
now developing in .NET ( c#, VB, ASP ..)
Gary.Miller.WPF
Software Developer
United States United States
Gary Miller is a professional software developer whose clients have included Delta Air Lines, Cingular Wireless, and the Center For Disease Control. He has developed advanced graphical user interfaces for traffic control systems and medical call centers. Some animated 3D products he has developed include Field Artist and Calder4D. He has developed a Silverlight powered social networking site for music students called Field Artist Central




Calder4D is a Windows program that allows you to model and animate 3D shapes and then produces the XAML code to include those animated shapes in your own WPF applications.



Gil Fink
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
hjgode
Germany Germany
No Biography provided
ISanti
Architect Telefonica de Espana
Spain Spain
No Biography provided
J. Ambrose Little
Other
United States United States
No Biography provided
jarvisa
Software Developer (Senior) Shaw Inspection Systems Ltd
United Kingdom United Kingdom
No Biography provided
JeroenVonk
Software Developer (Senior) Inter Access BV
Netherlands Netherlands
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

JP van Mackelenbergh
Architect Altran
Netherlands Netherlands
I am a relaxed guy, born in '73, who likes to develop software professionally in both my work and in my spare time.

Keywords are C#, WCF, WPF.
Katka Vaughan
Product Manager Outcoder
United States United States
Katka has several years of experience working in software development in the areas of market research and e-commerce. She has wide ranging experience in developing Java, ASP.Net MVC, ASP.Net, WPF, Silverlight, and Windows Phone applications.

Company: Outcoder.com
Group: XAML Experts
Proud co-creator of: Surfy browser, Airlock Browser
KenJohnson
Software Developer (Senior)
United States United States
Written software for what seems like forever. I'm currenly infatuated with WPF. Hopefully my affections are returned.
Martin Jarvis
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.
Matthew Dennis
Software Developer (Senior) CodeProject
Canada Canada
As Senior Architect, Matthew is responsible for the Architecture, Design, and Coding of the CodeProject software as well as Manager of the Infrastructure that runs the web site.

Matthew works on improving the performance and experience of the Code Project site for users, clients, and administrators.

Matthew has more years of software development, QA and architecture experience under his belt than he likes to admit. He graduated from the University of Waterloo with a B.Sc. in Electrical Engineering. He started out developing micro-processor based hardware and software including compilers and operating systems.
His current focus is on .NET web development including jQuery, Webforms, MVC, AJAX, and patterns and practices for creating better websites.
He is the author of the Munq IOC, the fastest ASP.NET focused IOC Container.
His non-programming passions include golf, pool, curling, reading and building stuff for the house.
mazhou
Software Developer (Senior) Microsoft
Singapore Singapore
Mark is a Windows developer, he mainly works for building libraries and tools for the developers, and as well he designs and implements Windows based applications.
mbcrump
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.
Minuert
United States United States
No Biography provided
Morten Nilsen
Norway Norway
No Biography provided
mrjvdveen
Software Developer (Senior) KnowledgePlaza
Netherlands Netherlands
Since early 2001 I've been working full time as a software developer and since 2004 I've been working mostly with Microsoft technology.
I started out as a product developer, but after a few years I switched to a project company where my roles ranged from developer up to consultant and from team lead and coach to manager.
Eventually I switched jobs and focused on the consultant part and then I got back to building a product once again. Now I work in a job where I get to do both.
NavnathKale
United States United States
No Biography provided
Nish Nishant
United States United States
Nish Nishant is a Principal Software Architect based out of Columbus, Ohio. He has over 17 years of software industry experience in various roles including Lead Software Architect, Principal Software Engineer, and Product Manager. Nish was a Microsoft Visual C++ MVP between 2002 and 2015.

Nish is an industry acknowledged expert in the Microsoft technology stack. He authored C++/CLI in Action for Manning Publications in 2005, and had previously co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is vastly experienced in team management, mentoring teams, and directing all stages of software development.

Contact Nish : If you are interested in hiring Nish as a consultant, you can reach him via his google email id voidnish.

Company Website : www.ganymedesoftwaresolutions.com
Ondrej_Uzovic
Architect
Slovakia Slovakia
My programming path started in 1987 when I got my first computer Sharp MZ-800.
It came with 8 bit CPU Z80, 64Kb RAM and the tape recorder. It was a great machine. I think I still have it somewhere.
I was fascinated and I started to write first programs. Eventually I became developer and software architect. I like innovations and clean nice solutions.
Paul Selormey
Engineer
Japan Japan
Systems Engineer
PSU Steve
Software Developer (Senior) Self-employed, consultant to US Air Force
United States United States
No Biography provided
qlipoth
Software Developer (Senior) InGage Networks
United States United States
James is currently a Software developer after a detour from that profession into IT because he 'didn't want to sit in a cubicle and wanted to deal with people.' He has since learned that people are stupid, and enjoys his cubicle greatly.
Raja Sinha
Software Developer (Senior) Celstream Technologies Ltd
India India
I am an application developer and have been developing applications in .Net,C,C++,Java,PHP.
I love to imagine and innovate.
RobCroll
Australia Australia
Enjoying life developing mobile device software for Contractors Apps and Ezi App.

I also teach C#, Java and Project Management a couple of evenings a week.

Prior to moving to DCB, I'd been a Windows software developer for nearly 15 years
Roberto Sonnino
Virtual Dreams
Brazil Brazil
Hi! I'm Roberto. I'm a Brazilian Engineering student at the University of São Paulo and the Ecole Centrale de Lille (France).

I've participated in the Imagine Cup competition and went to the world finals every year from 2005 to 2009. I also won the 1st place award in 2006, in India, for the Interface Design invitational, in 2007 in Korea, for the Embedded Development invitational, and in 2009 in Egypt for the Windows Mobile Award.

Currently I keep a blog (in English and Portuguese) at http://virtualdreams.com.br/blog/ and a weekly webcast about WPF and Silverlight (in Portuguese) at http://www.xamlcast.net.
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
Versile
Other
United States United States
I am a self-taught programmer. I attended Tarleton State College studying Computer Science but did not finish. I've teetered throughout my career as management and programmer and have an interesting outlook on projects due to the experience. I've developed by myself and within a team numerous projects encompassing ASP.NET, .NET 2.0,3.5, and 4.0 using C# and VB.NET, WCF, WPF, Web Services, and one project in Java.

My philosophy on code is simple and two-fold;
1) What is fastest to the user.
2) What is the easiest and simplest to maintain.
vnmatt
Software Developer (Senior) Freelancer
Australia Australia
No Biography provided
Wayne Ye
Software Developer (Senior) SAP Labs Shanghai
China China
Wayne is a software developer, Tech Lead and also a geek. He has more than 6 years' experience in Web development(server: ASP.NET (MVC), Web Service, IIS; Client: HTML/CSS/JavaScript/jQuery/AJAX), Windows development (Winform, Windows Service, WPF/Silverlight, Win32 API and WMI) and SQL Server. Deep understanding of GOF Design Patterns, S.O.L.i.D principle, MVC, MVVM, Domain Driven Design, SOA, REST and AOP.

Wayne's Geek Life http://WayneYe.com

Infinite passion on programming!
ZamirF
United States United States
No Biography provided
You must sign in to participate in this contest.
This contest has ended.
1 Nov - 30 Nov 2010