10 March 2010 0 Comments

Tracking viewstate using a webtest playback add-in

  One of the coolest features I think we’ve added in Visual Studio 2010 is the ability to add your own tabs into the webtest playback view.  Extending the user interface in this way allows you to do data analysis and have it pop up right in front of you in whatever format you want.  No more exporting to excel or whatever your favorite analysis tool is, just compile everything you one in one place and voila! That being said, I have been told that it can be difficult to grok at first glance.  So, I wanted to post a sort of ‘how to’ in order to get one of these working.  A colleague of mine suggested that I could use this forum to demonstrate how to keep track of something that affects the performance of many users’ websites.  Namely, Viewstate.   So, below is a step by step instruction on how to create a webtest playback tab which keeps track of the viewstate size for each request.   Step 1:  Create the add-in project Visual Studio Add-ins have their own special type of project, you can find it under “Other project types / Extensibility”.   I’ve named mine “ViewstateAddin”.   Step 2:  Walk through the create add-in wizard When the wizard launches, you’ll be add a “welcome” screen.  Click next to move to page 1.

16 September 2009 0 Comments

SGEN gives "Error: The top XML element ‘class’ from namespace ” references distinct types UserDefinedFunctions.Class and UserDefinedFunctions.Class1."

  Another SGEN error that caused me some time to troubleshoot.

12 September 2009 0 Comments

.NET RIA Services Exception handling

Av Fredrik Normén, Cornerstone At the moment I’m updating a code example for my Silverlight 3.0 course and have added some exception handling to the code. I also got a question about how to handle exception while calling the Load operation of the DomainService class. So I decided to write a blog post about it, maybe someone more have the same question.

3 September 2009 0 Comments

Published links to office client applications do not show up in file open or save dialogs

Ever run into a problem where your published links for office client applications do not show up in My SharePoint sites Link in Office applications? If so, read through… First, the basics. Ensure it is configured right

2 September 2009 0 Comments

How to debug – Application verifier STOP 00000403 : Unbalanced CoInitialize/CoUninitialize calls on current thread.

Have you ever used application verifier ? I strongly suggest this great tool to everyone who develops programs on C , C++. This post assumes that you have a basic knowledge about how to use application verifier and windbg.