Click here to Skip to main content

Abhishek Sur - Professional Profile

Summary

131,885
Author
28,664
Authority
4,022
Debator
950
Editor
27
Enquirer
989
Organiser
4,256
Participant
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
Member since Wednesday, July 4, 2007 (5 years, 10 months)
  • 31 Dec 2010: CodeProject MVP 2011
  • 30 Nov 2010: Best overall article of October 2010
  • 31 Dec 2009: CodeProject MVP 2010
  • 29 Sep 2008: Best VB.NET article of August 2008

 

Contributions

Articles 34 (Legend)
Tech Blogs 51
Messages 2,827 (Master)
Q&A Questions 2
Q&A Answers 509
Tips/Tricks 10
Comments 92

Links

Groups

Below is the list of groups in which the member is participating


Soap Box 1.0
United States United States
Member
Social Group
members

This _private_ forum is set up to be a place where political and social issues, including American politics and global warming, can be discussed in a reasonably civil manner. Anyone who has been an active member* of Code Project for six months is welcome to apply for membership but this forum does not tolerate trolling posts, or posters who wish to be disagreeable. Those who choose to become uncivil, insulting, or childish will be warned and, for repeated violations, removed from membership.
 
* That means that you have posted regularly or had at least one article published.

Indian Forum Moderators
India India
Member
Collaborative Group
members

No Biography provided

CodeProject Beta Testers
United States United States
Member
Collaborative Group
members

No Biography provided

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege, and the given member types also gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your biographybronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an Articlesilversilversilversilver
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

Actions with a green tick can be performed by this member.


 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


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

You must Sign In to use this message board.
Search this forum  
GeneralVisual Studio Extension VSX 2010 Article Published Pin
Sunday, January 31, 2010 6:25 AM by Abhishek Sur
Its really a fun creating Visual Studio IDE Extension(VSX). I tried to create one and wrote one article on what I have tried.
 
I hope you all will like it.
 
Code InfoBox Visual Studio Extension (VSX) 2010[^]
 
Cheers.
Rose | [Rose]
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

InfoBox Visual Studio 2010 Extension
Windows7 API Code Pack
Simplify Code Using NDepend

GeneralHappy Birthday dear. PinmemberHiren Solanki16 Dec '10 - 18:29 
Wish you a many many happy returns of the day.
 
Be always active in CP to help us improve.
 
Again Cheers !! Beer | [beer]
Regards,
Hiren.

 
GeneralI am now CodeProject MVP Pin
Monday, January 11, 2010 10:56 PM by Abhishek Sur
Wow...
 
I am surprised to see this.
 
Thanks to all Codeproject members for your support.
 
Cheers.
 
Roll eyes | :rolleyes: Thumbs Up | :thumbsup:
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Windows7 API Code Pack

Simplify Code Using NDepend
Basics of Bing Search API using .NET

GeneralRe: I am now CodeProject MVP PinmvpAbhijit Jana11 Jan '10 - 23:47 
GeneralRe: I am now CodeProject MVP PinmvpAbhishek Sur12 Jan '10 - 21:12 
GeneralRe: I am now CodeProject MVP PinmvpN a v a n e e t h12 Jan '10 - 5:36 
GeneralRe: I am now CodeProject MVP PinmvpAbhishek Sur12 Jan '10 - 21:12 
GeneralRe: I am now CodeProject MVP PinmvpMd. Marufuzzaman12 Jan '10 - 7:41 
GeneralRe: I am now CodeProject MVP PinmvpAbhishek Sur12 Jan '10 - 21:13 
GeneralRe: I am now CodeProject MVP PinmvpMd. Marufuzzaman12 Jan '10 - 22:16 
GeneralRe: I am now CodeProject MVP PinmemberPumbaPumba13 Oct '10 - 9:37 
GeneralRe: I am now CodeProject MVP Pinmvpthatraja6 Mar '11 - 5:00 
 
GeneralWindows 7 Trigger Start Service Pin
Sunday, January 3, 2010 9:48 AM by Abhishek Sur
As I have promised, I just released another article to configure Windows services to start automatically when some global events occurs.
 
This is a very cool feature which reduces large amount of unnecessary memory usage all the time. You can read the article from
Windows 7 Trigger Start Service[^]
 
I hope you will like this one too. Thumbs Up | :thumbsup:
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Windows7 API Code Pack

Simplify Code Using NDepend
Basics of Bing Search API using .NET

GeneralCongrats..! Pinmembersashidhar11 Jan '10 - 21:55 
GeneralRe: Congrats..! PinmvpAbhishek Sur11 Jan '10 - 22:53 
GeneralRe: Congrats..! Pinmembersashidhar11 Jan '10 - 22:55 
GeneralRe: Congrats..! PinmvpAbhishek Sur11 Jan '10 - 22:56 
GeneralRe: Congrats..! PinmvpBrij9 Jan '11 - 5:56 
GeneralRe: Congrats..! PinmvpAbhishek Sur9 Jan '11 - 6:01 
 
GeneralWindows 7 API Article Released Pin
Monday, December 28, 2009 6:30 AM by Abhishek Sur
It is true API Code pack makes a wrapper around most of the necessary concepts that Windows 7 puts forward to us. If you are developing in windows 7, it is now time to grab them and implement those in your own application.
 
I have released an article just to demonstrate the basic usage of API pack and also explained how you could take the help of those cool features in .net
 
You can find the article :
 
Windows 7 : New Features Explained Using .NET[^].
 
I hope you all will like the article.
Cheers. Cool | :cool:
Thumbs Up | :thumbsup:
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Windows7 API Code Pack

