Click here to Skip to main content
13,627,709 members

Articles by Abhishek Sur (Articles: 37, Technical Blogs: 49, Tip/Tricks: 10)

Articles: 37, Technical Blogs: 49, Tip/Tricks: 10

RSS Feed

Average article rating: 4.69

Files and Folders
General
Posted: 15 Oct 2007   Updated: 11 May 2012   Views: 275,427   Rating: 4.05/5    Votes: 85   Popularity: 7.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 139   Downloaded: 31,383
Unique folder protection that issues Windows Class IDS to protect folders.
Miscellaneous
Beginners
Posted: 28 Jul 2008   Updated: 28 Jul 2008   Views: 487,936   Rating: 4.58/5    Votes: 30   Popularity: 6.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 66   Downloaded: 1,613
The article will help you to use Isolated Storage Classes
Posted: 7 Jun 2009   Updated: 9 Jun 2009   Views: 814,195   Rating: 4.80/5    Votes: 77   Popularity: 9.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 217   Downloaded: 27,596
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: 136,251   Rating: 4.65/5    Votes: 74   Popularity: 9.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 252   Downloaded: 8,743
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: 84,363   Rating: 4.97/5    Votes: 42   Popularity: 8.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 1,587
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: 786,779   Rating: 4.95/5    Votes: 46   Popularity: 8.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 1,570
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.
General
Posted: 18 Sep 2007   Updated: 15 Mar 2008   Views: 59,320   Rating: 4.97/5    Votes: 21   Popularity: 6.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,150
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: 758,369   Rating: 4.84/5    Votes: 119   Popularity: 10.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 355   Downloaded: 16,486
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: 136,995   Rating: 4.36/5    Votes: 13   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 380
Gives an introduction of how to create SQL CLR managed objects in SQL server.
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 35,844   Rating: 4.39/5    Votes: 19   Popularity: 5.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 368
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: 302,256   Rating: 4.74/5    Votes: 59   Popularity: 8.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 140   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: 255,492   Rating: 4.92/5    Votes: 38   Popularity: 7.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 3,503
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: 188,861   Rating: 4.82/5    Votes: 93   Popularity: 9.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 168   Downloaded: 2,226
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: 60,480   Rating: 4.98/5    Votes: 35   Popularity: 7.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 75   Downloaded: 1,629
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: 346,687   Rating: 4.84/5    Votes: 88   Popularity: 9.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 191   Downloaded: 15,220
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: 222,215   Rating: 4.92/5    Votes: 76   Popularity: 9.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 148   Downloaded: 2,180
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: 86,260   Rating: 4.91/5    Votes: 66   Popularity: 8.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 130   Downloaded: 628
The article demonstrates how Reflection APIs behaves in real time development and also gives you few ways to improve its performance.
VB.NET
General
Posted: 12 Jul 2009   Updated: 16 Jul 2009   Views: 37,090   Rating: 3.86/5    Votes: 10   Popularity: 3.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
What is the difference between DirectCast and TryCast
.NET Framework
General
Posted: 28 Feb 2009   Updated: 28 Feb 2009   Views: 702,127   Rating: 4.80/5    Votes: 133   Popularity: 10.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 262   Downloaded: 3,887
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: 33,741   Rating: 4.97/5    Votes: 13   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 185
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: 201,884   Rating: 4.05/5    Votes: 36   Popularity: 6.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 93   Downloaded: 1,539
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: 153,253   Rating: 4.63/5    Votes: 26   Popularity: 6.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   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: 92,473   Rating: 4.83/5    Votes: 30   Popularity: 7.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 3,402
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: 84,424   Rating: 4.80/5    Votes: 27   Popularity: 6.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 5,342
Easiest way to handle Localization in your WPF application
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 1,011,852   Rating: 4.71/5    Votes: 307   Popularity: 11.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 527   Downloaded: 16,899
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: 160,358   Rating: 4.83/5    Votes: 48   Popularity: 8.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 3,726
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: 116,592   Rating: 4.77/5    Votes: 51   Popularity: 8.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 82   Downloaded: 3,523
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: 347,628   Rating: 4.87/5    Votes: 87   Popularity: 9.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 168   Downloaded: 9,035
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: 172,981   Rating: 4.95/5    Votes: 73   Popularity: 9.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 96   Downloaded: 7,037
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: 186,176   Rating: 4.84/5    Votes: 45   Popularity: 7.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 115   Downloaded: 7,253
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: 397,856   Rating: 4.89/5    Votes: 170   Popularity: 10.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 211   Downloaded: 9,543
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: 27,370   Rating: 4.96/5    Votes: 17   Popularity: 6.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 676
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: 486,552   Rating: 4.12/5    Votes: 90   Popularity: 8.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 220   Downloaded: 40,076
Sending Mails from your Windows Application
Programming Tips
General
Posted: 12 Jul 2009   Updated: 25 Jul 2009   Views: 52,161   Rating: 3.73/5    Votes: 19   Popularity: 4.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
A discussion of Memory management in your program
Code Generation
General
Posted: 26 Oct 2008   Updated: 11 Jun 2010   Views: 94,672   Rating: 4.38/5    Votes: 33   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 103   Downloaded: 2,267
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: 18,730   Rating: 5.00/5    Votes: 15   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   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: 273,282   Rating: 4.99/5    Votes: 49   Popularity: 8.44
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.75

Menus
Menus and Toolbars
Posted: 7 Aug 2010   Updated: 27 Sep 2010   Views: 103,681   Rating: 4.82/5    Votes: 24   Popularity: 6.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   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: 28,911   Rating: 4.92/5    Votes: 8   Popularity: 4.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   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.
Applications & Tools
Tools with source code
Posted: 12 Mar 2011   Updated: 12 Mar 2011   Views: 28,750   Rating: 4.10/5    Votes: 10   Popularity: 4.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
Deal with Performance in WPF applications
ASP.NET
Howto
Posted: 11 Jan 2010   Updated: 11 Jan 2010   Views: 38,471   Rating: 4.89/5    Votes: 7   Popularity: 4.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   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: 153,414   Rating: 4.87/5    Votes: 26   Popularity: 6.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   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: 15,690   Rating: 4.58/5    Votes: 9   Popularity: 4.37
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: 16,321   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: 896,755   Rating: 4.48/5    Votes: 141   Popularity: 9.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 192   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: 37,870   Rating: 4.15/5    Votes: 6   Popularity: 3.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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: 87,092   Rating: 4.93/5    Votes: 24   Popularity: 6.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 0
Few new specifications on C# 5.0, a future of C#
Posted: 25 Dec 2010   Updated: 26 Jan 2011   Views: 13,320   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: 12,411   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: 15,851   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: 12,010   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: 57,105   Rating: 4.73/5    Votes: 26   Popularity: 6.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 0
All about .NET Timers - A Comparison
Memory Management
Posted: 9 Aug 2010   Updated: 27 Sep 2010   Views: 15,860   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   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: 18,130   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: 22,111   Rating: 5.00/5    Votes: 5   Popularity: 3.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Get Reflected use TypeDescriptor
Utilities
Posted: 3 Jul 2010   Updated: 5 Jul 2010   Views: 52,080   Rating: 4.88/5    Votes: 13   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   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: 18,660   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: 11,380   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: 12,320   Rating: 5.00/5    Votes: 3   Popularity: 2.39
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: 16,390   Rating: 4.36/5    Votes: 7   Popularity: 3.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Working with tuple in C# 4.0
MSIL
General
Posted: 15 Oct 2010   Updated: 15 Oct 2010   Views: 12,890   Rating: 3.86/5    Votes: 7   Popularity: 3.68
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: 15,740   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: 16,110   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: 11,680   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
ADO.NET - Some Internals Uncovered
Posted: 1 Jan 2011   Updated: 1 Jan 2011   Views: 11,160   Rating: 4.91/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
ADO.NET : Some internals uncovered
General
Posted: 11 Aug 2010   Updated: 11 Aug 2010   Views: 30,251   Rating: 4.87/5    Votes: 10   Popularity: 4.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
About Garbage Collection Notifications in .NET 4.0
Posted: 23 Jan 2011   Updated: 23 Jan 2011   Views: 12,492   Rating: 4.67/5    Votes: 6   Popularity: 3.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Internals to C# iterators
XML
JAXB
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 16,662   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: 16,690   Rating: 4.57/5    Votes: 9   Popularity: 4.32
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: 273,604   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: 36,210   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: 12,670   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: 40,443   Rating: 3.77/5    Votes: 5   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Taskbar with Window Maximized and WindowState to None in WPF
Utilities
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 49,040   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   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: 13,620   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: 17,731   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
Windows Workflow Foundation
General
Posted: 24 Aug 2010   Updated: 12 Jan 2018   Views: 23,082   Rating: 3.52/5    Votes: 5   Popularity: 2.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Working with ICollectionViewSource in WPF
Algorithms & Recipes
General
Posted: 26 Feb 2011   Updated: 26 Feb 2011   Views: 11,010   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: 40,222   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: 115,291   Rating: 4.84/5    Votes: 39   Popularity: 7.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   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: 15,341   Rating: 4.70/5    Votes: 7   Popularity: 3.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Here are the ways to throw an exception in C#
Posted: 30 Jan 2011   Updated: 30 Jan 2011   Views: 22,780   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: 23 May 2012   Views: 107,760   Rating: 4.74/5    Votes: 30   Popularity: 7.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 0
Discussion on Memory Management
Expression
General
Posted: 6 Sep 2010   Updated: 6 Sep 2010   Views: 14,811   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: 28,350   Rating: 4.91/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   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: 24,980   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.42

Dialogs and Windows
General
Posted: 8 Dec 2009   Updated: 8 Dec 2009   Views: 26,000   Rating: 4.17/5    Votes: 5   Popularity: 2.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   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: 36,660   Rating: 4.40/5    Votes: 11   Popularity: 4.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   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: 7,640   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: 17,270   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: 38,781   Rating: 4.50/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   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: 14,331   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: 28,575   Rating: 4.86/5    Votes: 10   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   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: 178,171   Rating: 4.89/5    Votes: 13   Popularity: 5.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Posted: 20 Mar 2011   Updated: 20 Mar 2011   Views: 28,480   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: 19,441   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
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


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.180712.1 | Last Updated 17 Jul 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid