Click here to Skip to main content
14,978,671 members

Articles by Abhishek Sur (Articles: 38, Technical Blogs: 48, Tip/Tricks: 10)

Articles: 38, Technical Blogs: 48, Tip/Tricks: 10

RSS Feed

Average article rating: 4.72

All Topics
Posted: 15 Aug 2009   Updated: 6 Aug 2012   Views: 335,928   Rating: 4.71/5    Votes: 60   Popularity: 8.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 140   Downloaded: 0
Please Sign up or sign in to vote.
This Table of Contents and articles is editable by all Silver members and above. Please update the article with as many as function you aware in SQL Server 2005/2008 that we are used generally. This will put all of them under a single article.
Posted: 20 Jan 2011   Updated: 25 Jan 2013   Views: 298,283   Rating: 4.99/5    Votes: 49   Popularity: 8.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
It's all about the unofficial CodeProject meetup in Lonavala (a hilly region between Pune and Mumbai), India on 11th December 2010. Supported by GIT members.
Database Development
SQL Server
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 272,545   Rating: 5.00/5    Votes: 13   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 406
Please Sign up or sign in to vote.
Gives an introduction of how to create SQL CLR managed objects in SQL server.
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 43,631   Rating: 4.42/5    Votes: 19   Popularity: 5.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 396
Please Sign up or sign in to vote.
Gives an introduction to CLR programming in SQL Server databases. This is the first part of a two-part article series.
Desktop Programming
Win32
Posted: 28 Jul 2008   Updated: 28 Jul 2008   Views: 659,911   Rating: 4.58/5    Votes: 30   Popularity: 6.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 1,782
Please Sign up or sign in to vote.
The article will help you to use Isolated Storage Classes
Posted: 3 Jan 2010   Updated: 17 Jan 2010   Views: 75,196   Rating: 4.98/5    Votes: 35   Popularity: 7.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 75   Downloaded: 1,841
Please Sign up or sign in to vote.
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
WPF
Posted: 7 Aug 2010   Updated: 27 Sep 2010   Views: 118,512   Rating: 4.82/5    Votes: 24   Popularity: 6.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 2
Please Sign up or sign in to vote.
Ribbon UI control set with the use of all items that would look nice with your application in WPF. A sample application is also provided.
Posted: 28 Jan 2010   Updated: 31 Jan 2010   Views: 104,908   Rating: 4.97/5    Votes: 42   Popularity: 7.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 1,655
Please Sign up or sign in to vote.
A WPF Infowindow placed on the right hand corner of the Code Canvas which informs you about the code statistics
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 113,941   Rating: 4.77/5    Votes: 33   Popularity: 7.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 6,593
Please Sign up or sign in to vote.
Easiest way to handle Localization in your WPF application
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 1,127,844   Rating: 4.76/5    Votes: 309   Popularity: 11.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 538   Downloaded: 17,741
Please Sign up or sign in to vote.
The article will guide you through the basics of WPF programing with in-depth knowledge about the architecture and the working principles of WPF programs. The article finally creates a sample "Hello World" application to step you into a new foundation.
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 229,174   Rating: 4.83/5    Votes: 48   Popularity: 8.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 3,894
Please Sign up or sign in to vote.
In this article, you will find most of the interesting things with Border and Brush elements.
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 140,549   Rating: 4.77/5    Votes: 53   Popularity: 8.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 3,703
Please Sign up or sign in to vote.
XAML as an Extensible Markup Language has great flexibilities to create objects in XAML itself and do functions like automatic binding, Conversion of Data, etc. Markup Extension allows you to truly extend your markup upto a certain extent to elevate you to write less code and design your application
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 393,730   Rating: 4.87/5    Votes: 89   Popularity: 9.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 171   Downloaded: 9,505
Please Sign up or sign in to vote.
WPF introduces a new property system which is enhanced by Dependency property. There are many improvements of Dependency Property over CLR properties. In this article, I have discussed how you could create your own Dependency Property and to work with various features of it.
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 195,705   Rating: 4.96/5    Votes: 74   Popularity: 9.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 97   Downloaded: 7,342
Please Sign up or sign in to vote.
In this article, I have specified how you could use Style, Triggers and animation in your WPF application to make your application more attractive, interactive and user friendly.
Posted: 28 Dec 2010   Updated: 30 Dec 2010   Views: 214,856   Rating: 4.84/5    Votes: 46   Popularity: 8.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 117   Downloaded: 7,556
Please Sign up or sign in to vote.
Binding is the most important topic of WPF programming. In this article, I have demonstrated how you could employ DataBinding to ensure that the Presentation logic is separated from the View and also give a simple demonstration on how the DataBinding concept works.
Posted: 28 Dec 2010   Updated: 21 Aug 2011   Views: 460,799   Rating: 4.92/5    Votes: 175   Popularity: 10.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 217   Downloaded: 10,111
Please Sign up or sign in to vote.
This article describes the basics of WPF application, how you can deal with layout, placements of controls and position.
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 35,771   Rating: 4.96/5    Votes: 17   Popularity: 6.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 731
Please Sign up or sign in to vote.
In this article, I have shown how you can build pluggable Resources for styles, Languages or any static objects, etc. Therefore building a new style doesn't hamper your code and you can easily plugin any new style to the application even though it is already in the production environment.
High Performance Computing
Parallel Processing
Posted: 5 Jun 2013   Updated: 5 Jun 2013   Views: 25,146   Rating: 5.00/5    Votes: 15   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we talk to Abhishek Sur, a herculian CodeProject author and two-time CodeProject MVP.
Programming Languages
C#
Posted: 15 Oct 2007   Updated: 11 May 2012   Views: 326,290   Rating: 4.07/5    Votes: 86   Popularity: 7.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 142   Downloaded: 34,683
Please Sign up or sign in to vote.
Unique folder protection that issues Windows Class IDS to protect folders.
Posted: 27 Dec 2009   Updated: 29 Mar 2021   Views: 165,325   Rating: 4.65/5    Votes: 78   Popularity: 8.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 264   Downloaded: 9,735
Please Sign up or sign in to vote.
New Win7 features explained with simple demo applications
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 40,912   Rating: 4.94/5    Votes: 13   Popularity: 5.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 196
Please Sign up or sign in to vote.
WeakReference comes very handy when working with Large objects. In this application, I have demonstrated how you could easily use this class to improve the performance of your application.
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 106,605   Rating: 4.83/5    Votes: 30   Popularity: 7.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 3,590
Please Sign up or sign in to vote.
In this article, I have introduced how easily you can create a RESTful service in WCF
Posted: 12 Jul 2009   Updated: 25 Jul 2009   Views: 60,763   Rating: 3.73/5    Votes: 19   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
Please Sign up or sign in to vote.
A discussion of Memory management in your program
C# 4.0
Posted: 13 Nov 2010   Updated: 20 Nov 2010   Views: 217,357   Rating: 4.82/5    Votes: 93   Popularity: 9.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 168   Downloaded: 2,317
Please Sign up or sign in to vote.
C# 5.0 CTP was introduced recently, this article is specally dealing with my own understanding with this realease with few sample applications
Posted: 25 Oct 2010   Updated: 4 Nov 2010   Views: 258,330   Rating: 4.92/5    Votes: 77   Popularity: 9.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 2,416
Please Sign up or sign in to vote.
In this article, I have provided sample codes to ensure you could build your own Dynamic Type easily using Reflection.Emit classes.
Posted: 5 Nov 2010   Updated: 5 Nov 2010   Views: 101,572   Rating: 4.91/5    Votes: 68   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 665
Please Sign up or sign in to vote.
The article demonstrates how Reflection APIs behaves in real time development and also gives you few ways to improve its performance.
Javascript
Posted: 18 Sep 2007   Updated: 15 Mar 2008   Views: 67,653   Rating: 4.97/5    Votes: 21   Popularity: 6.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 1,182
Please Sign up or sign in to vote.
Animation of an image. Using multiple images as thumbnails, you can enlarge it to a specific size.
PHP
Posted: 21 Sep 2007   Updated: 1 Dec 2009   Views: 837,952   Rating: 4.84/5    Votes: 119   Popularity: 9.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 356   Downloaded: 17,039
Please Sign up or sign in to vote.
The article will guide you with complete knowledge of how to add a Google map in your webpage with knowledge of JavaScript, use of Geocoder, use of InfoWindow, use of Marker, Tabbed Markers, Maximising marker, creating context menu, streetview in your map
Visual Basic
Posted: 7 Jun 2009   Updated: 9 Jun 2009   Views: 1,096,088   Rating: 4.80/5    Votes: 78   Popularity: 9.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 217   Downloaded: 29,822
Please Sign up or sign in to vote.
Simple demo to create/modify/delete Excel for both windows and web
Posted: 12 Jul 2009   Updated: 16 Jul 2009   Views: 45,397   Rating: 3.86/5    Votes: 10   Popularity: 3.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
What is the difference between DirectCast and TryCast
Posted: 28 Feb 2009   Updated: 28 Feb 2009   Views: 765,005   Rating: 4.76/5    Votes: 134   Popularity: 9.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 263   Downloaded: 3,996
Please Sign up or sign in to vote.
Basic Examples to work with Language Integrated Query(LINQ) concept that was introduces with C# 3.0 and/or .NET 3.5 (Corresponding VB.NET code included)
Posted: 18 Sep 2007   Updated: 9 Aug 2012   Views: 542,547   Rating: 4.12/5    Votes: 90   Popularity: 8.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 220   Downloaded: 42,493
Please Sign up or sign in to vote.
Sending Mails from your Windows Application
XML
Posted: 16 Aug 2008   Updated: 16 Aug 2008   Views: 374,699   Rating: 4.07/5    Votes: 37   Popularity: 6.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 96   Downloaded: 1,675
Please Sign up or sign in to vote.
All about vulnerabilities with Code Reverse Engineering, and the best steps to fix them (DotFuscator included).
Web Development
ASP.NET
Posted: 31 Oct 2009   Updated: 31 Oct 2009   Views: 325,848   Rating: 4.92/5    Votes: 38   Popularity: 7.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 3,563
Please Sign up or sign in to vote.
This article will enable you to add custom search rules to your application using Bing Search API with much more
Posted: 9 Jan 2011   Updated: 3 Nov 2012   Views: 405,660   Rating: 4.84/5    Votes: 89   Popularity: 9.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 195   Downloaded: 16,924
Please Sign up or sign in to vote.
The article demonstrates how you can use SQL Server Query Notification feature to get notification from database whenever the result of a command gets changed. Sample application demonstrating SqlDependency and SqlCacheDependency is also included.
Posted: 3 Nov 2009   Updated: 3 Nov 2009   Views: 274,962   Rating: 4.79/5    Votes: 27   Popularity: 6.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   Downloaded: 0
Please Sign up or sign in to vote.
Using this article you will get the basic idea of how you could use NDepend to control/analyze your application. It allows to apply design rules and refactor code.
Posted: 26 Oct 2008   Updated: 11 Jun 2010   Views: 108,614   Rating: 4.38/5    Votes: 33   Popularity: 6.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 103   Downloaded: 2,436
Please Sign up or sign in to vote.
All about Project and Item Templates. You can use Custom Templates to make your development process faster than you ever think. Create your own Template for Visual Studio and distribute with all others. You can also learn how to create an installer to install a template.
HTML
Posted: 29 Sep 2009   Updated: 2 Oct 2009   Views: 4,721,725   Rating: 4.95/5    Votes: 46   Popularity: 7.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 1,617
Please Sign up or sign in to vote.
The article will guide you with samples to create and embed Microsoft Map in your website within minutes. The intention is to give basic knowledge on how JavaScript library could be used to embed Custom Map.

Average blogs rating: 4.74

.NET
Posted: 11 Aug 2010   Updated: 11 Aug 2010   Views: 36,260   Rating: 4.87/5    Votes: 10   Popularity: 4.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
About Garbage Collection Notifications in .NET 4.0
Posted: 30 Jan 2011   Updated: 30 Jan 2011   Views: 26,991   Rating: 4.90/5    Votes: 10   Popularity: 4.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Internals of Exception Handling
All Topics
Posted: 6 Feb 2011   Updated: 16 Mar 2011   Views: 13,950   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Internals of Anonymous Types
Posted: 20 Feb 2011   Updated: 16 Mar 2011   Views: 18,330   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Inversion of Control: Practical usage of Interface, Delegate or Events
Posted: 29 Aug 2010   Updated: 27 Sep 2010   Views: 12,770   Rating: 4.96/5    Votes: 4   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Hi Folks,As few people told me to implement an observer in my last post where I just showed how to use it, here is the post where I am going to clear out confusions for you. If you have read my other post, you might already know what is an Observer and why it is required. Lets recap this a bit more.
Posted: 12 Sep 2010   Updated: 27 Sep 2010   Views: 14,411   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
A discussion about how to draw Marble Diagrams
Posted: 20 Jan 2011   Updated: 16 Mar 2011   Views: 19,350   Rating: 4.76/5    Votes: 7   Popularity: 4.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Internals of loops (While, For and ForEach)
Posted: 15 Sep 2010   Updated: 15 Sep 2010   Views: 14,670   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Creating a WCF service without Visual Studio
Posted: 26 Feb 2011   Updated: 26 Feb 2011   Views: 12,990   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Dependency Injection & IoC
Desktop Programming
Win32
Posted: 2 Aug 2009   Updated: 7 Sep 2009   Views: 947,046   Rating: 4.48/5    Votes: 141   Popularity: 9.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 192   Downloaded: 291
Please Sign up or sign in to vote.
Some of both Documented and Undocumented Keywords that we dont use often like Check, StackAlloc, Fixed,default,@variables,Nullables, __arglist,__reftype etc are explained with simple examples
Posted: 12 Sep 2009   Updated: 14 Sep 2009   Views: 284,470   Rating: 4.80/5    Votes: 15   Popularity: 5.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 27
Please Sign up or sign in to vote.
Make your class library COM visible using few simple steps
WPF
Posted: 12 Mar 2011   Updated: 12 Mar 2011   Views: 31,681   Rating: 4.10/5    Votes: 10   Popularity: 4.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Please Sign up or sign in to vote.
Deal with Performance in WPF applications
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 49,636   Rating: 3.77/5    Votes: 5   Popularity: 2.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Taskbar with Window Maximized and WindowState to None in WPF
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 57,042   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 783
Please Sign up or sign in to vote.
The article shows how you could use RenderTargetBitmap to render a visual into BitmapSource and convert the same into actual image.
Posted: 11 Mar 2011   Updated: 16 Mar 2011   Views: 15,872   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
RegisterName for StoryBoards in WPF (NameScopes)
Posted: 24 Aug 2010   Updated: 12 Jan 2018   Views: 31,033   Rating: 3.52/5    Votes: 5   Popularity: 2.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Working with ICollectionViewSource in WPF
Posted: 30 Jun 2010   Updated: 30 Jun 2010   Views: 132,775   Rating: 4.85/5    Votes: 41   Popularity: 7.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 1,575
Please Sign up or sign in to vote.
The article will demonstrate how you could handle Unhandled Exceptions from both UI and NonUI threads for your WPF application.
XAML
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 20,071   Rating: 4.88/5    Votes: 3   Popularity: 2.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Load your XAML from external file or from String XML to start working on an existing application instantly using XamlReader and XamlWriter
Operating Systems
Windows
Posted: 5 Jul 2010   Updated: 5 Jul 2010   Views: 20,252   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 53
Please Sign up or sign in to vote.
The article describes how you can deal with dynamic object to inject members during runtime. It also demonstrates how to create Custom DynamicObject.
Programming Languages
C#
Posted: 11 Jan 2010   Updated: 11 Jan 2010   Views: 42,441   Rating: 4.89/5    Votes: 7   Popularity: 4.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 638
Please Sign up or sign in to vote.
Pass data from a User control easily using Custom Events. I have added one sample application with this.
Posted: 13 Sep 2010   Updated: 27 Sep 2010   Views: 17,440   Rating: 4.58/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
A note about Partial methods
Posted: 24 Oct 2010   Updated: 26 Jan 2011   Views: 17,710   Rating: 4.43/5    Votes: 7   Popularity: 3.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Create Enumeration as Bit Flags
Posted: 10 Jul 2010   Updated: 10 Jul 2010   Views: 43,543   Rating: 4.15/5    Votes: 6   Popularity: 3.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 68
Please Sign up or sign in to vote.
This post demonstrates how easily you can implement a class / structure that may take part in arithmetic operation using Operator overloading of implicit and explicit cast operators
Posted: 28 Sep 2010   Updated: 28 Sep 2010   Views: 96,702   Rating: 4.93/5    Votes: 24   Popularity: 6.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 0
Please Sign up or sign in to vote.
Few new specifications on C# 5.0, a future of C#
Posted: 25 Dec 2010   Updated: 26 Jan 2011   Views: 15,270   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
Internals of a Delegate
Posted: 23 Jan 2011   Updated: 16 Mar 2011   Views: 13,460   Rating: 4.96/5    Votes: 4   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Different approaches to Casting
Posted: 11 Mar 2011   Updated: 16 Mar 2011   Views: 64,671   Rating: 4.73/5    Votes: 26   Popularity: 6.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 0
Please Sign up or sign in to vote.
All about .NET Timers - A Comparison
Posted: 9 Aug 2010   Updated: 27 Sep 2010   Views: 17,910   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
The article will demonstrate the story of WeakReference in light of Garbage Collection.
Posted: 5 Feb 2011   Updated: 16 Mar 2011   Views: 35,891   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Get Reflected use TypeDescriptor
Posted: 3 Jul 2010   Updated: 5 Jul 2010   Views: 65,084   Rating: 4.88/5    Votes: 13   Popularity: 4.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 1,614
Please Sign up or sign in to vote.
The post will demonstrate how you can capture a snapshot of a screen from within the application itself.
Posted: 23 Aug 2010   Updated: 27 Sep 2010   Views: 20,990   Rating: 4.90/5    Votes: 3   Popularity: 2.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
Here in the post, I am going to discuss about IObserver and IObservable interfaces and its connection to Push based approach on Reactive Framework.
Posted: 15 Oct 2010   Updated: 15 Oct 2010   Views: 15,261   Rating: 3.86/5    Votes: 7   Popularity: 3.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Hidden Facts of C# Structures in terms of MSIL
Posted: 16 Jan 2011   Updated: 16 Mar 2011   Views: 17,781   Rating: 4.80/5    Votes: 12   Popularity: 5.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Internals of Extension Methods
Posted: 18 Dec 2010   Updated: 18 Dec 2010   Views: 13,151   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
ADO.NET - Some Internals Uncovered
Posted: 1 Jan 2011   Updated: 1 Jan 2011   Views: 12,400   Rating: 4.91/5    Votes: 4   Popularity: 2.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
ADO.NET : Some internals uncovered
Posted: 23 Jan 2011   Updated: 23 Jan 2011   Views: 14,300   Rating: 4.67/5    Votes: 6   Popularity: 3.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Internals to C# iterators
Posted: 12 Jul 2010   Updated: 12 Jul 2010   Views: 19,170   Rating: 4.57/5    Votes: 9   Popularity: 4.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
How simply you can use Lazy initialize to defer the execution of a method or property for values to whenever it is required.
Posted: 5 Dec 2010   Updated: 5 Dec 2010   Views: 42,442   Rating: 4.80/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Win32 Handle (HWND) & WPF Objects - A Note
Posted: 7 Dec 2010   Updated: 7 Dec 2010   Views: 16,950   Rating: 4.70/5    Votes: 7   Popularity: 3.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Here are the ways to throw an exception in C#
Posted: 12 Jul 2009   Updated: 23 May 2012   Views: 126,063   Rating: 4.74/5    Votes: 30   Popularity: 6.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 0
Please Sign up or sign in to vote.
Discussion on Memory Management
Posted: 6 Sep 2010   Updated: 6 Sep 2010   Views: 16,650   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Use of Expression Trees in .NET for Lambda Decomposition
Posted: 13 Feb 2011   Updated: 13 Feb 2011   Views: 28,091   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
Code Contracts in .NET 4.0 & its Internals
C# 4.0
Posted: 5 Nov 2010   Updated: 26 Jan 2011   Views: 18,601   Rating: 4.36/5    Votes: 7   Popularity: 3.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Working with tuple in C# 4.0
XML
Posted: 24 Sep 2010   Updated: 24 Sep 2010   Views: 32,621   Rating: 4.92/5    Votes: 8   Popularity: 4.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 7
Please Sign up or sign in to vote.
Progress streamed file download and upload with resume facility
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 19,240   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
XAML is getting more and more popular and has also been introduced for Mobile applications. Recently, while I was exploring the internet, I found that the recent version of Windows 7 mobile interfaces use Silverlight to deal with the interface...
Posted: 23 Jul 2010   Updated: 23 Jul 2010   Views: 32,672   Rating: 4.91/5    Votes: 6   Popularity: 3.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 195
Please Sign up or sign in to vote.
In this article, I have introduced how you could use code snippets in your program to enhance code productivity.
Web Development
ASP.NET
Posted: 8 Nov 2009   Updated: 8 Nov 2009   Views: 46,292   Rating: 4.89/5    Votes: 7   Popularity: 4.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
A weird error that comes when a page is opened for a long time and then posted back
XHTML
Posted: 12 Jul 2009   Updated: 26 Jul 2009   Views: 179,637   Rating: 4.85/5    Votes: 26   Popularity: 6.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 354
Please Sign up or sign in to vote.
Use of GZipStream or DeflateStream to compress your HTML output in your response when available. Added new class as WhiteSpaceFilter to remove whitespaces from HTML.

Average tips rating: 4.42

Database Development
SQL Server
Posted: 20 Jan 2010   Updated: 20 Jan 2010   Views: 51,776   Rating: 4.50/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
It is a common issue of many of the guys on how we can fetch a record based on its record number. It is really easy to get first 10 records usingSELECT TOP 10 * FROM EMPBut when we want to fetch records in such a way say I need to fetch record from 40 to 50. This comes very handy when...
Desktop Programming
WPF
Posted: 15 Mar 2011   Updated: 16 Mar 2011   Views: 17,850   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
When animation is not totally complete, default animation behavior might produce jurky animation. Here is a demo how you could make it smoother.
Posted: 20 Mar 2011   Updated: 20 Mar 2011   Views: 36,592   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
WPF inputbindings to bind your key and mouse events directly with your ViewModels
Programming Languages
C#
Posted: 8 Dec 2009   Updated: 8 Dec 2009   Views: 31,052   Rating: 4.17/5    Votes: 5   Popularity: 2.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
As a developer, you must have found few things that are really haven't thought of earlier. On that note, Say you want to disable Close Button of a window. It is easier to disable other button (using properties available with Form) from control box of the window, or even remove the control box...
Posted: 13 Sep 2010   Updated: 18 Sep 2010   Views: 193,482   Rating: 4.89/5    Votes: 13   Popularity: 5.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 27 Apr 2011   Updated: 27 Apr 2011   Views: 27,474   Rating: 4.50/5    Votes: 4   Popularity: 2.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Thread.Sleep is actually used to block the thread Temporarily for an interval. Async CTP brings forth one probable alternative if you dont want to write yourself : TaskEx.Delay(milliseconds)Probably in next release it will be Task.Delay(milliseconds)This works little different as it...
Web Development
ASP.NET
Posted: 10 Sep 2009   Updated: 10 Sep 2009   Views: 43,720   Rating: 4.40/5    Votes: 11   Popularity: 4.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
It is to be noted, .NET has lately introducedResponse.RedirectParmanent() after a long await. The main motive of this is tohave permanent response redirection to the Search Engines.Response.RedirectParmanent() is an extension function introduced in .NET 4.0.Themain motive of it is to indicate
Posted: 13 Sep 2009   Updated: 13 Sep 2009   Views: 9,450   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
It is a very common issue to handle automatic postbacks to controls. Here I am going to explain how we can handle autopostback of a button click using Javascript Event. Suppose you have a button : Now you want to occationally c
Posted: 13 Dec 2009   Updated: 13 Dec 2009   Views: 20,921   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Hi Guys,It is common behavior of ASP.NET that if a control is set to Visible = "false", the response stream doesn't contain the definition of it. Therefore, if you want to make the control visible during runtime from Javascript always put display = none in styles attribute.Say you have a...
Posted: 22 Sep 2009   Updated: 22 Sep 2009   Views: 35,972   Rating: 4.86/5    Votes: 10   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Sometimes we have requirement to disable Right Click context menu and Text selection of a web page from the user, so that the user cannot use the right click default context menu and also to disable text selection so that sensitive data could not be copied from the website. To Disable Context Menudo

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Abhishek Sur
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