Simplify Code Using NDepend
Basics of Bing Search API using .NET

 
GeneralGoogle Map Article Updated with StreetView Pin
Tuesday, December 1, 2009 9:45 PM by Abhishek Sur
I have just added a new example for My article on Google Map.
 
Lots of people are waiting for this one. I think you will like that too.
 
Check out the online demo example from Here. Click on the Link or Right Click on map and Select Show Panorama Here to see the Panorama object.[^]
 

To read the entire article Visit this :
Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]
 
You can also review the FAQ section recently added.
 
Cheers.Rose | [Rose]
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

 
GeneralGreat to see Bing Search API Pin
Saturday, October 31, 2009 11:19 AM by Abhishek Sur
I have just used Bing Search API to translate from one language to another. Its a great feature indeed.
 
Published an article on that, Please have a look :
Basics of Bing Search API using .NET[^]
 
Hope you all will like it. Big Grin | :-D Thumbs Up | :thumbsup:
 
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords
/xml>

GeneralRe: Great to see Bing Search API PinmemberAbhishek Sur4 Nov '09 - 8:47 
GeneralRe: Great to see Bing Search API Pinmemberranjan_namitaputra18 Nov '09 - 9:45 
 
GeneralNew Article Published Pin
Thursday, October 1, 2009 10:39 AM by Abhishek Sur
Hi all, After a long wait I have now developed an article to all the peoples who wants to work with VEMap as I did for Google maps long ago.
I have got lots of requests on this and finally got time to write on the topic.
 
I hope you all will like that too just like you do for my Google Map Article.
 
Here is the link :
Microsoft VEMap Using Pure Javascript[^]
 
Cheers... Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:
 
Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

 
GeneralDo you know about DirectCast and TryCast??? Pin
Monday, September 22, 2008 2:13 AM by Abhishek sur
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 seniors or otherwise do random choice or anything. As a programmer, I always do face the problem. Let us take the example of casting in .NET.
 
We know, VB.NET always include Microsoft VisualBasic Namespace for your application internally, and you cannot remove the reference to that or even you don't find the namespace in the References list. This is because while you do programming with Visual Basic, your application would be enriched with some of the functionalities that Microsoft VisualBasic namespace have within your program. Take for instance Val, CStr, CInt etc. All of them are written inside Microsoft VisualBasic namespace and is included automatically in our program. They are are acting as language helpers in your program.
 
DirectCast:
 
Let us try to write one of this language helpers ourself.
 
Public Function CustomCInt(ByVal value as Object) as Integer
if typeof Value is Integer then
Dim i as Integer = CustomCInt(Value)
Return i
End Function
 
After viewing the above code you must be laughing like hell on what I have done with this. Actually my motive is to show you how difficult is to write a helper yourself without using CLR supported casting feature. Here comes the case of DirectCast. While using CInt, CStr, or CType you are actually calling a function which does similar to what I have written. Means it first checks if the type is convertable or not through Typeof Operator and then casts to appropriate Type.
DirectCast is the Simple CLR typecasting feature which you can use when you are sure about the cast. It avoids the sequence of checking in the helper Functions. Now you can write your own Helper Function like this:
 
Public Function CustomCInt(ByVal value as Object) as Integer
If TypeOf value is Integer then
Dim i as Integer = DirectCast(value,Integer)
Return i
End if
End Function
 
Now it looks great, Isnt it. Actually this is how .NET helpers are made, CType checks if the object corresponds to the Type specified and then DirectCast it to return the Converted Type Data. DirectCast is the most simple and CLR supported TypeCast feature that will cast properly if it is with appropriate type or otherwise throws an error.
 
TryCast:
 
Now going further, Lets start with TryCast. After knowing DirectCast you may wonder what exactly the TryCast is. Actually TryCast operator of VisualBasic is equivalent to 'is' operator of C#. TryCast is useful in some situations too.
Let us take the following example
 
Public Function CustomCheck(ByVal value as Object) as IDBConnection
If TypeOf value is IDBConnection then
Dim i as IDBConnection = DirectCast(value,IDBConnection)
Return i
End if
End Function
 
In this example, we are telling the CLR to check the type of Value that we passed to the Function using TypeOf function in the If statement. If it enters into the IF we can confirm that the value implements IDBConnection. But CLR doesn't knows it. Thus on the very next step, it will check if the value actually an implementation of IDBConnection again. Thus we are running redundant code. Using TryCast we can avoid that.
We may write
 
Dim i as IDBConnection = TryCast(value,IDBConnection)
 
This will direct the CLR to check if value implements IDBConnection and if so, it will convert it directly. Thus we removed Redundant code.
TryCast will store nothing if it cannot cast the value. In case of using TryCast for primitive types, it will store the value of initialization as output if it cannot convert. For Instance, conversion to integer will give you Zero(0) etc.
 
Hope you understand the two simple operators of Visual Basic. Don't forget to Comment on the topic. Thanks.
 
Abhishek Sur

GeneralRe: Do you know about DirectCast and TryCast??? PinmemberJony Shah3 Aug '09 - 8:02 
GeneralRe: Do you know about DirectCast and TryCast??? PinmemberAbhishek Sur3 Aug '09 - 23:37 
GeneralCongrats PinmvpAbhijit Jana13 Aug '09 - 8:54 
GeneralRe: Congrats PinmemberAbhishek Sur13 Aug '09 - 8:57 
GeneralRe: Do you know about DirectCast and TryCast??? Pinmemberranjan_namitaputra19 Sep '09 - 9:43 
GeneralRe: Do you know about DirectCast and TryCast??? PinmemberAbhishek Sur19 Sep '09 - 13:28