Click here to Skip to main content

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

Articles: 34, 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: 128,831   Rating: 4.53/5    Votes: 64   Popularity: 8.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 115   Downloaded: 14,195
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: 51,445   Rating: 4.61/5    Votes: 26   Popularity: 6.41
Licence: The Code Project Open License (CPOL)      Bookmarked: 61   Downloaded: 686
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: 168,783   Rating: 4.81/5    Votes: 58   Popularity: 8.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 182   Downloaded: 13,679
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: 67,270   Rating: 4.93/5    Votes: 70   Popularity: 9.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 224   Downloaded: 4,573
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: 40,894   Rating: 5.00/5    Votes: 39   Popularity: 7.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 942
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: 68,508   Rating: 4.95/5    Votes: 43   Popularity: 8.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 61   Downloaded: 982
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: 41,285   Rating: 5.00/5    Votes: 19   Popularity: 6.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 871
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: 480,528   Rating: 4.88/5    Votes: 108   Popularity: 9.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 338   Downloaded: 10,467
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: 14,500   Rating: 4.36/5    Votes: 13   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 234
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: 18,087   Rating: 4.24/5    Votes: 18   Popularity: 5.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 228
Gives an introduction to CLR programming in SQL Server databases. This is the first part of a two-part article series.
Most Commonly Used Functions in SQL Server 2005/2008
Posted: 15 Aug 2009   Updated: 6 Aug 2012   Views: 141,697   Rating: 4.77/5    Votes: 43   Popularity: 7.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 116   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#

Basics of Bing Search API using .NET
Posted: 31 Oct 2009   Updated: 31 Oct 2009   Views: 63,100   Rating: 4.91/5    Votes: 33   Popularity: 7.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 73   Downloaded: 2,000
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: 84,263   Rating: 4.83/5    Votes: 73   Popularity: 9.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 129   Downloaded: 1,285
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: 26,897   Rating: 4.98/5    Votes: 34   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 67   Downloaded: 898
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: 3 Nov 2012   Views: 121,143   Rating: 4.92/5    Votes: 58   Popularity: 8.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 125   Downloaded: 4,814
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: 86,528   Rating: 4.90/5    Votes: 55   Popularity: 8.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 105   Downloaded: 724
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: 39,196   Rating: 4.92/5    Votes: 65   Popularity: 8.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 123   Downloaded: 392
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: 278,702   Rating: 4.63/5    Votes: 90   Popularity: 9.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 181   Downloaded: 1,964
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: 14,240   Rating: 4.97/5    Votes: 13   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 102
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: 54,720   Rating: 4.02/5    Votes: 34   Popularity: 6.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 599
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: 23,792   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

Restful Crud Operation on a WCF Service
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 34,876   Rating: 4.80/5    Votes: 26   Popularity: 6.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 1,677
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: 21,746   Rating: 4.71/5    Votes: 15   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 1,577
Easiest way to handle Localization in your WPF application
WPF Tutorial : Beginning
Posted: 28 Dec 2010   Updated: 28 Dec 2010   Views: 229,353   Rating: 4.73/5    Votes: 152   Popularity: 10.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 285   Downloaded: 6,627
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: 42,842   Rating: 4.83/5    Votes: 37   Popularity: 7.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 1,895
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: 33,157   Rating: 4.69/5    Votes: 28   Popularity: 6.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 1,742
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: 73,024   Rating: 4.87/5    Votes: 38   Popularity: 7.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 3,197
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: 56,994   Rating: 4.92/5    Votes: 46   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 3,323
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: 49,329   Rating: 4.78/5    Votes: 24   Popularity: 6.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 3,294
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: 96,161   Rating: 4.92/5    Votes: 102   Popularity: 9.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 132   Downloaded: 3,906
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: 11,323   Rating: 4.94/5    Votes: 10   Popularity: 4.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 348
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: 9 Aug 2012   Views: 217,860   Rating: 4.55/5    Votes: 79   Popularity: 8.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 199   Downloaded: 14,033
Sending Mails from your Windows Application

Code Generation

Visual Studio 2005 Project And Item Templates
Posted: 26 Oct 2008   Updated: 11 Jun 2010   Views: 60,103   Rating: 4.38/5    Votes: 33   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 103   Downloaded: 1,459
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: 25 Jan 2013   Views: 129,167   Rating: 4.99/5    Votes: 47   Popularity: 8.35
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

Grid & Data Controls

