Click here to Skip to main content
15,176,816 members
This competition has ended

Best ASP.NET article of June 2011

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.
16 Jun 2011
Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.
Please Sign up or sign in to vote.
14 Jun 2011
PSK_
1 alternative  
How to maintain scroll position of a long page with vertical scrollbar in browser other than IE.
Please Sign up or sign in to vote.
2 Jun 2011
AlexCode
Using ResolveUrl without Page
Please Sign up or sign in to vote.
20 Jun 2011
thatraja
DescriptionR...
Please Sign up or sign in to vote.
16 Jun 2011
Artem Smirnov
For those of you scared by the numerous steps required to setup a typical Open Source project, this would be a pleasant surprise.
Please Sign up or sign in to vote.
16 Jun 2011
Artem Smirnov
A few tricks in using FubuMVC
Please Sign up or sign in to vote.
17 Jun 2011
#realJSOP
Back-tracking to make sure code is processed before the current page executes
Please Sign up or sign in to vote.
29 Jun 2011
Ziad J.khan
You can find a much more advanced version of this here:http://univar.codeplex.com[^]The version provided on the download page is soon to be deprecated by the upcoming version 2.0b however. The latter is available here instead:http://univar.codeplex.com/SourceControl/list/changesets[^]
Please Sign up or sign in to vote.
10 Jun 2011
AshwinRayaprolu
Retrieving descriptions of all links in DZone using jsoup.
Please Sign up or sign in to vote.
13 Jun 2011
DevAffair
An example to demonstrate the power and accessibility JSON offers to developers.
Please Sign up or sign in to vote.
13 Jun 2011
Bajrang Singh
How to validate a user control in ASPX page
Please Sign up or sign in to vote.
14 Jun 2011
Steve Roberson
This version treats the input string as an indexed string. The code is a little shorter.private string createDisplayText(string propertyName){ if (String.IsNullOrEmpty(propertyName)) { return String.Empty; } StringBuilder builder = new StringBuilder(); ...
Please Sign up or sign in to vote.
20 Jun 2011
nerdpro
You can also use the System.Net.HttpWebRequest implementation of System.Net.WebRequest. It comes packaged with a timeout property - http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx.It would be a simple call to the object:...using System.Net;...HttpWebRequest...
Please Sign up or sign in to vote.
24 Jun 2011
nainakarri
Debugger showing wrong source file when debugging in VS2005
1 Jun 2011
Accusoft
Traditional forms processing solutions have run on desktops or local servers. This whitepaper suggests an alternative approach: doing forms processing via a web service. This allows for processing forms through a browser, mobile forms processing, and access to forms processing from environments beyo
Please Sign up or sign in to vote.
2 Aug 2017
Marcelo Ricardo de Oliveira
Join the HTML 5 revolution by learning how to create a fast game with beautiful graphics and powerful audio experience
Please Sign up or sign in to vote.
16 Aug 2011
Wayne Ye
HTML5 WebSocket defines a bi-directional, full-duplex communication channel operates through a single TCP connection, this article discusses its fantastic performance, the WebSocket protocol principle and its handshake mechanism, and develop a WebSocket application in action (Team Poker).
Please Sign up or sign in to vote.
14 Jun 2011
ITFunda
In this article, we are going to learn how to avoid the Session fixation vulnerability in ASP.NET.
Please Sign up or sign in to vote.
24 Feb 2014
Shivprasad koirala
In this article we will try to understand what regex is and how to remember those cryptic syntaxes easily.
Please Sign up or sign in to vote.
25 Jun 2011
Frank Kerrigan
Enabling ModalPopupExtender from ServerSide Code in the Ajax Control Kit
Please Sign up or sign in to vote.
14 Jun 2011
Matt Perdeck
Describes a fast algorithm to pack a series of rectangles of varying widths and heights into an enclosing rectangle of minimum size
Please Sign up or sign in to vote.
21 May 2014
Coding 101
A simple Registry change will enable IE to display JSON responses.
Please Sign up or sign in to vote.
2 Jul 2015
DrABELL
DropDownList Data Binding to Array (1D/2D), Enum and Dictionary objects in .NET
Please Sign up or sign in to vote.
29 Jun 2011
Bahram Ettehadieh
1 alternative  
Make text of an html checkbox clickable (like ASP.NET control)
Please Sign up or sign in to vote.
8 Jun 2011
Igor Alekseev
How to display Videos from YouTube channel in ASP.NET website
Please Sign up or sign in to vote.
8 Jun 2011
kiswa00
Why not take care of the first character before the loop, instead of checking it every time (not that it makes a big difference on modern hardware)? This also moves the char declaration out of the loop.private string createDisplayText(string propertyName){ if...
Please Sign up or sign in to vote.
12 Jul 2011
Mahsa Hassankashi
This is a very easy and user friendly technique for web applications to implement cascading menus without page refresh.
Please Sign up or sign in to vote.
21 Feb 2013
A Mahesh
Detect latest mobile devices/browsers using ASP.NET and 51degrees
Please Sign up or sign in to vote.
13 Feb 2015
Shivprasad koirala, Marla Sukesh
As the article's name says, learn MVC. Ao the agenda is simple, we are going to learn ASP.NET MVC in 7 days.
Please Sign up or sign in to vote.
15 Feb 2015
DrABELL
1 alternative  
Make entire table row clickable/selectable by adding "onclick" event and formatting features via JavaScript and CSS3.
Please Sign up or sign in to vote.
22 Jun 2011
AspDotNetDev
This can be automated and streamlined with generics. First, create a SessionVariable class:public class SessionVariable{ private string VariableName { get; set; } private System.Web.SessionState.HttpSessionState Session { get; set; } public T Value { get ...
Please Sign up or sign in to vote.
23 Jun 2011
gggustafson
Describes a method whereby the definition of Acronyms and Initialisms can be shown when the user hovers over a specially displayed Abbreviation or Initialism
Please Sign up or sign in to vote.
5 Jun 2011
thatraja
Display Date Time in 12/24 hour time format in C#/VB.NET
Please Sign up or sign in to vote.
23 Jun 2011
#realJSOP
5 alternatives  
One way to guarantee uniqueness and avoid misspelling your session variable names
Please Sign up or sign in to vote.
30 Jan 2012
Keith Barrow
This artcle extends Part 1 to allow overriding of culture through the URL in a lightweight fashion.
Please Sign up or sign in to vote.
26 Jun 2011
Ray_Liang
In this article, I will show you how to build a component model for ASP.NET MVC3 with Builder and Factory design patterns. You could use this model to write your strongly type components to binding data, handling harchical objects and write jQuery UI controls / HTML5 controls for ASP.NET MVC3.
Please Sign up or sign in to vote.
28 Jun 2011
Slavko.Parezanin
jQuery widget for autocompletion of categorized data through the hierarchies
Please Sign up or sign in to vote.
2 Jul 2011
WillCaptain
How to make subscription on webpage in terms of comet and websocket
Please Sign up or sign in to vote.
25 Oct 2011
defwebserver
An advanced LightSwitch tutorial covering PreProcess Queries, Email, PopUps, WCF RIA Services, and HTML pages
Please Sign up or sign in to vote.
4 Jul 2011
Dr. Song Li
This article presents an example of how to use data annotations to validate data received from jQuery AJAX calls and how to send validation result as well as HTML content from a partial view to the client in a JSON object in MVC.
Please Sign up or sign in to vote.
18 Jun 2011
Amit Kumar Dutta
Discusses a technique to record current geographic location from mobile and display in web pages (with Location History Browsing)
Please Sign up or sign in to vote.
15 Jun 2011
sk saini
An easy way for paging DataGridView
Please Sign up or sign in to vote.
16 Jun 2011
Karthik. A
Debugging ASP.NET MVC routes simplified using "Route Debug"
Please Sign up or sign in to vote.
23 Jun 2011
Dr. Song Li
This article presents an example to use jQuery validation plugin.
Please Sign up or sign in to vote.
16 Aug 2012
scott_liu
It employs a dynamic trigger, a CLR Stored Procedure, and a Web Service to sync data from a MS SQL Server to MySQL.
Please Sign up or sign in to vote.
5 Jul 2011
Ray_Liang
In this article, I will explain how to implement Respository pattern with EF4.1 code first and how to enable dependency injection feature to your ASP.NET MVC3 Applications.
Please Sign up or sign in to vote.
22 Jun 2011
Farhan Ejaz
Time Picker Ajax Extender Control
Please Sign up or sign in to vote.
27 Jun 2011
M I developer
How to read and write .xlsx (Excel 2007) file via C# - Part II
Please Sign up or sign in to vote.
11 Jun 2011
Ramu Sangabathula Original
This article gives the reader an idea of how the jQuery Validation plug-in works internally and also how can we extend the validation rules from our applications.

Current Participants

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

#realJSOP
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.
Amit Kumar Dutta
Student University of Alabama at Birmingham
United States United States

A very simple guy, who codes with his heart (and with his brain, of course).

Homepage: http://www.amitdutta.net
View my profile on Linkedin: http://www.linkedin.com/in/am1tdutta/
PSK_
Architect
India India
Its me Smile | :)
A Mahesh
Web Developer
India India
Symphony Services, Banglore, 560 087, India
Accusoft
United States United States
Accusoft provides a full spectrum of document, content, and imaging solutions as fully supported, enterprise-grade, client-server applications, mobile apps, cloud services, and software development kits. The company is focused on solving document lifecycle complexities through:


- A customer-focused approach
- Continuous product development
- Proactive support
- Forward-thinking leadership

Founded in 1991, Accusoft has grown through persistent product innovation and strategic mergers and acquisitions into the best-in-class solutions provider it is today. The company has been awarded 30 patents and is recognized as a thought leader in the industry.
Group type: Organisation

1 members

AlexCode
Architect
Switzerland Switzerland
Senior IT Consultant working in Switzerland as Senior Software Engineer.

Find more at on my blog.
Artem Smirnov
Software Developer GeekSoft
Lithuania Lithuania
No Biography provided
AshwinRayaprolu
Chief Technology Officer Northalley
United States United States
A Technology evangelist with no technical language barriers. A strong believer that Simple Sofware Is Perfect Software. A staunch proponent of software / documentation automation in all domain's. And finally a true diciple of Google Search.
AspDotNetDev
Web Developer
United States United States

  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):
Bahram Ettehadieh
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
I hold a BS degree in software engineering and am a Microsoft Certified Solution Developer(MCSD).
I have more than 8 years of experience in .NET developement, mostly web develop using C# and ASP.NET.
Bajrang Singh
Software Developer (Senior) Siemens IT Solutions and Services Pvt. Ltd.
India India
I am a .NET Developer.
Coding 101
Software Developer
United States United States
No Biography provided
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:
DevAffair
Team Leader Sports Betting Tech
Israel Israel
No Biography provided
Dr. Song Li
United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.
DrABELL
Software Developer (Senior)
United States United States
Dr. Alexander Bell is a seasoned full-stack Software Engineer (Win/Web/Mobile). He holds PhD in Electrical and Computer Engineering, authored 37 inventions and published 300+ technical articles. Currently focused on multiple Android/Mobile development projects and Big Data' Machine Learning, AI, IoT. Alex participated in App Innovation Contests (AIC 2102/2013) with multiple winning submissions. Sample portfolio apps and publications:

  1. Publications by A. Bell
  2. Educational Web Portal
  3. Engineering Calculator VOLTA
  4. Aggregate Product function extends SQL
  5. Use SQL to generate large data sequence
  6. HTML5/CSS3 graphic enhancement: buttons, inputs
  7. Advanced CSS3 Styling of HTML5 SELECT Element
  8. enRoute: Real-time NY City Bus Tracking Web App
  9. YouTube™ API for ASP.NET
  10. HTML5 Tables Formatting: Alternate Rows, Color Gradients, Shadows
Farhan Ejaz
Software Developer (Senior) Schneider Electric, GTCI Bangalore
India India
Music is my passion,
Apart from programming I like to read a lot.
Frank Kerrigan
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,
gggustafson
Software Developer (Senior)
United States United States
In 1964, I was in the US Coast Guard when I wrote my first program. It was written in RPG (note no suffixing numbers). Programs and data were entered using punched cards. Turnaround was about 3 hours. So much for the "good old days!"

In 1970, when assigned to Washington DC, I started my MS in Mechanical Engineering. I specialized in Transportation. Untold hours in statistical theory and practice were required, forcing me to use the university computer and learn the FORTRAN language, still using punched cards!

In 1973, I was employed by the Norfolk VA Police Department as a crime analyst for the High Intensity Target program. There, I was still using punched cards!

In 1973, I joined Computer Sciences Corporation (CSC). There, for the first time, I was introduced to a terminal with the ability to edit, compile, link, and test my programs on-line. CSC also gave me the opportunity to discuss technical issues with some of the brightest minds I've encountered during my career.

In 1975, I moved to San Diego to head up an IR&D project, BIODAB. I returned to school (UCSD) and took up Software Engineering at the graduate level. After BIODAB, I headed up a team that fixed a stalled project. I then headed up one of the two most satisfying projects of my career, the Automated Flight Operations Center at Ft. Irwin, CA.

I left Anteon Corporation (the successor to CSC on a major contract) and moved to Pensacola, FL. For a small company I built their firewall, given free to the company's customers. An opportunity to build an air traffic controller trainer arose. This was the other most satisfying project of my career.

Today, I consider myself capable.
Igor Alekseev
Technical Lead UBS
Russian Federation Russian Federation
Currently Technical Lead at UBS
ITFunda
IT Funda Corporation
India India
Provide online .NET training and training materials.
Karthik. A
Software Developer (Senior)
United States United States
Just another passionate software developer!

Some of the contributions to the open source world - a blog engine written in MVC 4 - sBlog.Net. Check it out here. For the codeproject article regarding sBlog.Net click here!

(Figuring out this section!)
Keith Barrow
Software Developer (Senior)
United Kingdom United Kingdom
I Graduated in Natural Sciences (Chemistry & Physics) from Durham University, where I did not cover myself with glory, but did fill, and often cover, myself with beer.

I qualified as a secondary school teacher, but I hated teaching. I worked as an IT techhie for a few years but kept being promoted to IT Trainer, thanks to my teaching experience, which I also disliked. I spent some time working out what else I could do instead and reduced beer intake.

I realised that I should work as a programmer, having enjoyed it a hobby since I was a nipper in the halcyon days of the Sinclair Spectrum (48k, Rubber Keyboard). Spent two weeks working out why I didn't think of this to start with, instead of starting my dull-as-ditch-water Chemistry degree 8 years earlier. Had a beer to celebrate.

I Graduated in 2001 with an MSc from Newcastle Uni in Comp Sci. Did cover myself with glory, and drank some beer.

.Netting ever since, and loving it. Though I have largely given up beer due to not being able to hack the pace like I used to.

I was born, brought up, and have lived most of my life near Newcastle. In a fit of temporary insanity I moved to Amman, in my wife's homeland of Jordan, but made it back safely to the UK without any extra holes being made in my person by bullets. To be fair it was pretty safe at the time, if you ignored the roads.

Visit Jordan if you can by the way, the landscape is beautiful and varied, the food excellent and the people the friendliest on earth, after Geordies naturally Smile | :) .
kiswa00
Software Developer (Senior)
United States United States
No Biography provided
M I developer
Technical Writer
United States United States
<Profile>
<Profession>
I am a Software Engineer from Karachi Pakistan, Being a programmer obviously I love to code but I love to code that adds something new in my knowledge else I do copy paste usually Smile | :)
</Profession>
<Education>
Have done Master and Bachelors of Computer Science from Karachi University Pakistan
</Education>
<Interests>
Anything I found interesting technically or non-technically so nothing specific Wink | ;)
</Interests>
</Profile>
Mahsa Hassankashi
Doctorandin Technische Universität Berlin
Iran (Islamic Republic of) Iran (Islamic Republic of)
I have been working with different technologies and data more than 10 years.
I`d like to challenge with complex problem, then make it easy for using everyone. This is the best joy.

ICT Master in Norway 2013
Doctorandin at Technische Universität Berlin in Data Scientist ( currently )
-------------------------------------------------------------
Diamond is nothing except the pieces of the coal which have continued their activities finally they have become Diamond.

http://www.repocomp.com/
Matt Perdeck
Architect
Australia Australia
Twitter: @MattPerdeck
LinkedIn: au.linkedin.com/in/mattperdeck
Current project: JSNLog JavaScript Logging Package

Matt has over 9 years .NET and SQL Server development experience. Before getting into .Net, he worked on a number of systems, ranging from the largest ATM network in The Netherlands to embedded software in advanced Wide Area Networks and the largest ticketing web site in Australia. He has lived and worked in Australia, The Netherlands, Slovakia and Thailand.

He is the author of the book ASP.NET Performance Secrets (www.amazon.com/ASP-NET-Site-Performance-Secrets-Perdeck/dp/1849690685) in which he shows in clear and practical terms how to quickly find the biggest bottlenecks holding back the performance of your web site, and how to then remove those bottlenecks. The book deals with all environments affecting a web site - the web server, the database server and the browser.

Matt currently lives in Sydney, Australia. He recently worked at Readify and the global professional services company PwC. He now works at SP Health, a global provider of weight loss web sites such at CSIRO's TotalWellBeingDiet.com and BiggestLoserClub.com.
nainakarri
India India
Developer
nerdpro
Database Developer APN
New Zealand New Zealand
This member doesn't quite have enough reputation to be able to display their biography and homepage.
RaisKazi
Technical Lead
United States United States
Full Stack Technology Professional

Hands-on experience with -
. Asp.Net, MVC, C#, Ajax
. JavaScript, Jquery, AngularJS
. Xamarin
. SharePoint
. VBScript

Tested flavors of -
. Java, Perl, Python, NodeJS, Android, IOS(little bit)
Ramu Sangabathula Original
Architect
India India
I have around 9 years of experience in Microsoft technologies, .Net 2.0,3.5, Asp.net MVC developed small to medium scale products using Silverlight 2.0, Asp.net Ajax technologie and Javascript frameworks.
Ray_Liang
Architect DotNetAge
China China
In 1999, I started programming using Delphi, VB, VJ.From 2002 I started with .NET using C#.Since 2005 when i had became an EIP product manager I was focus on EIP and CMS technique. In 2008 i established dotnetage.com and started to shared my ideas and projects online. I believe "No shared no grow"

www.dotnetage.com
scott_liu
Software Developer (Senior)
Canada Canada
No Biography provided
sk saini
Software Developer (Senior) Embossoft Solutions
India India
Software developer with 3+ years of experience in c# Winform applications development on ASP.NET platform.
Slavko.Parezanin
Software Developer (Senior) Freelancer
Serbia Serbia
June 2011. – Present, Freelancer
• Took part in development of Web Platform for automated trading.
Thanks to Lightstreamer.com as the real-time bi-directional data delivery we realized Long Polling Push pattern. Also, thanks to ASP.NET MVC 4 mobile features, application renders different HTML markups for different display devices, mobile specific or agent specific (i.e. iPhone).
As the Data Access Layer, we used SQL Server and Entity Framework Repository Pattern.
At client side intensive usage of jQuery, Bootstrap, Knockout.js and Widgets developed by custom bindings of Knockout.js.

September 2010. – May 2011. TekNuvo

• Developed application for coupon and promotional data for advertisers. Technologies: ASP.NET MVC 3, C#, LINQ, Entity Framework 4.0, Code-First, Scaffolding …
• Extracted and integrated Lucene Search Modules from Orchard CMS Project Source.
• Using Unity as Dependency Injection Container, and Interfaces instead of specific classes, i.e. accessing data through an abstract repository interface, we enabled easy way of unit testing. Used TDD as the method of a design, specifying desired behaviors in the form of unit tests, and then provided implementations to fit.
• Developed several jQuery plugins.
• Developed Shopping Cart application using “ASP.NET MVC 2”, “LINQ to SQL” and NUnit.

March 2008. – August 2010. Mogul Balkan

• Developed Windows Service for integration of Active Directory Groups and Users with SharePoint Groups and Users.
• Integration of InfoPath Forms services with SharePoint.
Developed PowerShell script for automatic unpacking, modifying and packaging of the InfoPath Forms.
• Created custom Moss 2007 Publishing Portal Site Definition with automatic creation of sites structure for extranet project.
• Developed Publishing Feature for WSS 3.0 only.
• Customization and extension of Content Query Web Part.
• Customization of CQWP XSLT files.
• Deployment of SharePoint packages using VSeWSS 1.3 and WSPBuilder
• Deploymen
Steve Roberson
Software Developer (Senior) SouthData, Inc.
United States United States
No Biography provided
thatraja
Team Leader
India India
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!
WillCaptain
China China
No Biography provided
Wonde Tadesse
Architect
United States United States
MSCS, MCTS, Senior Software Engineer, Architect, Craftsman, The Ultimate DEV ...
Azure Series

Ziad J.khan
Software Developer (Senior)
Mauritius Mauritius
No Biography provided
You must sign in to participate in this contest.
This contest has ended.
1 Jun - 30 Jun 2011