Click here to Skip to main content

Articles by Abhishek Sur (Articles: 35, Technical Blogs: 51, Tip/Tricks: 10)

Articles: 35, Technical Blogs: 51, Tip/Tricks: 10

RSS Feed

Average article rating: 4.78

Files and Folders
General
Posted: 15 Oct 2007   Updated: 11 May 2012   Views: 166,632   Rating: 4.57/5    Votes: 73   Popularity: 8.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 125   Downloaded: 20,671
Unique folder protection that issues Windows Class IDS to protect folders.
Miscellaneous
Beginners
Posted: 28 Jul 2008   Updated: 28 Jul 2008   Views: 68,995   Rating: 4.63/5    Votes: 27   Popularity: 6.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 1,032
The article will help you to use Isolated Storage Classes
Posted: 7 Jun 2009   Updated: 9 Jun 2009   Views: 238,222   Rating: 4.81/5    Votes: 65   Popularity: 8.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 205   Downloaded: 19,479
This article simplifies your work with MS Excel (both xls and xlsx) using Oledb and Microsoft Data Access. Simple demonstration to create/modify/delete excel for both windows and web is provided.
Posted: 27 Dec 2009   Updated: 25 Jan 2010   Views: 85,429   Rating: 4.93/5    Votes: 73   Popularity: 9.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 244   Downloaded: 6,804
New features like Jumplist, Taskbar Progressbar, Tabbed Thumbnail, Icon Overlays, Application Restart Data Recovery, Network Management, Power Management, Task dialog, Sensor Api etc explained with simple demo applications
General
Posted: 28 Jan 2010   Updated: 31 Jan 2010   Views: 51,077   Rating: 5.00/5    Votes: 41   Popularity: 8.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 1,239
A WPF Infowindow placed on the right hand corner of the Code Canvas which informs you about the code statistics
Client side scripting
Controls
Posted: 29 Sep 2009   Updated: 2 Oct 2009   Views: 88,289   Rating: 4.95/5    Votes: 43   Popularity: 8.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 1,267
The article will guide you with samples to create and embed Microsoft Map in your website within minutes. The intension is to give basic knowledge on how Javascript library could be used to embed Custom Map
General
Posted: 18 Sep 2007   Updated: 15 Mar 2008   Views: 45,221   Rating: 4.97/5    Votes: 20   Popularity: 6.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,021
Animation of an image. Using multiple images as thumbnails, you can enlarge it to a specific size.
Posted: 21 Sep 2007   Updated: 1 Dec 2009   Views: 548,981   Rating: 4.87/5    Votes: 113   Popularity: 10.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 345   Downloaded: 13,035
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
Database
SQL Server
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 19,349   Rating: 4.36/5    Votes: 13   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 335
Gives an introduction of how to create SQL CLR managed objects in SQL server.
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 22,943   Rating: 4.39/5    Votes: 19   Popularity: 5.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 316
Gives an introduction to CLR programming in SQL Server databases. This is the first part of a two-part article series.
Posted: 15 Aug 2009   Updated: 6 Aug 2012   Views: 201,378   Rating: 4.76/5    Votes: 52   Popularity: 8.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 128   Downloaded: 0
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.
C#
General
Posted: 31 Oct 2009   Updated: 31 Oct 2009   Views: 83,929   Rating: 4.91/5    Votes: 36   Popularity: 7.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 78   Downloaded: 2,670
This article will enable you to add custom search rules to your application using Bing Search API with much more
Posted: 13 Nov 2010   Updated: 20 Nov 2010   Views: 118,752   Rating: 4.83/5    Votes: 89   Popularity: 9.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 1,766
C# 5.0 CTP was introduced recently, this article is specally dealing with my own understanding with this realease with few sample applications
How To
Posted: 3 Jan 2010   Updated: 17 Jan 2010   Views: 35,380   Rating: 4.98/5    Votes: 35   Popularity: 7.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 1,162
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
Posted: 9 Jan 2011   Updated: 3 Nov 2012   Views: 181,257   Rating: 4.90/5    Votes: 70   Popularity: 9.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 156   Downloaded: 8,212
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.
Reflection
Posted: 25 Oct 2010   Updated: 4 Nov 2010   Views: 131,109   Rating: 4.91/5    Votes: 67   Popularity: 8.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 124   Downloaded: 1,165
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: 54,598   Rating: 4.92/5    Votes: 65   Popularity: 8.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 128   Downloaded: 485
The article demonstrates how Reflection APIs behaves in real time development and also gives you few ways to improve its performance.
.NET Framework
General
Posted: 28 Feb 2009   Updated: 28 Feb 2009   Views: 415,141   Rating: 4.80/5    Votes: 110   Popularity: 9.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 220   Downloaded: 2,822
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: 31 Oct 2010   Updated: 31 Oct 2010   Views: 20,907   Rating: 4.97/5    Votes: 13   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 158
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.
How To
Posted: 16 Aug 2008   Updated: 16 Aug 2008   Views: 64,943   Rating: 4.04/5    Votes: 35   Popularity: 6.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 89   Downloaded: 960
All about vulnerabilities with Code Reverse Engineering, and the best steps to fix them (DotFuscator included).
Utilities
Posted: 3 Nov 2009   Updated: 3 Nov 2009   Views: 31,900   Rating: 4.62/5    Votes: 25   Popularity: 6.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 53   Downloaded: 0
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.
Windows Communication Foundation
General
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 52,257   Rating: 4.80/5    Votes: 26   Popularity: 6.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 77   Downloaded: 2,426
In this article, I have introduced how easily you can create a RESTful service in WCF
Windows Presentation Foundation
General
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 36,968   Rating: 4.78/5    Votes: 18   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 2,823
Easiest way to handle Localization in your WPF application
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 480,354   Rating: 4.74/5    Votes: 216   Popularity: 11.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 402   Downloaded: 10,663
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: 76,204   Rating: 4.83/5    Votes: 43   Popularity: 7.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 2,798
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: 56,427   Rating: 4.71/5    Votes: 40   Popularity: 7.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 61   Downloaded: 2,600
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: 151,184   Rating: 4.84/5    Votes: 60   Popularity: 8.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 118   Downloaded: 5,674
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: 100,214   Rating: 4.94/5    Votes: 58   Popularity: 8.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 79   Downloaded: 5,100
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: 95,626   Rating: 4.81/5    Votes: 35   Popularity: 7.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 90   Downloaded: 5,190
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: 188,738   Rating: 4.91/5    Votes: 135   Popularity: 10.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 174   Downloaded: 6,467
This article describes the basics of WPF application, how you can deal with layout, placements of controls and position.
Styles
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 16,335   Rating: 4.95/5    Votes: 15   Popularity: 5.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 521
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.
Internet / Network
Email
Posted: 18 Sep 2007   Updated: 9 Aug 2012   Views: 280,302   Rating: 4.58/5    Votes: 84   Popularity: 8.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 208   Downloaded: 20,494
Sending Mails from your Windows Application
Code Generation
General
Posted: 26 Oct 2008   Updated: 11 Jun 2010   Views: 69,550   Rating: 4.38/5    Votes: 33   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 103   Downloaded: 1,785
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.
Interviews
General
Posted: 5 Jun 2013   Updated: 5 Jun 2013   Views: 10,337   Rating: 5.00/5    Votes: 13   Popularity: 5.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
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.
Scrapbook
General
Posted: 20 Jan 2011   Updated: 25 Jan 2013   Views: 179,263   Rating: 4.99/5    Votes: 48   Popularity: 8.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
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.

