Community Tech Days in Kolkata Scheduled on 28th Nov 2010. I am glad to say that I will present a session on “Advance .NET Debugging with Visual Studio 2010” in Microsoft Community TechDays
In one of my previous blog post, Identifying Worker Process (w3wp.exe) – IIS 6.0 and IIS 7.0 for Debugging ASP.NET Application– I have explained about how we can identify the list of currently running worker process using command prompt while we need to attach process from visual studio . But do you know for IIS 7.0 and IIS 7.5 we can get the worker process (w3wp.exe) details like Application Pool name, Process ID, CPU Usages from IIS Manager itself. Even you can get details of each worker process for a“Web Garden” scenarios. So when you need to attach some process for debugging from Visual studio, Instead of going to command prompt, you can easily identify the worker process Id from IIS itself.
While working with Silverlight Web Parts in SharePoint 2010 it may required to pass initial parameter to Silverlight application from SharePoint sites. For any ASP.NET hosted Silverlight application, you can pass the initialization value using “initparams” with in the “Object” tag. But for Silverlight applications which are hosted as SharePoint Web parts don’t have any object tag to set the “initparams”. But SharePoint Out of the Box (OOB) Silverlight Web Parts having inbuilt features from where we can set the initialize parameters using CustomParameters. In this blog post I am going to describe how we can pass some default values for Silverlight Application From Share Point Web Parts.
PDC 2010 Live Streaming is going on at Microsoft Campus, Hyderabad . This biggest broadcasting on PDC happening first time at Hyderabad Campus, Building 3. Here we have many MS Guys along with different community guys and MVP’s. We are all enjoying PDC !!
Sharing few snaps from the here, those are taken before live streaming started !
Will update more on this . At present Scottgu on the big screen with Win Phone 7 !!
Microsoft will be streaming PDC 2010 Session at Microsoft Campus Hyderabad, Tonight. This biggest broadcasting on PDC happening first time at Hyderabad Campus, Building 3. If you have already registered for the event, be there in person by evening 6 PM . Along with the live streaming, we will have networking with senior leadership team, foods and many surprises for the attendees.
If you are tweeting anything on PDC 2010 please use #pdc10 hashtag.
One important announcement, I would like to congratulate my friend, a key community contributor on Silverlight, kunal chowdhury for becoming a Microsoft MVP – Silverlight . Please visit his blog at http://www.kunal-chowdhury.com and follow him at twitter @kunal2383 .
In this blog post I am going to explain how you can customize the complete view of the debugging window during debugging of application. By complete view means, where you can add own Properties, can customize the result, manipulate the data, hide properties which may not need during debugging etc. In one of my previous blog post, I have explained how we can customize the view of the debugging windows using DebuggerBrowseable and DebuggerDisplay attributes over Few Tips on Customizing Debugging Window View in Visual Studio . But, both these two attributes are limited to customize the view for a specific class and they can only show you the information for the particular class members . In this blog post you will see how we can create new view for some existing debugging view using “DebuggerTypeProxy” attributes. From the below snaps you can understand what kind of customization we can do inside a debugging window.
In my few previous blog post I have explained how we can customize the Debugging windows view during debugging of application using “DebuggerBrowseable “ attributes and “DebuggerDisplay” , then I have also explained use of “DubuggerHidden” attribute which tells the Visual Studio debugger that the method is hidden from the debugging process and while debugging. In this blog post I am going to explain one similar features of “DebuggerHidden” attributes, named “DebuggerStepThrough”
Marking a piece of code using DebuggerStepThrough attribute tells the Visual Studio debugger that, the code block will be stepped over from debugging process. you can mark methods, properties with DebuggerStepThrough attributes where you don’t want to stop your code to break.
If there is any break point inside a code section which is marked as “DebuggerStepThrough” attributes, that code block will be marked as “[External code]” in stack Trace. Where as “Debugger hidden” attributes didn’t marked is External code.
DubuggerHidden attribute tells the Visual Studio debugger that the method is hidden from the debugging process and while debugging. This is quite helpful when you don’t want to go to stepping inside of a method while debugging.
When you mark a method with DebuggerHidden() attributes, It’s explicitly tells the debugger not to step inside of that methods and no break point will be hit over that method. Now I am going to explain the same using a Example with Intellitrace debugging.
In this post I have explained how you can use Obsolete attributes to mark some methods which are not no longer in used or may be remove in future release of the class. During the development cycle we may need to change the name or declaration of certain methods which may be using by some other developers. In this case if you changed the name or declaration of that method, application may crash in different point of times as it’s being used by other developer in the application. In this case you can use System.ObsoleteAttributes class to generate compiler warning and indicate the method as Obsolete.
In this blog post I have going to list out all of my IIS articles that I have published over last few years. Why I am going to do such post ? Because, I have been asked many question on IIS and different debugging options related with IIS and ASP.NET Applications by many readers. Many times I have had given reference of my different articles. This post will be the single reference for all of those articles. In this blog post I have given link and small overview of all of my IIS articles, so that I can refer a single articles to who ever wants to learn about IIS.
This article describes details of IIS configuration, Virtual Directory creation, Application Pool Creation, Application Pool settings, IIS Request processing for ASP.NET .