Click here to Skip to main content

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

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

RSS Feed

Average article rating: 4.76

Files and Folders

Folder protection for Windows using C# and concepts on Windows Shell menu for folders
Posted: 15 Oct 2007   Updated: 11 May 2012   Views: 103,326   Rating: 4.58/5    Votes: 52   Popularity: 7.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 109   Downloaded: 8,339
Unique folder protection that issues Windows Class IDS to protect folders.

Miscellaneous

Use of Isolated Storage (A Simple Demo)
Posted: 28 Jul 2008   Updated: 28 Jul 2008   Views: 40,351   Rating: 4.53/5    Votes: 25   Popularity: 6.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 355
The article will help you to use Isolated Storage Classes
Working with MS Excel(xls / xlsx) Using MDAC and Oledb
Posted: 7 Jun 2009   Updated: 9 Jun 2009   Views: 129,718   Rating: 4.80/5    Votes: 54   Popularity: 8.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 160   Downloaded: 8,618
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.
Windows 7 : New Features Explained Using .NET
Posted: 27 Dec 2009   Updated: 25 Jan 2010   Views: 54,183   Rating: 4.93/5    Votes: 69   Popularity: 9.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 212   Downloaded: 2,958
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
Code InfoBox Visual Studio Extension (VSX) 2010
Posted: 28 Jan 2010   Updated: 31 Jan 2010   Views: 31,610   Rating: 5.00/5    Votes: 35   Popularity: 7.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 571
A WPF Infowindow placed on the right hand corner of the Code Canvas which informs you about the code statistics

Client side scripting

Microsoft VEMap Using Pure Javascript
Posted: 29 Sep 2009   Updated: 2 Oct 2009   Views: 56,603   Rating: 4.95/5    Votes: 43   Popularity: 8.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 56   Downloaded: 670
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
Expanding Image Animator
Posted: 18 Sep 2007   Updated: 15 Mar 2008   Views: 37,672   Rating: 5.00/5    Votes: 18   Popularity: 6.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 533
Animation of an image. Using multiple images as thumbnails, you can enlarge it to a specific size.
Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease
Posted: 21 Sep 2007   Updated: 1 Dec 2009   Views: 402,276   Rating: 4.87/5    Votes: 100   Popularity: 9.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 320   Downloaded: 6,515
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

Working with CLR Objects in SQL Server 2005 or Above Part 2
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 11,170   Rating: 4.36/5    Votes: 12   Popularity: 4.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 144
Gives an introduction of how to create SQL CLR managed objects in SQL server.
Working with CLR Objects in SQL Server 2005 or Higher: Part I
Posted: 2 Aug 2009   Updated: 2 Aug 2009   Views: 13,858   Rating: 4.24/5    Votes: 17   Popularity: 5.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 36   Downloaded: 144
Gives an introduction to CLR programming in SQL Server databases. This is the first part of a two-part article series.

C#

Basics of Bing Search API using .NET
Posted: 31 Oct 2009   Updated: 31 Oct 2009   Views: 47,476   Rating: 4.90/5    Votes: 31   Popularity: 7.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 1,308
This article will enable you to add custom search rules to your application using Bing Search API with much more
C# 5.0 vNext - New Asynchronous Pattern
Posted: 13 Nov 2010   Updated: 20 Nov 2010   Views: 45,199   Rating: 4.79/5    Votes: 58   Popularity: 8.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 101   Downloaded: 598
C# 5.0 CTP was introduced recently, this article is specally dealing with my own understanding with this realease with few sample applications
Windows 7 Trigger Start Service
Posted: 3 Jan 2010   Updated: 17 Jan 2010   Views: 19,964   Rating: 4.98/5    Votes: 34   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 56   Downloaded: 565
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
Query Notification using SqlDependency and SqlCacheDependency
Posted: 9 Jan 2011   Updated: 9 Jan 2011   Views: 53,422   Rating: 4.92/5    Votes: 45   Popularity: 8.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 2,076
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.
Dynamic Type Using Reflection.Emit
Posted: 25 Oct 2010   Updated: 4 Nov 2010   Views: 60,845   Rating: 4.89/5    Votes: 50   Popularity: 8.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 88   Downloaded: 379
In this article, I have provided sample codes to ensure you could build your own Dynamic Type easily using Reflection.Emit classes.
Reflection is Slow or Fast? A Practical Demo
Posted: 5 Nov 2010   Updated: 5 Nov 2010   Views: 25,848   Rating: 4.91/5    Votes: 56   Popularity: 8.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 102   Downloaded: 226
The article demonstrates how Reflection APIs behaves in real time development and also gives you few ways to improve its performance.

.NET Framework

Basics of LINQ & Lamda Expressions
Posted: 28 Feb 2009   Updated: 28 Feb 2009   Views: 186,020   Rating: 4.74/5    Votes: 69   Popularity: 8.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 141   Downloaded: 1,113
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)
GC Algorithm and Story of WeakReference
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 9,447   Rating: 4.81/5    Votes: 11   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 62
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.
Code Security in .NET
Posted: 16 Aug 2008   Updated: 16 Aug 2008   Views: 46,351   Rating: 4.00/5    Votes: 32   Popularity: 6.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 327
All about vulnerabilities with Code Reverse Engineering, and the best steps to fix them (DotFuscator included).
Simplify Code Using NDepend
Posted: 3 Nov 2009   Updated: 3 Nov 2009   Views: 18,879   Rating: 4.77/5    Votes: 24   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   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

Restful Crud Operation on a WCF Service
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 20,913   Rating: 4.77/5    Votes: 21   Popularity: 6.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 835
In this article, I have introduced how easily you can create a RESTful service in WCF

Windows Presentation Foundation

Simplest Way to Implement Multilingual WPF Application
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 12,047   Rating: 4.70/5    Votes: 13   Popularity: 5.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 497
Easiest way to handle Localization in your WPF application
WPF Tutorial : Beginning
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 63,499   Rating: 4.78/5    Votes: 80   Popularity: 9.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 175   Downloaded: 2,391
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.
WPF Tutorial : Fun with Border & Brush
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 17,807   Rating: 4.81/5    Votes: 27   Popularity: 6.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 825
In this article, you will find most of the interesting things with Border and Brush elements.
WPF Tutorial - TypeConverter & Markup Extension
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 14,594   Rating: 4.78/5    Votes: 20   Popularity: 6.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 759
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
WPF Tutorial - Dependency Property
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 22,597   Rating: 4.94/5    Votes: 27   Popularity: 7.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 1,198
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.
WPF Tutorial - Styles, Triggers & Animation
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 22,125   Rating: 4.92/5    Votes: 32   Popularity: 7.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 1,387
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.
WPF Tutorial - Concept Binding
Posted: 28 Dec 2010   Updated: 30 Dec 2010   Views: 18,772   Rating: 4.78/5    Votes: 19   Popularity: 6.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 1,416
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.
WPF Tutorial : Layout-Panels-Containers & Layout Transformation
Posted: 28 Dec 2010   Updated: 21 Aug 2011   Views: 34,030   Rating: 4.92/5    Votes: 71   Popularity: 9.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 1,558
This article describes the basics of WPF application, how you can deal with layout, placements of controls and position.
Pluggable Styles and Resources in WPF with Language Converter Tool
Posted: 31 Oct 2010   Updated: 31 Oct 2010   Views: 7,927   Rating: 4.94/5    Votes: 10   Popularity: 4.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 216
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

How to Send Mails from your GMAIL Account through VB.NET or C#. Windows Programming, with a Bit of Customization
Posted: 18 Sep 2007   Updated: 19 Mar 2008   Views: 157,426   Rating: 4.38/5    Votes: 74   Popularity: 8.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 168   Downloaded: 7,005
Sending Mails from your Windows Application

Code Generation

Visual Studio 2005 Project And Item Templates
Posted: 26 Oct 2008   Updated: 11 Jun 2010   Views: 51,194   Rating: 4.34/5    Votes: 31   Popularity: 6.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 98   Downloaded: 953
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.

Scrapbook

Code Project GIT Meet 2010
Posted: 20 Jan 2011   Updated: 21 Jan 2011   Views: 48,662   Rating: 4.99/5    Votes: 43   Popularity: 8.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   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.78

Grid & Data Controls

Woring with ICollectionViewSource in WPF [Technical Blog]
Posted: 24 Aug 2010   Updated: 24 Aug 2010   Views: 6,182   Rating: 5.00/5    Votes: 3   Popularity: 2.39
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

Introducing Ribbon UI Control for WPF [Technical Blog]
Posted: 7 Aug 2010   Updated: 27 Sep 2010   Views: 19,956   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   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