Average blogs rating: 4.72

Grid & Data Controls
General
Posted: 24 Aug 2010   Updated: 24 Aug 2010   Views: 11,195   Rating: 3.52/5    Votes: 5   Popularity: 2.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
If you are working with WPF for long, you might already have come across with ICollectionView. It is the primary Data object for any WPF list controls (like ComboBox, ListBox, ListView etc) that allows flexibilities like Sorting, Filtering, Grouping, Current Record Management etc. Thus it ensures th
Menus
Menus and Toolbars
Posted: 7 Aug 2010   Updated: 27 Sep 2010   Views: 49,144   Rating: 4.89/5    Votes: 18   Popularity: 6.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 0
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.
Progress Controls
General
Posted: 24 Sep 2010   Updated: 24 Sep 2010   Views: 19,100   Rating: 4.91/5    Votes: 7   Popularity: 4.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
For distributed applications, WCF is the most easy and rich component.I like to use WCF as it is very easy to implement and also provides built in functions to handle with Complex problems. One of such interesting thing that I found in WCF is the support for Streaming while sending data from the ser
Applications & Tools
Tools with source code
Posted: 12 Mar 2011   Updated: 12 Mar 2011   Views: 17,056   Rating: 4.89/5    Votes: 8   Popularity: 4.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Deal with Performance in WPF applications
ASP.NET
Howto
Posted: 11 Jan 2010   Updated: 11 Jan 2010   Views: 25,425   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 638
Pass data from a User control easily using Custom Events. I have added one sample application with this.
Utilities
Posted: 12 Jul 2009   Updated: 26 Jul 2009   Views: 48,791   Rating: 4.87/5    Votes: 26   Popularity: 6.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 354
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.
C#
Beginners
Posted: 13 Sep 2010   Updated: 27 Sep 2010   Views: 12,258   Rating: 4.55/5    Votes: 8   Popularity: 4.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
A note about Partial methods
Enumerations
Posted: 24 Oct 2010   Updated: 26 Jan 2011   Views: 10,146   Rating: 4.43/5    Votes: 7   Popularity: 3.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Create Enumeration as Bit Flags
General
Posted: 2 Aug 2009   Updated: 7 Sep 2009   Views: 582,547   Rating: 4.46/5    Votes: 137   Popularity: 9.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 187   Downloaded: 291
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: 10 Jul 2010   Updated: 10 Jul 2010   Views: 20,236   Rating: 4.27/5    Votes: 4   Popularity: 2.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 68
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: 48,663   Rating: 4.94/5    Votes: 22   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
Few new specifications on C# 5.0, a future of C#
Posted: 25 Dec 2010   Updated: 26 Jan 2011   Views: 8,909   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Internals of a Delegate
Posted: 6 Feb 2011   Updated: 16 Mar 2011   Views: 8,016   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Internals of Anonymous Types
Posted: 20 Feb 2011   Updated: 16 Mar 2011   Views: 9,920   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Inversion of Control: Practical usage of Interface, Delegate or Events
How To
Posted: 23 Jan 2011   Updated: 16 Mar 2011   Views: 7,586   Rating: 4.96/5    Votes: 4   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Different approaches to Casting
Posted: 11 Mar 2011   Updated: 16 Mar 2011   Views: 27,098   Rating: 4.69/5    Votes: 18   Popularity: 5.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 0
All about .NET Timers - A Comparison
Memory Management
Posted: 9 Aug 2010   Updated: 27 Sep 2010   Views: 9,510   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The article will demonstrate the story of WeakReference in light of Garbage Collection.
Reflection
Posted: 5 Jul 2010   Updated: 5 Jul 2010   Views: 11,143   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 53
The article describes how you can deal with dynamic object to inject members during runtime. It also demonstrates how to create Custom DynamicObject.
Posted: 5 Feb 2011   Updated: 16 Mar 2011   Views: 10,063   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Get Reflected use TypeDescriptor
Utilities
Posted: 3 Jul 2010   Updated: 5 Jul 2010   Views: 26,940   Rating: 4.38/5    Votes: 9   Popularity: 4.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 1,614
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: 11,970   Rating: 4.90/5    Votes: 3   Popularity: 2.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
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: 29 Aug 2010   Updated: 27 Sep 2010   Views: 7,494   Rating: 4.96/5    Votes: 4   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
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: 7,494   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
A discussion about how to draw Marble Diagrams
Posted: 5 Nov 2010   Updated: 26 Jan 2011   Views: 10,264   Rating: 4.36/5    Votes: 7   Popularity: 3.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
After writing about C# 5.0, you might think why I moved a step behind with C# 4.0. Hey, I will definitely keep my promise to write a good  blog on new async and await feature, but because of time it is taking a bit time to go on. C# 4.0 being officially released contains lots of thoughts and approac
MSIL
General
Posted: 15 Oct 2010   Updated: 15 Oct 2010   Views: 8,368   Rating: 4.36/5    Votes: 6   Popularity: 3.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Hidden Facts of C# Structures in terms of MSIL
Posted: 16 Jan 2011   Updated: 16 Mar 2011   Views: 10,815   Rating: 4.92/5    Votes: 12   Popularity: 5.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Internals of Extension Methods
Posted: 20 Jan 2011   Updated: 16 Mar 2011   Views: 9,656   Rating: 4.76/5    Votes: 7   Popularity: 4.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Internals of loops (While, For and ForEach)
Other .NET Languages
Forth .NET
Posted: 18 Dec 2010   Updated: 18 Dec 2010   Views: 8,413   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
ADO.NET - Some Internals Uncovered
Posted: 1 Jan 2011   Updated: 1 Jan 2011   Views: 7,693   Rating: 4.91/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
ADO.NET : Some internals uncovered
General
Posted: 11 Aug 2010   Updated: 11 Aug 2010   Views: 19,915   Rating: 4.87/5    Votes: 10   Popularity: 4.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
About Garbage Collection Notifications in .NET 4.0
Posted: 23 Jan 2011   Updated: 23 Jan 2011   Views: 7,131   Rating: 4.67/5    Votes: 6   Popularity: 3.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Internals to C# iterators
VB.NET
General
Posted: 12 Jul 2009   Updated: 16 Jul 2009   Views: 23,888   Rating: 3.59/5    Votes: 10   Popularity: 3.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Generally while doing our program in VB.NET or any language whatsoever, we come across some situation where we are in Dilemma of having more than one solution of a single problem. We think thoroughly of our knowledge base, search the Internet to get which one will be the best logic discuss with seni
XML
JAXB
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 9,429   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
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...
.NET Framework
General
Posted: 12 Jul 2010   Updated: 12 Jul 2010   Views: 10,489   Rating: 4.41/5    Votes: 7   Popularity: 3.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
How simply you can use Lazy initialize to defer the execution of a method or property for values to whenever it is required.
How To
Posted: 12 Sep 2009   Updated: 14 Sep 2009   Views: 18,908   Rating: 4.89/5    Votes: 15   Popularity: 5.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 27
Make your class library COM visible using few simple steps
Win32/64 SDK & OS
General
Posted: 5 Dec 2010   Updated: 5 Dec 2010   Views: 19,489   Rating: 4.80/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Win32 Handle (HWND) & WPF Objects - A Note
Windows Communication Foundation
Security
Posted: 15 Sep 2010   Updated: 15 Sep 2010   Views: 7,778   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Creating a WCF service without Visual Studio
Windows Presentation Foundation
General
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 19,722   Rating: 3.77/5    Votes: 5   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Taskbar with Window Maximized and WindowState to None in WPF
Utilities
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 26,320   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 783
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: 7,838   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
RegisterName for StoryBoards in WPF (NameScopes)
XAML
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 10,914   Rating: 4.88/5    Votes: 3   Popularity: 2.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Load your XAML from external file or from String XML to start working on an existing application instantly using XamlReader and XamlWriter
Algorithms & Recipes
General
Posted: 26 Feb 2011   Updated: 26 Feb 2011   Views: 7,739   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Dependency Injection & IoC
Bugs & Workarounds
.NET issues
Posted: 8 Nov 2009   Updated: 8 Nov 2009   Views: 23,641   Rating: 4.89/5    Votes: 7   Popularity: 4.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
A weird error that comes when a page is opened for a long time and then posted back
Exception Handling
General
Posted: 30 Jun 2010   Updated: 30 Jun 2010   Views: 57,031   Rating: 4.86/5    Votes: 30   Popularity: 7.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 1,575
The article will demonstrate how you could handle Unhandled Exceptions from both UI and NonUI threads for your WPF application.
Posted: 7 Dec 2010   Updated: 7 Dec 2010   Views: 10,444   Rating: 4.63/5    Votes: 6   Popularity: 3.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Exception handling is very common for everyone. Exceptions are runtime errors which might be caused by some operation illegal to the application. .NET provides a good Exception Model (even though Microsoft wants to change this model) using try/catch which lets us to deal with runtime exceptions from
Posted: 30 Jan 2011   Updated: 30 Jan 2011   Views: 12,327   Rating: 4.90/5    Votes: 10   Popularity: 4.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Internals of Exception Handling
Programming Tips
General
Posted: 12 Jul 2009   Updated: 25 Jul 2009   Views: 37,008   Rating: 3.77/5    Votes: 17   Popularity: 4.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 0
A discussion on Memory management in your program.
Posted: 12 Jul 2009   Updated: 23 May 2012   Views: 67,932   Rating: 4.73/5    Votes: 26   Popularity: 6.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 0
Discussion on Memory Management.
Expression
General
Posted: 6 Sep 2010   Updated: 6 Sep 2010   Views: 8,886   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Use of Expression Trees in .NET for Lambda Decomposition
Code Generation
General
Posted: 23 Jul 2010   Updated: 23 Jul 2010   Views: 15,384   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 195
In this article, I have introduced how you could use code snippets in your program to enhance code productivity.
Posted: 13 Feb 2011   Updated: 13 Feb 2011   Views: 15,085   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Code Contracts in .NET 4.0 & its Internals

Average tips rating: 4.35

Dialogs and Windows
General
Posted: 8 Dec 2009   Updated: 8 Dec 2009   Views: 16,055   Rating: 4.17/5    Votes: 5   Popularity: 2.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
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...
ASP.NET
General
Posted: 10 Sep 2009   Updated: 10 Sep 2009   Views: 16,576   Rating: 4.23/5    Votes: 9   Popularity: 3.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
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: 4,991   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
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: 10,154   Rating: 4.00/5    Votes: 2   Popularity: 0.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
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...
Database
General
Posted: 20 Jan 2010   Updated: 20 Jan 2010   Views: 13,263   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
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...
Windows Presentation Foundation
General
Posted: 15 Mar 2011   Updated: 16 Mar 2011   Views: 8,186   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
When animation is not totally complete, default animation behavior might produce jurky animation. Here is a demo how you could make it smoother.
Programming Tips
General
Posted: 22 Sep 2009   Updated: 22 Sep 2009   Views: 16,372   Rating: 4.86/5    Votes: 10   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
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
Posted: 13 Sep 2010   Updated: 18 Sep 2010   Views: 124,022   Rating: 4.88/5    Votes: 9   Popularity: 4.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Posted: 20 Mar 2011   Updated: 20 Mar 2011   Views: 13,077   Rating: 4.00/5    Votes: 3   Popularity: 1.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
WPF inputbindings to bind your key and mouse events directly with your ViewModels
Posted: 27 Apr 2011   Updated: 27 Apr 2011   Views: 6,676   Rating: 4.50/5    Votes: 4   Popularity: 2.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
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...
No reference articles have been posted.

Abhishek Sur
Architect
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.
 
Presently he is working in WPF, a new foundation to UI development, but mostly he likes to work on architecture and business classes. ASP.NET is one of his strength as well.
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
Follow on   Twitter   Google+


Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 1 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid