Skip to main content


Showing posts from November, 2007

How to debug process with visual studio 2005 + aspnet_wp.exe

Some time while you are testing you need to debug some things in your application. Suppose you have run the application with ctrl + f5 and now you want to debug some things, then there are two things either you close the browser and press f5 and start debuging but if your application is heavy that will waste lots of time for your application, second way is some thing tricky but you can debug things.

We have aspnet_wp.exe( worker process) running on machine where iis and application is installed. Now suppose at present you are browsing default.aspx page and you want to debug it without pressing f5 . Then go to the your visual studio IDE -> Debug menu-> Attach Process. Select the aspnet_wp.exe process and click 'attach to process'. Now your application instance will bind with code. You can set the debug point as you do with normal debugging and it will work just as normal debugging.

So you can start debugging without wasting so much time.

Happy Programming...

What's new in visual studio 2008 and .NET Framework 3.5

Microsoft has just released the visual studio 2008 and .net framework 3.5. I have found a great link to discover what's new in visual studio 2008 and .net framework. The Link contains following things.

1) WPF improvements.
2) What's new in visual studio 2008
3) What's new in .net framework 3.5

Here is the link for that:

Visual Studio 2005 and .NET Framework 3.5Release

Visual Studio 2008 and .NET framework released by the Microsoft recent days.It has lots of new features compare to it's prior version.

With 3.5 you can now develop web application as you are developing desktop application. You can give functionality to web application just like desktop with lots of new technologies with .net framework 3.5.

I have found a great link form where you can download 3.5 and visual studio 2008.

Here is the link:

What is diffrenece between and string.compareordinal

String.Compare can be or not be case-sensitive, and can incorporate anynumber of comparison options, including culture-sensitivity and sortingrules. That is, it is not comparing the exact strings necessarily, but canbe configured to do various sorts of comparisons. String.CompareOrdinalcompares the numeric values of the individual Unicode characters of thestrings. In other words, it is always case-sensitive, and neverculture-sensitive.

String.CompareOrdinal is faster (more efficient) when you don't need to do aculture-sensitive comparison, and you do want to do a case-sensitivecomparison.String.CompareTo is case-sensitive, using an Ordinal comparison, andculture-sensitive, but always uses the current culture. It is faster thanString.Compare, but less efficient than String.CompareOrdinal.

CUBE and Roll Up in SQL Server

Some time we need to summarize data very quickly without writing very complex query. CUBE And ROLL UP are great commands that give us very good summary options.

We can summarize the data without writing dirty and complex queries with the help of CUBE and ROLL Up Operators.

I have found a great link for CUBE and ROLL UP to understand it deeply.

Here is the link for that.

Visual Studio 2005 Keyboard Short Cuts

Visual Studio 2005 is a great IDE to develop .NET applications. But If we don't know the keyboard shortcut for some function we have to do it with mouse and it will take lots of time.

I have found a great link which contains almost all the short cut for keyboards.

Here is the link for that article...

Enabling Java script debugging + visual studio 2005

You can debug java script in visual studio 2005 by default. If your browser support java script debugging. For example Internet Explorer 7 provides this support.

You can go tools->Options-> Advance tab where you have two tick boxes.

1) Disable Script Debugging(Internet Explorer)
2) Disable Script Debugging(other).

Untick the tick box and then you can directly debug your java script via visual studio 2005 directly just as you do with your server side code.

ASP.NET,Visual Studio 2008 and .Net Framework 3.5

ASP.NET is a great platform to develop web base application. It always been pleasure to develop application in Microsoft has recently launched the new .net framework 3.5. There are some new features provided in 3.5. I have found a great link that will discuss and have information you want to know about 3.5 framework version.

Following are the some of the new feature that are included in .net framework 3.5 and described in the article.

ASP.NET and AjaxNew list and data pager controlsLinq and other .net 3.5 enhancementsWCF Support for RSS, JSON, POX and Partial TrustFollowing are some new features that are described in article for visual studio 2008New Design InterfaceJavascript debugging and intelisenseMultitargetting support.Here it the link for that article...