Woring with ICollectionViewSource in WPF [Technical Blog]
Posted: 24 Aug 2010   Updated: 24 Aug 2010   Views: 8,590   Rating: 3.72/5    Votes: 4   Popularity: 3.01
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: 29,415   Rating: 4.92/5    Votes: 16   Popularity: 5.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   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: 12,795   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   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: 10,592   Rating: 4.85/5    Votes: 4   Popularity: 2.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   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: 18,349   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 508
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: 40,407   Rating: 4.87/5    Votes: 26   Popularity: 6.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 248
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: 10,337   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: 7,368   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: 536,018   Rating: 4.46/5    Votes: 136   Popularity: 9.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 178   Downloaded: 233
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: 12,502   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 48
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: 37,099   Rating: 4.94/5    Votes: 19   Popularity: 6.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   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: 7,180   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: 6,309   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: 7,478   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   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: 6,048   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: 15,606   Rating: 4.73/5    Votes: 15   Popularity: 5.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   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: 7,200   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: 8,371   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 40
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: 6,517   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: 17,630   Rating: 4.40/5    Votes: 8   Popularity: 4.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 1,076
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: 9,165   Rating: 4.90/5    Votes: 3   Popularity: 2.33
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: 5,885   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: 5,829   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: 7,652   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: 6,633   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
Internals of Extension Methods [Technical Blog]
Posted: 16 Jan 2011   Updated: 16 Mar 2011   Views: 8,840   Rating: 4.92/5    Votes: 11   Popularity: 5.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Internals of Extension Methods
Internals of loops (While, For and ForEach) [Technical Blog]
Posted: 20 Jan 2011   Updated: 16 Mar 2011   Views: 6,857   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: 5,896   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: 6,159   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: 13,321   Rating: 4.92/5    Votes: 8   Popularity: 4.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   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: 5,067   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: 19,508   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

XML Binding in WPF with Sample RSS Reader [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 6,918   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: 7,546   Rating: 4.54/5    Votes: 5   Popularity: 3.15
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: 15,083   Rating: 4.89/5    Votes: 15   Popularity: 5.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 23
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: 11,830   Rating: 4.80/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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: 6,154   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

Taskbar with Window Maximized and WindowState to None in WPF [Technical Blog]
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 12,201   Rating: 4.27/5    Votes: 4   Popularity: 2.53
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: 16,642   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 530
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: 5,812   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)
Lazy Load XAML content from External File and Vice Versa [Technical Blog]
Posted: 3 Oct 2010   Updated: 3 Oct 2010   Views: 8,394   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: 6,006   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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: 16,276   Rating: 4.88/5    Votes: 6   Popularity: 3.84
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: 35,445   Rating: 4.86/5    Votes: 23   Popularity: 6.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 1,036
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: 8,365   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
Internals of Exception Handling [Technical Blog]
Posted: 30 Jan 2011   Updated: 30 Jan 2011   Views: 9,012   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

Best Practices of Memory Usage [Technical Blog]
Posted: 12 Jul 2009   Updated: 25 Jul 2009   Views: 29,799   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.
Memory Management in .NET [Technical Blog]
Posted: 12 Jul 2009   Updated: 23 May 2012   Views: 44,471   Rating: 4.65/5    Votes: 20   Popularity: 6.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   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: 6,519   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: 8,205   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 101
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: 10,528   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

Average tips rating: 4.24

Dialogs and Windows

Disable Close Button from Title bar of a Window [Tip/Trick]
Posted: 8 Dec 2009   Updated: 8 Dec 2009   Views: 13,312   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   Views: 8,432   Rating: 4.17/5    Votes: 8   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   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   Views: 4,040   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   Views: 6,286   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   Views: 7,004   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   Views: 5,722   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

Javascript hack to disable Right Click and Text Selection [Tip/Trick]
Posted: 22 Sep 2009   Updated: 22 Sep 2009   Views: 11,284   Rating: 4.86/5    Votes: 9   Popularity: 4.68
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   Views: 95,591   Rating: 4.85/5    Votes: 6   Popularity: 3.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
InputBinding for WPF and Silverlight with MVVM [Tip/Trick]
Posted: 20 Mar 2011   Updated: 20 Mar 2011   Views: 7,771   Rating: 4.00/5    Votes: 3   Popularity: 1.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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   Views: 2,341   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...

Abhishek Sur
Team Leader
India India
Member
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


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid