Click here to Skip to main content
15,501,747 members
This competition has ended

Best C# Article of January 2014

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.
10 Jan 2014Kees van Spelde
This is an alternative for "AutoShut, my first program in C#"
Please Sign up or sign in to vote.
14 Jan 2014ntg123
A smooth transform from one layout to another
Please Sign up or sign in to vote.
16 Jan 2014Tom Glick Philadelphia, US
POC to demonstrate passing of collections of complex objects to ASP.NET Web API Controllers.
Please Sign up or sign in to vote.
9 Jan 2014JP van Mackelenbergh
This article and the attached example will show how to show dialogs the MVVM way with databinding and no code-behind in the view.
Please Sign up or sign in to vote.
29 Jan 2014Sivaji1565
View unsafe pointer as an array in C# watch window
Please Sign up or sign in to vote.
27 Jan 2014Dan Sporici
This article is about how to get the memory dump of a process, by checking almost all memory addresses that can store data.
Please Sign up or sign in to vote.
14 Jan 2014Bert O Neill
MVC5 - JQM - SignalR2.0.1 - SqlDependency - Sql Server 2008R2
Please Sign up or sign in to vote.
30 Jan 2014Roman Kiss
This article describes how a Windows Azure BizTalk Service Bridge pipeline can be extended for message mediation by Workflow (VETER + WORKFLOW Pattern).
Please Sign up or sign in to vote.
2 Jan 2014gordonwatts
Portable Class Libraries (PCLs) can only call other PCLs. There is a way to implement PCLs that "call" platform specific services by writing a PCL and platform specific equivalent libraries.
Please Sign up or sign in to vote.
9 Jan 2014Prasanna Venkatesh . K
Write a Windows 8.1 store app to save your files on SkyDrive using Live Connect SDK
Please Sign up or sign in to vote.
30 Jan 2014rmostafa
Simple Google Analytics Access, with Service Account Credential OAuth2
Please Sign up or sign in to vote.
28 Jan 2014Borja Prado
How to convert slider thumb tooltip value
Please Sign up or sign in to vote.
28 Jan 2014Vinayak Hegde (Vinnie)
Finds the mac address and description of network interface
Please Sign up or sign in to vote.
17 Jan 2014Codes Of Shadows
Header Style Combo Box Drop Down Filter Button
Please Sign up or sign in to vote.
2 Jan 2014Srinivas Kumar Pasumarthi
This tip gives information about tools and consumption of WCF Services.
Please Sign up or sign in to vote.
7 Jan 2014B. Clay Shannon
Yet another docx tip - insert spaces between lowercase and uppercase chars
Please Sign up or sign in to vote.
30 Jan 2014@donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
Please Sign up or sign in to vote.
10 Jan 2014Tomas Takac
How to run an action after a quiet period
Please Sign up or sign in to vote.
18 Jan 2014Petr Ivankov
Application of abstract approach to database domain
Please Sign up or sign in to vote.
14 Jan 2014Nanda Kumar Chintam
This tip explains how to perform unit testing for business logic written in App_code for a website project.
Please Sign up or sign in to vote.
14 Jan 2014Cindy Potvin
Many options of the .LESS CSS parser can be set directly from the Web.config file, but many of them are not clearly described. Here is my attempt to document them.
Please Sign up or sign in to vote.
14 Jan 2014adriancs
Easily get Country, Region and Citry of web visitors from their IP address.
Please Sign up or sign in to vote.
15 Jan 2014B. Clay Shannon
How to swap out interface mappings in IoC/DI projects using Castle Windsor
Please Sign up or sign in to vote.
16 Jan 2014B. Clay Shannon
Retrieve scalar vals from REST methods
Please Sign up or sign in to vote.
26 Jan 2014Tristan Rhodes
NetworkView Canvas extensions
Please Sign up or sign in to vote.
10 Jan 2014Slavisa
Events and Delegates in Standard C++ implemented using Macro functions
Please Sign up or sign in to vote.
10 Jan 2014Gordon Beeming (RSA)
How to enforce check-in policies
Please Sign up or sign in to vote.
14 Jan 2014Vinay Jade
ImageButton control can be used as AdRotator with help of UpdatePanel
Please Sign up or sign in to vote.
16 Jan 2014Kristofer Kallsbo
I was updating an old project for a client today. I needed to print a simple list and figured that the easiest way should be to format the data in HTML. Most developers out there has built webpages now days and we all know that it is a quick way to format the information and […]
Please Sign up or sign in to vote.
19 Jan 2014John Atten
I recently had to throw together an application for work allow users to send email to recipients selected from a list.
Please Sign up or sign in to vote.
4 Aug 2014jgauffin
OneTrueError and the WCF Integration
Please Sign up or sign in to vote.
28 Jan 2014Kashif Akhter
EntitySpaces Dynamic Bulk Insertion Mechanism
Please Sign up or sign in to vote.
28 Jan 2014Pranay Rana
Here is a misconception of dynamic type passed to function and type returned
Please Sign up or sign in to vote.
28 Jan 2014dingjing
ISD Code Customization Tips, Part III: Avoid Reading QueryString Directly
28 Jan 2014Alvin Ashcraft
Looking at the Plantronics Voyager Legend, and using the Spokes SDK .NET Interop for COM Service API with C# while building a WPF sample application.
Please Sign up or sign in to vote.
12 Jan 2014Michael Trembovler
The current article might be useful for users attempting to use NServiceBus. It contains detailed instruction for creating pairs: publisher-subscriber through ServiceMatrix. Solution architects may find this technique useful in many CQRS scenarios as a good alternative to WCF.
Please Sign up or sign in to vote.
7 Jan 2014wim4you
Demo Program WarpImage, Creating and Dragging linked points(Thumbnails,MVVM), access all pixels from/to WPF image, rigid MLS algorithm
Please Sign up or sign in to vote.
13 Jan 2014seyyed hamed monem
Move and resize controls on a form at runtime (with mouse)
Please Sign up or sign in to vote.
18 Jan 2014Jan van den Baard
A fuel logging app for Windows Phone
Please Sign up or sign in to vote.
31 Jan 2014Matthew Dennis
A utility to run Redis, or other executables, as a Windows Service.
Please Sign up or sign in to vote.
14 Jan 2014Sandeep Singh Shekhawat
This article explains the basics of ASP.NET MVC server-side validation using the Data Annotation API.
Please Sign up or sign in to vote.
12 Jun 2014Kees van Spelde
Going on with a great article where another author left in 2010
Please Sign up or sign in to vote.
9 Aug 2016Alberto Montibelli
Application for solving Bin Packing and Cutting Stock problem
Please Sign up or sign in to vote.
25 Jan 2014Lumír Kojecký
This tip shows how to compile and use C# code during runtime and its impact on speed.
Please Sign up or sign in to vote.
1 Sep 2014Sandeep Singh Shekhawat
How to show a warning message to the user prior to 15 minutes before the session time out, in other words if the user is in an idle state for more than 5 minutes then the user gets a message in the browser
Please Sign up or sign in to vote.
5 Jan 2014Vadym Poberezhny
Concept of interactive menu based on user activity.
Please Sign up or sign in to vote.
30 May 2014Paulo Zemek
This article presents important architectural decisions that must be considered if you want to create a really expandable remoting framework and, well, those decisions may apply to any kind of framework.
Please Sign up or sign in to vote.
6 Jan 2014User 468701
Task.Factory.StartNew can be very useful for executing a method on another thread where you don't care about the result, but it can also make the host method hard to test. This tip describes how to inject Task.Factory and mock it for testing.
Please Sign up or sign in to vote.
15 Jan 2014B. Clay Shannon
Create the simplest possible ASP.NET Web API app that uses Castle Windsor for DI in 23 pretty easy steps
Please Sign up or sign in to vote.
7 Jan 2014Petr Alexeev
Version Helper API for .NET – checking version of Windows 8.1 or Windows Server 2012 R2 without Environment.OSVersion or application manifest

Current Participants

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

President GID
Brazil Brazil
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Student NA
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Other Other
Programming is an art.
Engineer
Italy Italy
I am an Engineer experienced in designing instruments and controls for industrial polluted air and V.O.C treatment plants. Currently I work in designing radiant heating/cooling systems and related controls, solar systems and other solutions for buildings energy efficiency.

My first personal computer was a ZX Spectrum Sinclair that in the early ‘80s I used so much in playing games and learning the bases of Basic. Then in my career I met other languages. Other than programming my hobbies are graphology, acoustic guitar, good books, my orchard, astronomy and play chess.

I live in the North West of Italy, very close to mountains and lakes and I like simple things. In summer you can find me somewhere walking on the mountains or going around with my sport bike. In winter you can probably meet me in my chessclub.
If you are planning to visit Italy I will be glad to show you some of this beautiful places and landscapes.
Technical Lead Allscripts
United States United States
Alvin has over 24 years of programming experience in the health care, financial and manufacturing industries. He is currently a Principal Software Engineer at Allscripts in the Philadelphia area. He has been recognized as a Microsoft Windows Dev MVP (current - formerly MVP in C#/Visual Studio), OzCode Magician, Friend of Redgate and Xamarin Certified Professional. Alvin has tech reviewed several books, including titles on ASP.NET Core, Entity Framework Core, and WPF. He is also one of the founding organizers of the TechBash developer conference held each fall in Pocono Manor, PA.
Founder Across Time & Space
United States United States
I am in the process of morphing from a software developer into a portrayer of Mark Twain. My monologue (or one-man play, entitled "The Adventures of Mark Twain: As Told By Himself" and set in 1896) features Twain giving an overview of his life up till then. The performance includes the relating of interesting experiences and humorous anecdotes from Twain's boyhood and youth, his time as a riverboat pilot, his wild and woolly adventures in the Territory of Nevada and California, and experiences as a writer and world traveler, including recollections of meetings with many of the famous and powerful of the 19th century - royalty, business magnates, fellow authors, as well as intimate glimpses into his home life (his parents, siblings, wife, and children).

Peripatetic and picaresque, I have lived in eight states; specifically, besides my native California (where I was born and where I now again reside) in chronological order: New York, Montana, Alaska, Oklahoma, Wisconsin, Idaho, and Missouri.

I am also a writer of both fiction (for which I use a nom de plume, "Blackbird Crow Raven", as a nod to my Native American heritage - I am "½ Cowboy, ½ Indian") and nonfiction, including a two-volume social and cultural history of the U.S. which covers important events from 1620-2006: http://www.lulu.com/spotlight/blackbirdcraven
Architect
Ireland Ireland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
Spain Spain
-> Software Architect
-> .NET and Sitecore Expert
-> Travel passionate
Canada Canada
Cindy Potvin is a software developer based in the Montreal area. At her day job, she creates web applications using the ASP.NET MVC framework and mobile applications using the Android SDK.
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Student
Romania Romania
Master's student @ ACS / UPB (Advanced Cybersecurity), Graduate Teaching Assistant, Junior Security Researcher. Also, webmaster of coding.vision
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect SSW
South Africa South Africa
Other University of Washington
United States United States
I'm a professor of physics at the University of Washington - my field of research is particle physics. I went into this because of the intersection of physics, hardware, and computers. I've written large experiment data aquisition systems (I've done a lot of multi-thread programming). My hobby is writing tools and other things that tend to be off-shoots of work-related projects.
Software Developer (Senior)
Netherlands Netherlands
I have been programming for a hobby since 1985. I have started programming on the C= 64. After that I migrated to the C= Amiga which I traded in for a PC back in 1997 I believe. Back in 2000 I decided to lose a hobby and start developing software for a living.

Currently I am working mainly in developing software for building security and access control systems.
Founder 1TCompany AB
Sweden Sweden
Software Developer XIV Solutions
United States United States
My name is John Atten, and my username on many of my online accounts is xivSolutions. I am Fascinated by all things technology and software development. I work mostly with C#, Javascript/Node.js, Various flavors of databases, and anything else I find interesting. I am always looking for new information, and value your feedback (especially where I got something wrong!)
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.
Team Leader
Pakistan Pakistan
A computer software development professional with a proven track record of extensive experience of enterprise software development and building the manageable, scalable, and robust enterprise software architectures.
Software Developer (Senior)
Netherlands Netherlands
Programming since I was a kid. Started on the Commodore 64 with BASIC. Since then I used programming languages like Turbo Pascal, Delphi, C++ and Visual Basic 6.

Now a days I do a lot of programming in C# with underlying databases like MS SQL
I develop in C# on .Net platforms like MVC. Like to use jQuery to build rich interfaces. I also blog about development and snags I got and the solutions I found for them.

I also a full time CIO at a Swedish energy company. When there is time I do some part time consulting on cloud issues.
Software Developer
Czech Republic Czech Republic
IT Specialist at Hyundai Glovis and Ph.D. student at Technical University of Ostrava, interested in C# language, .NET technology and CUDA platform.
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.
Architect
Israel Israel
Over 15-years experience in using Microsoft technologies. At present, working as the architect of a access control system, responsible for the design of component architecture, product R&D deployment, also targeting cloud solutions for future.
Software Developer (Senior)
United States United States
I am a programmer, trekker, foodie and tennis/cricket follower . Over the last 7 years, I am working as a developer for web based ordering systems and web services in service oriented architecture(SOA) using various Microsoft .NET technologies. My core skills include ASP.NET,MVC, WCF, jQuery, C# and C++.
Software Developer (Senior) self employed
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Microsoft
United States United States
I started to program computers when I was 11 years old, as a hobbyist, programming in AMOS Basic and Blitz Basic for Amiga.
At 12 I had my first try with assembler, but it was too difficult at the time. Then, in the same year, I learned C and, after learning C, I was finally able to learn assembler (for Motorola 680x0).
Not sure, but probably between 12 and 13, I started to learn C++. I always programmed "in an object oriented way", but using function pointers instead of virtual methods.

At 15 I started to learn Pascal at school and to use Delphi. At 16 I started my first internship (using Delphi). At 18 I started to work professionally using C++ and since then I've developed my programming skills as a professional developer in C++ and C#, generally creating libraries that help other developers do their work easier, faster and with less errors.

Want more info or simply want to contact me?
Take a look at: http://paulozemek.azurewebsites.net/
Or e-mail me at: paulozemek@outlook.com

Codeproject MVP 2012, 2015 & 2016
Microsoft MVP 2013-2014 (in October 2014 I started working at Microsoft, so I can't be a Microsoft MVP anymore).
Software Developer SSH Communications Security
Finland Finland
Petr Alexeev has both academic and commercial development experience. He was Microsoft MVP in 2009-2014.
Currently Petr is software engineer in SSH Communications Security in a core products team.
Architect
Russian Federation Russian Federation
Ph. D. Petr Ivankov worked as scientific researcher at Russian Mission Control Centre since 1978 up to 2000. Now he is engaged by Aviation training simulators http://dinamika-avia.com/ . His additional interests are:

1) Noncommutative geometry

http://front.math.ucdavis.edu/author/P.Ivankov

2) Literary work (Russian only)

http://zhurnal.lib.ru/editors/3/3d_m/

3) Scientific articles
http://arxiv.org/find/all/1/au:+Ivankov_Petr/0/1/0/all/0/1
Software Developer (Senior)
India India

Microsoft C# MVP (12-13)



Hey, I am Pranay Rana, working as a Team Leadin MNC. Web development in Asp.Net with C# and MS sql server are the experience tools that I have had for the past 5.5 years now.

For me def. of programming is : Programming is something that you do once and that get used by multiple for many years

You can visit my blog


StackOverFlow - http://stackoverflow.com/users/314488/pranay
My CV :- http://careers.stackoverflow.com/pranayamr

Awards:


Software 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.
Software Developer (Senior)
Egypt Egypt
Fun Coder Smile | :) My Job is my Hobby Smile | :)
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
India India
He is awarded for Microsoft TechNet Guru, CodeProject MVP and C# Corner MVP. http://l-knowtech.com/
Software Developer (Senior)
Iran (Islamic Republic of) Iran (Islamic Republic of)
I enjoy learning new things everyday.

"It’s the principle of reaping huge rewards from a series of small, smart choices. Success is earned in the moment to moment decisions that in themselves make no visible difference whatsoever, but the accumulated compounding effect is profound." Darren Hardy
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Serbia Serbia
11 Years of development in various programming languages. Recently focused on .NET/Angular development.
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
Enterprise developer with over 15 years of experience coding Windows and Web Apps in C#, WCF, SQL, EF, Http, Linq, etc. Enjoy middle-tier development on large BLL/DAL projects, also full SDLC for smaller projects needing single developer.

Currently live near Philadelphia although I've been working for the past 20 months for a large health-care provider in Pittsburgh.
Software Developer (Senior)
Czech Republic Czech Republic
I started programming in Basic in 1989, learned Pascal in 1993, switched to C/C++ in 1997, discovered Java in 2001 and finally settled with C#/.NET in 2003.
Software Developer (Senior)
United Kingdom United Kingdom
My name is Tristan Rhodes, i wrote my first Hello World program in 2001 and fell in love with software development (I actualy wanted to be a Vet at the time).

I enjoy working with code and design patterns.
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
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 IBI Limited
United Kingdom United Kingdom
Being a human - I am a Coder, a Blogger, a Tweeter, a Son, a Brother and a human being..
Netherlands Netherlands
Retired hobby programmer.

Contest Entries and Requirements

  1. The contest period covers the the first day of the month 12AM US Eastern Standard Time and ends the final day of the month at 11:59:59 PM US Eastern Standard Time. All entries must be submitted during this period in order to qualify.
  2. Entries must be an article, or blog entry.
  3. With the exception of the Everything Else category, the article must be tagged with at least one of the tags corresponding to that competition's category (for example, to enter the C# Competition you would need to tag your article with a C# tag).
  4. Articles entries must follow the CodeProject submission guidelines.
  5. No cheating, lying, plagiarizing articles, chicanery, or kicking.
  6. Articles may only be considered for a single category. If an article is eligible for multiple categories (for example, it pertains to both the C# and Web Dev categories), CodeProject editors and judges will decide which category the article shall be entered in.
  7. No author can be nominated twice in the same category.
  8. If an author writes has two separate articles, each article may be considered in their respective categories provided none of the aforementioned rules are broken. For example, if an author wrote two separate articles, one related to C# and one related to VB.NET, the author and articles could be nominated in the C# and VB.NET competitions, respectively.
  9. In the event an author wins multiple competitions, and repeat, identical prizes, the number of prizes issued is solely at the discretion of the prize issuer.
  10. Multiple votes from the same IP will be automatically disqualified.
  11. The judges’ decision is final and no correspondence will be entered into.
  12. Only those who live in jurisdictions in which this contest is legal may enter.
  13. Any breach of the rules and the prize will be awarded to the runner up.
  14. By entering the contest you agree to the rules, conditions of entry, and agree that your member alias and any submitted material can be used for promotional purposes by CodeProject.
  15. Entries shall be deemed to be submitted by the authorized account holder of the email address submitted at the time of entry unless clearly indicated otherwise. "Authorized account holder" is defined as the natural person who is assigned to an email address by an internet access provider, on-line service provider, or other organization (e.g. business, educational institution, etc.) that is responsible for assigning email addresses for the domain associated with the submitted email address.

Eligibility

This competition is open to software development professionals & enthusiasts who are of the age of majority in their jurisdiction of residence; however, residents of Quebec and of the following countries are ineligible to participate due to legal constraints: Cuba, Iran, Iraq, Libya, North Korea, Sudan, and Syria. Employees (or a member of their immediate family) of CodeProject or any of their affiliates, subsidiaries, advertising or promotional agencies are also ineligible to participate. Void where prohibited by law.

How to Enter

Entry is by the submission process described above. Please read the submission requirements before submitting your entry and ensure the article is tagged with at least one of the tags corresponding to that competition's category.

Lost, late, misdirected, or illegible entries will be disqualified. Any entry containing content that CodeProject deems objectionable for any reason will be disqualified. All decisions of CodeProject with respect to any aspect of the competition, including, without limitation, the eligibility of entries, are final and binding on all entrants in all matters as they relate to this competition. CodeProject reserves its right to modify the Rules.

CodeProject assumes no responsibility for lost, late, delayed, destroyed or misdirected mail, voice messages, email or any computer errors or malfunctions. No correspondence will be entered into with entrants.

CodeProject does not assume any responsibility for incorrect or inaccurate capture of entry information, technical malfunctions, human or technical error, lost, delayed or garbled data or transmissions, omission, interruption, deletion, defect or failures of any telephone or computer line or network, computer equipment, software or any combination thereof. Entry materials/data that have been tampered with or altered are void. If for any reason, in the opinion of CodeProject in its sole discretion, the competition is not capable of running as originally planned, or if the administration, security, fairness, integrity or the proper conduct of the competition is corrupted or adversely affected, including by reason of infection by computer virus, bugs, tampering, unauthorized intervention, fraud, technical failures or any other causes beyond its control, CodeProject reserves its right to cancel, terminate, modify, amend, extend or suspend the competition including cancelling any method of entry, and select a winner from previously received eligible entries. CodeProject reserves its right in its sole discretion to disqualify any individual it finds to be tampering with the entry process or the operation of the competition or to be acting in violation of the Rules or otherwise in a disruptive manner. CodeProject reserves its right to seek remedies and damages to the fullest extent of the law for any attempts to deliberately damage the competition web site or to undermine the legitimate operation of this competition. CodeProject shall not be held responsible for any errors or negligence that may arise or occur in connection with the competition including any damage to an entrant's computer equipment, system, software or any combination thereof, as a result of their participation in this competition or from downloading any material from the competition website where applicable.

You must sign in to participate in this contest.
This contest has ended.
1 Jan - 31 Jan 2014