Progress Streamed File download and Upload with Resume facility [Technical Blog]
Posted: 24 Sep 2010   Updated: 24 Sep 2010   Views: 8,413   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   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

Deal with Performance in WPF applications [Technical Blog]
Posted: 12 Mar 2011   Updated: 12 Mar 2011   Views: 6,525   Rating: 4.85/5    Votes: 4   Popularity: 2.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Deal with Performance in WPF applications

ASP.NET

How To: Expose Events from UserControl [Technical Blog]
Posted: 11 Jan 2010   Updated: 11 Jan 2010   Views: 12,888   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 221
Pass data from a User control easily using Custom Events. I have added one sample application with this.
Compress Response and HTML WhiteSpace Remover [Technical Blog]
Posted: 12 Jul 2009   Updated: 26 Jul 2009   Views: 33,771   Rating: 4.87/5    Votes: 26   Popularity: 6.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 120
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#

Partial Methods - An Uncommon Note [Technical Blog]
Posted: 13 Sep 2010   Updated: 27 Sep 2010   Views: 8,675   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
Create Enumeration as Bit Flags [Technical Blog]
Posted: 24 Oct 2010   Updated: 26 Jan 2011   Views: 5,543   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
UnCommon C# keywords - A Look [Technical Blog]
Posted: 2 Aug 2009   Updated: 7 Sep 2009   Views: 512,335   Rating: 4.43/5    Votes: 131   Popularity: 9.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 172   Downloaded: 138
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
Operator Overloading with Implicit and Explicit Casts in C# [Technical Blog]
Posted: 10 Jul 2010   Updated: 10 Jul 2010   Views: 8,074   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 33
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
5 nice things to have in C# 5.0 [Technical Blog]
Posted: 28 Sep 2010   Updated: 28 Sep 2010   Views: 22,622   Rating: 4.93/5    Votes: 16   Popularity: 5.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
Few new specifications on C# 5.0, a future of C#
Internals of a Delegate [Technical Blog]
Posted: 25 Dec 2010   Updated: 26 Jan 2011   Views: 5,888   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Internals of a Delegate
Internals of Anonymous Types [Technical Blog]
Posted: 6 Feb 2011   Updated: 16 Mar 2011   Views: 4,274   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Internals of Anonymous Types
Inversion of Control: Practical usage of Interface, Delegate or Events [Technical Blog]
Posted: 20 Feb 2011   Updated: 16 Mar 2011   Views: 5,205   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Inversion of Control: Practical usage of Interface, Delegate or Events
Different approaches to Casting [Technical Blog]
Posted: 23 Jan 2011   Updated: 16 Mar 2011   Views: 4,825   Rating: 4.96/5    Votes: 4   Popularity: 2.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Different approaches to Casting
All about .NET Timers - A Comparison [Technical Blog]
Posted: 11 Mar 2011   Updated: 16 Mar 2011   Views: 8,229   Rating: 4.83/5    Votes: 12   Popularity: 5.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
All about .NET Timers - A Comparison
Garbage Collection Algorithm with the use of WeakReference [Technical Blog]
Posted: 9 Aug 2010   Updated: 27 Sep 2010   Views: 5,465   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.
Dynamic Behaviour on Objects at Runtime With Custom ExpandoObject [Technical Blog]
Posted: 5 Jul 2010   Updated: 5 Jul 2010   Views: 6,560   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 25
The article describes how you can deal with dynamic object to inject members during runtime. It also demonstrates how to create Custom DynamicObject.
Get Reflected use TypeDescriptor [Technical Blog]
Posted: 5 Feb 2011   Updated: 16 Mar 2011   Views: 4,343   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Get Reflected use TypeDescriptor
Screen Capture in WPF & WinForms Application [Technical Blog]
Posted: 3 Jul 2010   Updated: 5 Jul 2010   Views: 11,356   Rating: 4.69/5    Votes: 6   Popularity: 3.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 437
The post will demonstrate how you can capture a snapshot of a screen from within the application itself.
IObserver and IObservable - A New addition to BCL [Technical Blog]
Posted: 23 Aug 2010   Updated: 27 Sep 2010   Views: 7,323   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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.
Implementation of an Observer [Technical Blog]
Posted: 29 Aug 2010   Updated: 27 Sep 2010   Views: 4,469   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.
Marble Diagrams and Rx [Technical Blog]
Posted: 12 Sep 2010   Updated: 27 Sep 2010   Views: 4,404   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
Working with Tuple in C# 4.0 [Technical Blog]
Posted: 5 Nov 2010   Updated: 26 Jan 2011   Views: 6,384   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

Hidden Facts of C# Structures in terms of MSIL [Technical Blog]
Posted: 15 Oct 2010   Updated: 15 Oct 2010   Views: 5,119   Rating: 4.36/5    Votes: 6   Popularity: 3.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Hidden Facts of C# Structures in terms of MSIL
Internals of Extension Methods [Technical Blog]
Posted: 16 Jan 2011   Updated: 16 Mar 2011   Views: 6,327   Rating: 4.92/5    Votes: 10   Popularity: 4.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Internals of Extension Methods
Internals of loops (While, For and ForEach) [Technical Blog]
Posted: 20 Jan 2011   Updated: 16 Mar 2011   Views: 5,057   Rating: 4.75/5    Votes: 6   Popularity: 3.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Internals of loops (While, For and ForEach)

Other .NET Languages

ADO.NET - Some Internals Uncovered [Technical Blog]
Posted: 18 Dec 2010   Updated: 18 Dec 2010   Views: 4,383   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
ADO.NET : Some internals uncovered - Part 2 [Technical Blog]
Posted: 1 Jan 2011   Updated: 1 Jan 2011   Views: 4,894   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
Garbage Collection Notifications in .NET 4.0 [Technical Blog]
Posted: 11 Aug 2010   Updated: 11 Aug 2010   Views: 8,724   Rating: 4.92/5    Votes: 7   Popularity: 4.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
About Garbage Collection Notifications in .NET 4.0
Internals to C# iterators [Technical Blog]
Posted: 23 Jan 2011   Updated: 23 Jan 2011   Views: 3,798   Rating: 4.69/5    Votes: 5   Popularity: 3.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Internals to C# iterators

VB.NET

Difference Between DirectCast and TryCast [Technical Blog]
Posted: 12 Jul 2009   Updated: 16 Jul 2009   Views: 15,661   Rating: 3.50/5    Votes: 9   Popularity: 3.34
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

XML Binding in WPF with Sample RSS Reader [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 4,942   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

Lazy Initializer to defer expensive Object creation [Technical Blog]
Posted: 12 Jul 2010   Updated: 12 Jul 2010   Views: 6,090   Rating: 4.50/5    Votes: 4   Popularity: 2.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   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.
Grant Access to your Assembly from COM Objects [Technical Blog]
Posted: 12 Sep 2009   Updated: 14 Sep 2009   Views: 13,206   Rating: 4.89/5    Votes: 15   Popularity: 5.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 10
Make your class library COM visible using few simple steps

Win32/64 SDK & OS

Win32 Handle (HWND) & WPF Objects - A Note [Technical Blog]
Posted: 5 Dec 2010   Updated: 5 Dec 2010   Views: 7,683   Rating: 4.80/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Win32 Handle (HWND) & WPF Objects - A Note

Windows Communication Foundation

How to create a WCF service without Visual Studio [Technical Blog]
Posted: 15 Sep 2010   Updated: 15 Sep 2010   Views: 4,366   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Creating a WCF service without Visual Studio

Windows Presentation Foundation

Taskbar with Window Maximized and WindowState to None in WPF [Technical Blog]
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 8,070   Rating: 4.20/5    Votes: 3   Popularity: 2.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Taskbar with Window Maximized and WindowState to None in WPF
How to Render Bitmap or to Print a Visual in WPF [Technical Blog]
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 10,847   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 302
The article shows how you could use RenderTargetBitmap to render a visual into BitmapSource and convert the same into actual image.
RegisterName for StoryBoards in WPF (NameScopes) [Technical Blog]
Posted: 11 Mar 2011   Updated: 16 Mar 2011   Views: 4,037   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
RegisterName for StoryBoards in WPF (NameScopes)
Lazy Load XAML content from External File and Vice Versa [Technical Blog]
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 6,150   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

Dependency Injection & IoC [Technical Blog]
Posted: 26 Feb 2011   Updated: 26 Feb 2011   Views: 4,234   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Dependency Injection & IoC

Bugs & Workarounds

Weird Error: Unable to Validate Data in ASP.NET website [Technical Blog]
Posted: 8 Nov 2009   Updated: 8 Nov 2009   Views: 11,985   Rating: 4.94/5    Votes: 5   Popularity: 3.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
A weird error that comes when a page is opened for a long time and then posted back

Exception Handling

Unhandled Exception Handler For WPF Applications [Technical Blog]
Posted: 30 Jun 2010   Updated: 30 Jun 2010   Views: 21,400   Rating: 4.91/5    Votes: 18   Popularity: 6.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 428
The article will demonstrate how you could handle Unhandled Exceptions from both UI and NonUI threads for your WPF application.
Ways of Throwing an Exception in C# [Technical Blog]
Posted: 7 Dec 2010   Updated: 7 Dec 2010   Views: 6,630   Rating: 4.63/5    Votes: 6   Popularity: 3.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   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
Internals of Exception Handling [Technical Blog]
Posted: 30 Jan 2011   Updated: 30 Jan 2011   Views: 6,275   Rating: 4.93/5    Votes: 9   Popularity: 4.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Internals of Exception Handling

Programming Tips

Best Practices of Memory Usage [Technical Blog]
Posted: 12 Jul 2009   Updated: 25 Jul 2009   Views: 24,228   Rating: 3.86/5    Votes: 15   Popularity: 5.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 0
A discussion on Memory management in your program.
Memory Management in .NET [Technical Blog]
Posted: 12 Jul 2009   Updated: 23 May 2012   Views: 28,676   Rating: 4.81/5    Votes: 15   Popularity: 5.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 36   Downloaded: 0
Discussion on Memory Management.

Expression

Use of Expression Trees in .NET for Lambda Decomposition [Technical Blog]
Posted: 6 Sep 2010   Updated: 6 Sep 2010   Views: 4,346   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

Code Snippet in Visual Studio [Technical Blog]
Posted: 23 Jul 2010   Updated: 23 Jul 2010   Views: 5,567   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 45
In this article, I have introduced how you could use code snippets in your program to enhance code productivity.
Code Contracts in .NET 4.0 & its Internals [Technical Blog]
Posted: 13 Feb 2011   Updated: 13 Feb 2011   Views: 7,013   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Code Contracts in .NET 4.0 & its Internals
No video articles have been posted.

Average tips rating: 4.28

Dialogs and Windows

Disable Close Button from Title bar of a Window [Tip/Trick]
Posted: 8 Dec 2009   Updated: 8 Dec 2009   Rating: 4.17/5    Votes: 5   Popularity: 2.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   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

Comparision between Response.Redirect, Response.RedirectParmanent and Server.Transfer [Tip/Trick]
Posted: 10 Sep 2009   Updated: 10 Sep 2009   Rating: 4.20/5    Votes: 6   Popularity: 3.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   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
Confirm Postback of a page from Client End [Tip/Trick]
Posted: 13 Sep 2009   Updated: 13 Sep 2009   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
Common issues to ASP.NET input controls for Enabled / Visible / ReadOnly Properties [Tip/Trick]
Posted: 13 Dec 2009   Updated: 13 Dec 2009   Rating: 3.00/5    Votes: 1   Popularity: 0.00
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

How To Select Record Based on Row Number [Tip/Trick]
Posted: 20 Jan 2010   Updated: 20 Jan 2010   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

HandOffBehavior for Smooth Animation in WPF [Tip/Trick]
Posted: 15 Mar 2011   Updated: 16 Mar 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
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

Javascript hack to disable Right Click and Text Selection [Tip/Trick]
Posted: 22 Sep 2009   Updated: 22 Sep 2009   Rating: 4.94/5    Votes: 6   Popularity: 3.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   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
How to PING Server in C# [Tip/Trick]
Posted: 13 Sep 2010   Updated: 18 Sep 2010   Rating: 4.92/5    Votes: 5   Popularity: 3.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
InputBinding for WPF and Silverlight with MVVM [Tip/Trick]
Posted: 20 Mar 2011   Updated: 20 Mar 2011   Rating: 4.00/5    Votes: 3   Popularity: 1.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
WPF inputbindings to bind your key and mouse events directly with your ViewModels
Alternate to Thread.Sleep [Tip/Trick]
Posted: 27 Apr 2011   Updated: 27 Apr 2011   Rating: 4.33/5    Votes: 3   Popularity: 2.07
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...

Abhishek Sur

Web Developer
Buildfusion Inc
India India

Member

Follow on Twitter Follow on Twitter
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.
 
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


Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 27 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid