While creating a Silverlight application in Visual Studio 2010, after providing the application name, IDE asked for whether you want to host the Silverlight application in a new ASP.NET web site or not. If you select the “Ok” button , Visual Studio will create a ASP.NET Site to host the corresponding Silverlight Application. So whenever you will run the Silverlight application, ASP.NET site will automatically host the Silverlight file But suppose you have an existing Silverlight Application and you want to host it in a ASP.NET site in a similar way that New Silverlight project does or you want to add a new Silverlight application which will automatically host inside your current asp.net web site? Do you know we can easily achieve this using “Property Pages” of an ASP.NET Application. Let’s explore how we can do that.
Category: General
Microsoft Community Tech Days – Kolkata 28th Nov 2010
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
Read More “Microsoft Community Tech Days – Kolkata 28th Nov 2010”
How to use IIS Manager to get Worker Processes (w3wp.exe) details information ?
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.
Read More “How to use IIS Manager to get Worker Processes (w3wp.exe) details information ?”
How to pass InitParams to Silverlight Application which is hosted as SharePoint 2010 web parts?
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.
Weekly Archive – From 3rd October 2010 to 31st October 2010
Different Version of Integrated Web Server in Visual Studio 2010
Published Date : October 3, 2010
.NET Community Event – ASP.NET 4.0 In-depth ( II )
Published Date : October 5, 2010
Silverlight Task Control For SharePoint 2010 – Example of High Touch Integration
Published Date : October 9, 2010
How to track an object which is Out of Scope while Debugging ?
Published Date : October 20, 2010
10 Tips you should know about “Watch Window” While debugging in Visual Studio
Published Date : October 26, 2010
PDC 2010 Live Streaming at Microsoft Campus -Hyderabad, Tonight – 6 PM IST
Published Date : October 28,2010
If you want to check all previous Weekly Archives, Please read https://abhijitjana.net/blogbox/ Section.
Quick Update – Live PDC 2010 Streaming at Microsoft Campus, Hyderabad
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 !!
Cheers !
AJ
PDC 2010 Live Streaming at Microsoft Campus -Hyderabad, Tonight – 6 PM IST
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.
Come and join. I will be there
Thanks !
AJ
Weekly Archive – 2nd October 2010
Published Date : September 25, 2010
Customize the Debugging Windows : Change Debugging Window View as per your requirements
Published Date : September 28, 2010
What is the difference between Web Farm and Web Garden ?
Published Date : October 1, 2010
If you want to check all previous Weekly Archives, Please read https://abhijitjana.net/blogbox/ Section.
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 .
Nice work Kunal !!! Again Congratulation.
Customize the Debugging Windows : Change Debugging Window View as per your requirements
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.
Read More “Customize the Debugging Windows : Change Debugging Window View as per your requirements”
Weekly Archive – 5th September 2010 To 25th September 2010
Tips on Debugging : Using DebuggerHidden attribute
Published Date : September 12, 2010
Color Indicator for Code Changes – Track Changes in Visual Studio 2010
Published Date : September 14, 2010
Tips on Debugging : Using DebuggerStepThrough attribute
Published Date : September 22, 2010
How to remove Hyperlink from ASP.NET TreeView Control Nodes ?
Published Date : September 24, 2010
Update : ASP.NET 4.0 – In Depth Session – Download Video and PPT
Published Date : September 19, 2010
.NET Community Session : ASP.NET 4.0 In-Depth
Published Date : September 7, 2010
If you want to check all previous Weekly Archives, Please read https://abhijitjana.net/blogbox/ Section.
Tips on Debugging : Using DebuggerStepThrough attribute
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.
Read More “Tips on Debugging : Using DebuggerStepThrough attribute”
Tips on Debugging : Using DebuggerHidden attribute
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.
Read More “Tips on Debugging : Using DebuggerHidden attribute”
Weekly Archive – 4th September 2010
1. Few Tips on Customizing Debugging Window View in Visual Studio
Published Date : August 29, 2010
2. IIS Articles Archives
Published Date : September 1, 2010
3. Use “Obsolete” attributes to indicate Obsolete Methods
Published Date: September 3, 2010
If you want to check all previous Weekly Archive, Please read https://abhijitjana.net/blogbox/ Section.
Use “Obsolete” attributes to indicate Obsolete Methods
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.
Read More “Use “Obsolete” attributes to indicate Obsolete Methods”
