Click here to Skip to main content
15,878,871 members
This competition has ended

Best C# article of August 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.
5 Aug 2010JohnCAldrich
Calculate a *Proper* Star Trek style Stardate
Please Sign up or sign in to vote.
14 Aug 2010Roger Wright
A simple example of creating a new database on a SQl Server instance
Please Sign up or sign in to vote.
19 Aug 2010Abhishek Sur
The article shows how you could use RenderTargetBitmap to render a visual into BitmapSource and convert the same into actual image.
Please Sign up or sign in to vote.
8 Aug 2010Jürgen Bäurle
This article describes how to implement a generic, extensible entity list repository and business logic for SharePoint 2010 using the T4 templating engine (Text Template Transformation Toolkit).
Please Sign up or sign in to vote.
23 Aug 2010Erion Pici
Generating docx reports in a client-server architecture, without using MS Office
Please Sign up or sign in to vote.
11 Aug 2010Paulo Morgado
Dumping Objects using Expression Trees
Please Sign up or sign in to vote.
12 Aug 2010#realJSOP
If you need to get the position the mouse was clicked, in relation to a specific UI Element, this might help
Please Sign up or sign in to vote.
20 Aug 2010Steve Maier
Microsoft has posted some posters that can be printed out with this information in table form for each language. The newest ones are for VS2010, but they have others as well.VS2010 Keyboard Shortcuts for C# VB C++ F#[^]
Please Sign up or sign in to vote.
26 Nov 2012Daniel Vaughan
The ReaderWriterLockSlim class is used to protect a resource that is read by multiple threads and written to by one thread at a time.
Please Sign up or sign in to vote.
17 Aug 2010Paulo Morgado
Hydrating Objects With Expression Trees
Please Sign up or sign in to vote.
19 Aug 2010Colin Eberhardt
Development of a lookless radial gauge control
Please Sign up or sign in to vote.
22 Aug 2010Dieter Deysel
Combining custom attributes, reflection and generics to maximize the use of enum in a system.
Please Sign up or sign in to vote.
27 Aug 2010Abhijit Jana
A post on how to suppress compiler warning using #pragma warning directives in Visual Studio
Please Sign up or sign in to vote.
3 Aug 2010Tim-bot
Simple calculation to determin a value at a percentage along a bell curve. Also with an offcenter curve intersection thing....
Please Sign up or sign in to vote.
4 Aug 2010Abhijit Jana
How to pass external values with GridView HyperLinkField which are not part of your Gridview DataSource member
Please Sign up or sign in to vote.
3 Aug 2010Martin Jarvis
Some extension methods to try and get around the (many) issues that I’ve had with FindControl
Please Sign up or sign in to vote.
12 Aug 2010Qwertie
Dependency Injection aids loose coupling. But there are some services that are pervasive, services that you would have to pass to a hundred different constructors if you want to use DI "properly". Is there an alternative?
Please Sign up or sign in to vote.
27 Sep 2010Abhishek Sur
The article will demonstrate the story of WeakReference in light of Garbage Collection.
Please Sign up or sign in to vote.
12 Aug 2010rudigrobler
Building OpenPOS - Windows 7 Love
Please Sign up or sign in to vote.
22 Aug 2010Moim Hossain
Doing like following for few years now :public void AnyMethod(int parameter){ var wrapper = new Action(()=> { // Do your thing here! }); if (this.InvokeRequired) this.Invoke(wrapper); else wrapper();}
Please Sign up or sign in to vote.
29 Aug 2010Gediminas Geigalas
Implementing a custom RoleProvider using Unity IoC library to support custom roles in ASP.NET MVC
Please Sign up or sign in to vote.
28 Aug 2010Gediminas Geigalas
Learn how to serialize System.DateTime for use in SQL Server stored procedures
Please Sign up or sign in to vote.
4 Aug 2010Thomas Weller
Integration testing an ASP.NET MVC application without web server or browser
Please Sign up or sign in to vote.
31 Jul 2010Thomas Weller
Unit testing StyleCop rules
Please Sign up or sign in to vote.
4 Aug 2010Xavier Spileers
Classes to add a UIExtensionSites-like mechanism to PRISM.
Please Sign up or sign in to vote.
5 Aug 2010Raymund Macaalay
How to get Domain Name (pre-Windows 2000) from FQDN (Fully Qualified Domain Name) using C#
Please Sign up or sign in to vote.
8 Aug 2010Gil Fink
How to Change the OutputCache Provider during Runtime
Please Sign up or sign in to vote.
8 Aug 2010Gil Fink
The post shows how to combine Table Per Hierarchy and Entity Splitting methods
Please Sign up or sign in to vote.
12 Aug 2010rudigrobler
Building OpenPOS – Code First
Please Sign up or sign in to vote.
16 Aug 2010Paulo Morgado
If the intent is to hydrate the objects from data, why not have an expression that does just that?
Please Sign up or sign in to vote.
25 Aug 2010thebacon
Dynamic Proxy (or getting crazy with Dynamics and Expressions)
Please Sign up or sign in to vote.
4 Aug 2010thebacon
Exploring the .NET Expressions API
Please Sign up or sign in to vote.
4 Aug 2010thebacon
In this post, I'd like to show some useful examples of expression usage, specifically calling properties.
Please Sign up or sign in to vote.
4 Aug 2010thebacon
Windows Workflow and Error Handling
Please Sign up or sign in to vote.
3 Aug 2010hjgode
An application that works in the background using a keyboard hook.
Please Sign up or sign in to vote.
4 Aug 2010thebacon
ExpandoObject class
Please Sign up or sign in to vote.
25 Aug 2010Olivier Gaudefroy
Ensure that your resx file contains a valid comment for each entry with MSBuild integration
Please Sign up or sign in to vote.
25 Aug 2010Lewis Liu L
this tip is to use roles instead of individual user's access right to limit user's access on folders
Please Sign up or sign in to vote.
24 Aug 2010Ritesh Ramesh
Please Sign up or sign in to vote.
25 Aug 2010aSarafian
Framework and example source code for creating typed class for configuration sections
Please Sign up or sign in to vote.
26 Aug 2010Olivier Gaudefroy
An automatic resource translator for ASP.NET applications
Please Sign up or sign in to vote.
29 Aug 2010Gediminas Geigalas
Value objects are immutable, so how can we use XmlSerializer to serialize them? This article answers that question.
Please Sign up or sign in to vote.
27 Aug 2010Kunal Chowdhury «IN»
In this article, I described the need of MEF using a Console Application. Read it and don't forget to vote for it and share your feedback.
Please Sign up or sign in to vote.
3 Sep 2010Sacha Barber
A look into messaging solutions using NServiceBus.
Please Sign up or sign in to vote.
1 Sep 2010defwebserver, hisowa
Behavior that will create a simple PopUp and run some ICommands when closed
Please Sign up or sign in to vote.
20 Aug 2010Dave Kerr
Getting started with your first WPF application using Microsoft Expression Blend 4.0.
Please Sign up or sign in to vote.
19 Aug 2010Brij
This article discusses about ViewState and several ways to reduce the performance hit caused by it, with a sample application.

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

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:




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 Asset Technology Group
Egypt Egypt
I'm a professional components designer, web developer, UX engineer and 3d designer as well, I'm 4 years experienced .net software engineer and 7 years experienced 3d designer using 3D Max. I'm very interested in RIA technologies, prototyping and UX engineering.

Ahmed Said
Senior .Net Software Engineer
Team Leader ALGOSYSTEMS
Greece Greece
I live in Athens Greece and currently I am working with Business scale application with .NET latest technologies

I've been developing applications for personal and friends usage with C++ using majorly Borland's various IDEs since 1994.
In 2002 I began working for an R&D institute where I was introduced to C# which I worships ever since.

I love core application development and I would like to publish more articles here and on my blog, but there is not enough time to do so.

I usualy "waste" my spare time watching sitcoms, preferable SCI-FI.
I would like to play chess but I can't find any real world players to hang out with.
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
Architect Scott Logic
United Kingdom United Kingdom
I am CTO at ShinobiControls, a team of iOS developers who are carefully crafting iOS charts, grids and controls for making your applications awesome.

I am a Technical Architect for Visiblox which have developed the world's fastest WPF / Silverlight and WP7 charts.

I am also a Technical Evangelist at Scott Logic, a provider of bespoke financial software and consultancy for the retail and investment banking, stockbroking, asset management and hedge fund communities.

Visit my blog - Colin Eberhardt's Adventures in .NET.

Follow me on Twitter - @ColinEberhardt

-
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) 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:
Software Developer Inivit Systems
South Africa South Africa
I am currently employed by Inivit Systems. Here we strive to use cutting edge technologies, in order to provide our clients with the best possible software and continue to offer them a competitive edge.

We are responsible for all kinds of applications, ranging from web applications to desktop applications, including integration into some older legacy systems.

I love programming and solving puzzles, but beside that I enjoy experimenting with new technologies, reading, watching movies and relaxing with friends.
Engineer
United Kingdom United Kingdom
I've been involved in object-oriented software development since 2006, when I graduated in Information and TLC Engineering. I've been working for several software companies / departments, mainly on Microsoft and Sun/Oracle technologies. My favourite programming language is C#, next comes Java.
I love design patterns and when I need to resolve a problem, I try to get the best solution, which is often not the quickest one.

"On the best teams, different individuals provide occasional leadership, taking charge in areas where they have particular strengths. No one is the permanent leader, because that person would then cease to be a peer and the team interaction would begin to break down. The structure of a team is a network, not a hierarchy ..."
My favourite team work quotation by DeMarco - Lister in Peopleware
Software Developer (Senior)
Lithuania Lithuania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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
Software Developer
India India
He is a Smart IT devloper with Few years of Expeariance But having Great command on ASP.net,C#,SQL Query,SSRS,Crystal Reports

Apart from that He Loves multimedia work too, Master of Adobe photoshop, Illustrator, CSS , HTML and all things.

He is Currently working in Microsoft Dynamics CRM and Having Nice Expearince with CRM. CRM Rocks!!!
Germany Germany
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)
Germany Germany
I’m a software developer based in Germany.

Homepage
Software Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
Architect
Netherlands Netherlands
Engineer Powered by the Cloud
Technical Lead KLEE Group
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 (Senior) Paulo Morgado
Portugal Portugal
Software Developer None
Canada Canada
Since I started programming when I was 11, I wrote the SNES emulator "SNEqr", the FastNav mapping component, the Enhanced C# programming language (in progress), the parser generator LLLPG, and LES, a syntax to help you start building programming languages, DSLs or build systems.

My overall focus is on the Language of your choice (Loyc) initiative, which is about investigating ways to improve interoperability between programming languages and putting more power in the hands of developers. I'm also seeking employment.
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/
Architect Infosolvex Solutions Inc
Australia Australia
Ritesh is an IT consultant with over ten years of experience in the IT industry varying from consultation, architecture, design, development to technical management. He has a strong background in solutions and applications architecture with a focus on Microsoft’s .Net platform. His area of expertise spans design and implementation of client/server, database and web-based systems. He has worked with C#, ASP.NET 1.1 and 2.0, ADO.NET, Web Services and SQL technology on several enterprise class projects.




Freedom is not worth having if it does not include the freedom to make mistakes.
Mahatma Gandhi
Engineer Retired
United States United States
BS Electrical & Electronics Engineering

Thirteen years experience designing & programming measurement & control instrumentation.

Retired two years ago from the Tribal Utility I was working for, designing power, water, and sewer systems for the reservation, and managing the construction and maintenance of same. Now working as a gun salesman and smith, as well as doing metal machining and welding for fun and too little profit.I recently bought 20 acres of land, and a tractor to help me develop it into a homesite and ranch. I was planning to raise lobsters, but having seen frozen rabbits on Amazon selling for $49 each, I may have to replan.

Programming experience using assembly, FORTRAN, BASIC, HP JCL, Prolog, Ada, Pascal, hpl, ; currently learning VC# and having "fun" with ASP.Net.

Avid darts player, though not a good one... Fair to excellent 12-string guitar player, depending on who you ask. Spare time spent fishing, reading, and playing with the neighbor's cat (see picture). Second degree black belts in Hapkido and Taekwondo.

Past President of the local Kiwanis Club, past Director of the United Way, and no longer a member of either.

Have held licenses as a Real Estate broker and Securities dealer - once ordained as a minister on a whim. My latest certificate was earned without any hands on experience at all - Yamaha Certified 5-Star Technician for motorcycles, ATVs, and watercraft. What next?

Raised in sunny California, before it became the Peoples' Republic of California. Relocated to Arizona to escape being homeless after peace broke out.


Objective: To learn all there is to know. I know I'll be disappointed one day, but I've made a good start, and the eventual disappointment is likely to be brief.

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.
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog
Software Developer (Senior) ICF International
India India
I am just as good as I get; Otherwise, I am a Software Professional with years of Software Development Experience and my USP is that I believe in bestowing excellence in the software solutions that are in tune with the user requirements and deliver the excellent results to the clients. I present myself as an innovative professional who utilize the unique blend of technical expertise with business acumen.

Find more information about me here
http://santxiitr.wix.com/santosh
Software Developer (Senior) InfernoRed Technologies
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) Freelancer
Germany Germany
I'm a freelance software developer/architect located in Southern Germany with 20 years of experience in C++, VB, and C# software projects. Since about ten years I do all my coding exclusively in C# for business application development - and nowadays Python for Data Science, ML, and AI.
I am especially dedicated to Test-driven development, OO architecture, software quality assurance issues and tools.
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.
CEO TRI-S bvba, Cogenius bvba
Belgium Belgium
I'm working since 1999 in an IT environment: started developing in PROGRESS 4GL, then VB6 and am working since 2003 with C#. I'm currently transitioning to HTML5, CSS3 and JavaScript for the front-end development.
I started my own company (TRI-S) in 2007 and co-founded another one (Cogenius) in 2012.
Besides being a Microsoft Certified Professional Developer (MCPD) I'm also a Microsoft Certified Trainer (MCT) and am teaching .NET and JavaScript courses.
You must sign in to participate in this contest.
This contest has ended.
1 Aug - 31 Aug 2010