<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag '.NET'</title><link>http://blogs.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=.NET&amp;orTags=0</link><description>Search results matching tag '.NET'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>“Parser Error Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.” when .net page has debug=”true”</title><link>http://blogs.iis.net/webtopics/archive/2009/07/20/parser-error-message-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-when-net-page-has-debug-true.aspx</link><pubDate>Mon, 20 Jul 2009 16:37:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3304497</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webtopics</cs:applicationKey><description>&lt;P&gt;Recently, I came across an issue where the customer faced an FIPS (Federal Information Processing Standards) related error on the .aspx pages which had debug=”true”. His ASP.net application was hosted on IIS7 running on Windows Server 2008 SP2.&amp;nbsp; And, he was able to reproduce the issue using a very simple page. The error message was:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_thumb.png" width=790 height=363 mce_src="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Looking at the error, we know that there are articles like &lt;A href="http://support.microsoft.com/kb/911722" mce_href="http://support.microsoft.com/kb/911722"&gt;KB 911722&lt;/A&gt; and a good blog - &lt;A href="http://blogs.msdn.com/shawnfa/archive/2005/05/16/417975.aspx" mce_href="http://blogs.msdn.com/shawnfa/archive/2005/05/16/417975.aspx"&gt;Enforcing FIPS Certified Cryptography&lt;/A&gt; which discuss the same issue. &lt;/P&gt;
&lt;P&gt;In Windows Server 2008, the FIPS related registry key is:&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2 face=Consolas&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy] "Enabled"=dword:00000000&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;With the setting &lt;FONT color=#ff0000 size=2 face=Consolas&gt;"Enabled"=dword:00000000&lt;/FONT&gt; we know the FIPS enforcement is disabled.&lt;/P&gt;
&lt;P&gt;While troubleshooting, we checked the Local Security Policy setting on the server, at Administrative Tools -&amp;gt; Local Security Policy -&amp;gt; Local Policies -&amp;gt; Security Options -&amp;gt; “System cryptography: Use FIPS compliant algorithms for encryption, hashing and signing” and it showed that it was disabled.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The customer said that sometime back his domain administrators enabled FIPS on their Windows Server 2003 DC and that they enforced it domain-wide using Group Policy. They had then disabled the setting due to the application starting to fail with the Parser Error.&lt;/P&gt;
&lt;P&gt;The customer did have a workaround, they can follow the article &lt;A href="http://blogs.msdn.com/shawnfa/archive/2008/03/14/disabling-the-fips-algorithm-check.aspx" mce_href="http://blogs.msdn.com/shawnfa/archive/2008/03/14/disabling-the-fips-algorithm-check.aspx"&gt;Disabling the FIPS Algorithm Check&lt;/A&gt; i.e. adding &lt;FONT size=2 face=Consolas&gt;&amp;lt;enforceFIPSPolicy enabled="false"/&amp;gt;&lt;/FONT&gt; in their web.config file, however the customer was keen to know the cause of the issue..&lt;/P&gt;
&lt;P&gt;So, we know on Windows Server 2003, the registry key for FIPS is&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2 face=Consolas&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] "fipsalgorithmpolicy"=dword:00000001&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;With this in mind, we checked the registry hive on the customer’s WIN2K8 server and there was this WIN2K3 dword value set ("&lt;FONT size=2 face=Consolas&gt;fipsalgorithmpolicy"=dword:00000001&lt;/FONT&gt;). This was in fact causing the issue. It looked like the Win2k3 domain Group Policy added the registry key on the Windows Server 2008 but did not change the value of the key back when the Group Policy was changed. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_thumb_1.png" width=743 height=329 mce_src="http://blogs.msdn.com/blogfiles/webtopics/WindowsLiveWriter/ParserErrorMessageT.aspxpagehasdebugtrue_850B/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I tried to reproduce the issue on my own server by forcing FIPS using Windows Server 2003 DC on my Windows Server 2008 IIS server, and the registry key does gets modified when I enable FIPS from GPO. After disabling FIPS from GPO&amp;nbsp;I did “&lt;FONT size=2 face=Consolas&gt;gpupdate /force&lt;/FONT&gt;” from the command prompt on my Windows Server 2008 server and the registry value is changed from 1 to 0.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Resolution:&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;To resolve the customer’s problem, we removed "&lt;FONT size=2 face=Consolas&gt;fipsalgorithmpolicy"=dword:00000001&lt;/FONT&gt; from &lt;FONT size=2 face=Consolas&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa].&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Doing a bit more research into the mechanics of the issue, here is what I believe happens: first .NET checks to see if the applicable config file (web.config) has the FIPS enforcement disabled. If the config file doesn't have it disabled then it calls BCryptGetFipsAlgorithmMode (public API) to see what is set in the registry. Inside BCryptGetFipsAlgorithmMode it first reads "HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled". If that is not set it then reads "HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy"&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9841878" width="1" height="1"&gt;</description></item><item><title>Tip #75: Did you know…How to maintain scrollposition after post back?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/08/tip-75-did-you-know-how-to-maintain-scrollposition-after-post-back.aspx</link><pubDate>Mon, 08 Jun 2009 19:43:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3218812</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page.&lt;/p&gt; &lt;p&gt;MaintainScrollPositionOnPostBack page property can be used to achieve this&amp;nbsp; in one of the following ways.&amp;nbsp; &lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Application level:&lt;/strong&gt; To set the property by default for all pages in the website, open web.config and add the attribute to the pages node.&lt;br&gt;&lt;br&gt;&amp;lt;pages maintainScrollPositionOnPostBack="true"&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Page Level:&lt;/strong&gt; for a particular page, open the aspx and set the property&lt;br&gt;&lt;br&gt;&amp;lt;%@ Page MaintainScrollPositionOnPostback="true" ...&lt;br&gt;&lt;br&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Code level: &lt;/strong&gt;to set the property programmatically&lt;br&gt;&lt;br&gt;Page.MaintainScrollPositionOnPostBack = true;&lt;br&gt;&lt;br&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Hope this helps.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Deepak Verma &lt;/strong&gt;&lt;br&gt;SDET | &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;Visual Web Developer&lt;/a&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9709234" width="1" height="1"&gt;</description></item><item><title>Episode #1 of the Misfit Geek Podcast is now LIVE !</title><link>http://blogs.iis.net/joestagner/archive/2009/05/28/episode-1-of-the-misfit-geek-podcast-is-now-live.aspx</link><pubDate>Thu, 28 May 2009 12:56:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3193459</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>joestagner</cs:applicationKey><description>&lt;p&gt;&lt;a href="http://misfitgeek.com/podcast/misfit-geek-podcast/"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ScottHunter" border="0" alt="ScottHunter" src="http://www.misfitgeek.com/images/MGPodcast.jpg" width="184" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The first podcast in my new series is now live at &lt;a title="http://misfitgeek.com/podcast/misfit-geek-podcast/" href="http://misfitgeek.com/podcast/misfit-geek-podcast/"&gt;http://misfitgeek.com/podcast/misfit-geek-podcast/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This episode is an interview with Senior Lean PM Scott Hunter on the future of Web Forms. &lt;/p&gt;  &lt;p&gt;Hope you will listen, subscribe and enjoy !&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:38402569-59b7-4dbf-a282-3a9c1277e2a0" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/podcast" rel="tag"&gt;podcast&lt;/a&gt;,&lt;a href="http://technorati.com/tags/microsoft+asp.net+ajax+training" rel="tag"&gt;microsoft asp.net ajax training&lt;/a&gt;,&lt;a href="http://technorati.com/tags/.net" rel="tag"&gt;.net&lt;/a&gt;,&lt;a href="http://technorati.com/tags/asp" rel="tag"&gt;asp&lt;/a&gt;,&lt;a href="http://technorati.com/tags/asp.net" rel="tag"&gt;asp.net&lt;/a&gt;,&lt;a href="http://technorati.com/tags/web+forms" rel="tag"&gt;web forms&lt;/a&gt;&lt;/div&gt;</description></item><item><title>CannonPI teaser video</title><link>http://blogs.iis.net/tomchris/archive/2009/05/07/cannonpi-teaser-video.aspx</link><pubDate>Thu, 07 May 2009 17:58:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3148866</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;There is a new video up on youtube that is the beginning of many more videos.&amp;#160; You should check it out and look for for more coming soon.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:ee89a40b-1927-4810-b3e6-844d81978f49" class="wlWriterSmartContent"&gt;&lt;div id="2d1d2902-9c7d-4df2-89c0-342fc7b11fa8" style="margin: 0px; padding: 0px; display: inline;"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=cCApcSq1ke0" target="_new"&gt;&lt;img src="http://blogs.msdn.com/blogfiles/tom/WindowsLiveWriter/CannonPIteaservideo_C453/video9b93cf23cf05.jpg" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('2d1d2902-9c7d-4df2-89c0-342fc7b11fa8'); downlevelDiv.innerHTML = &amp;quot;&amp;lt;div&amp;gt;&amp;lt;object width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;param name=\&amp;quot;movie\&amp;quot; value=\&amp;quot;http://www.youtube.com/v/cCApcSq1ke0&amp;amp;hl=en\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;embed src=\&amp;quot;http://www.youtube.com/v/cCApcSq1ke0&amp;amp;hl=en\&amp;quot; type=\&amp;quot;application/x-shockwave-flash\&amp;quot; width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;\/embed&amp;gt;&amp;lt;\/object&amp;gt;&amp;lt;\/div&amp;gt;&amp;quot;;" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Also, see if you recognize any of the people in this, feel free to post here who you think they are.&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;
&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9594353" width="1" height="1"&gt;</description></item><item><title>Insides of Azure</title><link>http://blogs.iis.net/tomchris/archive/2008/11/14/insides-of-azure.aspx</link><pubDate>Fri, 14 Nov 2008 11:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2746132</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;Want to get more details about &lt;a href="http://www.microsoft.com/azure/default.mspx"&gt;Windows Azure&lt;/a&gt;?&amp;#160; There is a really helpful video done by Channel 9 that talks about this upcoming product and how it works.&lt;/p&gt;  &lt;p&gt;I think this gives great details about the architecture and also how you will use this and what it will be good for.&amp;#160; Check it out:&lt;/p&gt; &lt;iframe src="http://channel9.msdn.com/shows/Going+Deep/434203/player/" frameborder="0" width="320" scrolling="no" height="325"&gt;&lt;/iframe&gt;  &lt;br /&gt;&lt;a href="http://channel9.msdn.com/shows/Going+Deep/Dharma-Shukla-Inside-Live-Framework/"&gt;Dharma Shukla: Inside Live Framework&lt;/a&gt;  &lt;br /&gt;  &lt;p&gt;There are a bunch of other details you can find out about this product so feel free to post your favorites in the comments.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9067346" width="1" height="1"&gt;</description></item><item><title>Windows Azure and you</title><link>http://blogs.iis.net/tomchris/archive/2008/11/11/windows-azure-and-you.aspx</link><pubDate>Tue, 11 Nov 2008 11:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2738081</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;So I have started to look at the new Windows Azure that we just announced, you can download the framework from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bb893fb0-ad04-4fe8-bb04-0c5e4278d3e9&amp;amp;DisplayLang=en"&gt;here&lt;/a&gt;.&amp;#160; You can also read more about it at &lt;a title="Azure Services Platform Developer Center" href="http://msdn.microsoft.com/en-us/azure/default.aspx"&gt;Azure Services Platform Developer Center&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;As I started looking at this, the main sample I was focused on was the &lt;a title="PersonalWebSite Sample" href="http://msdn.microsoft.com/en-us/library/dd135735.aspx"&gt;PersonalWebSite Sample&lt;/a&gt;.&amp;#160; It gives me a pretty good idea of how it is going to be to develop for this platform.&amp;#160; But I haven’t been able to fully look into what it is going to be like to troubleshoot it.&amp;#160; Especially from a production viewpoint.&lt;/p&gt;  &lt;p&gt;Have you looked at this new platform yet?&amp;#160; What are your thoughts?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9059779" width="1" height="1"&gt;</description></item><item><title>IntelliSense for jQuery</title><link>http://blogs.iis.net/tomchris/archive/2008/10/30/intellisense-for-jquery.aspx</link><pubDate>Thu, 30 Oct 2008 15:28:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2715106</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;As for reported &lt;a href="http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx"&gt;here&lt;/a&gt;, we now have an official IntelliSense documentation file that will allow you to get rich intellisense for jQuery from inside of Visual Studio.&lt;/p&gt;  &lt;p&gt;When you go to download jQuery, you will see a Documentation link.&amp;#160; Or you can download it directly from here:    &lt;br /&gt;&lt;a title="jquery-1.2.6-vsdoc.js" href="http://code.jquery.com/jquery-1.2.6-vsdoc.js"&gt;http://code.jquery.com/jquery-1.2.6-vsdoc.js&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Using this file is simple, if you are inside an ASPX page, you can reference it like this:&lt;/p&gt;  &lt;pre class="code"&gt;&amp;lt;script src=&amp;quot;jquery-1.2.6.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;% if (false) { %&amp;gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;script src=&amp;quot;jquery-1.2.6-vsdoc.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;% } %&amp;gt;&lt;/pre&gt;

&lt;p&gt;The &lt;strong&gt;if (false)&lt;/strong&gt; part will make sure we don’t render or execute this as a script but it will get loaded by IntelliSense.&lt;/p&gt;

&lt;p&gt;If you are inside a javascript file, you can reference it in the normal way like:&lt;/p&gt;

&lt;pre class="code"&gt;/// &amp;lt;reference path=&amp;quot;jquery-1.2.6-vsdoc.js&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;p&gt;This also supports plug-ins.&amp;#160; So you will get IntelliSense on the as well.&amp;#160; Hope that those of you using jQuery can put this file to good use.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9022416" width="1" height="1"&gt;</description></item><item><title>Strange callstacks</title><link>http://blogs.iis.net/tomchris/archive/2008/10/29/strange-callstacks.aspx</link><pubDate>Wed, 29 Oct 2008 10:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2712502</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;How many times have you been troubleshooting a dump or application, you look at the callstack and you see something that just doesn’t quite look right.&amp;#160; Chances are the problem is that you don’t have correct symbols.&lt;/p&gt;  &lt;p&gt;For example, if you see something like this:&lt;/p&gt;  &lt;pre class="code"&gt;Vswebdesign!DllCanUnloadNow+0xb02a0
Vswebdesign!DllCanUnloadNow+0xb8ef4
Vswebdesign!DllCanUnloadNow+0xb2203
Vswebdesign!DllCanUnloadNow+0xb248f
Vswebdesign!DllCanUnloadNow+0x2c406
Vswebdesign!DllCanUnloadNow+105a89
...&lt;/pre&gt;

&lt;p&gt;That usually is pointing to this problem.&amp;#160; You can see that the offsets for the functions are very large.&amp;#160; Also, the callstack is the same function repeated over and over.&amp;#160; And most applications probably don’t call DllCanUnloadNow.&lt;/p&gt;

&lt;p&gt;If you get this problem, you can try to get the correct symbols, or just understand what you are seeing here and know that you aren’t seeing the correct functions.&amp;#160; For most things that concern you, you should be able to get the correct symbols so that you can properly resolve your callstacks.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9020880" width="1" height="1"&gt;</description></item><item><title>XPerf: A CPU Sampler</title><link>http://blogs.iis.net/tomchris/archive/2008/10/10/xperf-a-cpu-sampler.aspx</link><pubDate>Fri, 10 Oct 2008 10:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2675213</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;Seema just had a great about using XPerf to troubleshoot CPU issues when using Silverlight.&amp;#160; This can also be used in the same way to troubleshoot ASP.NET or IIS.&lt;/p&gt;  &lt;p&gt;What can XPerf tell you?&amp;#160; Seema answers that question, it can find out:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;Is my app asking Silverlight to constantly spin on CPU cycles.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Whether one UI layout or design is more expensive than the other.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;Whether the time is spent in drawing (agcore.dll), the plug-in’s interactions with (npctrl.dll), or in compilation/JIT (coreclr.dll)&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;How much is stretching/blending/rotating that video going to cost in terms of CPU cycles? How about if you encode it differently?&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You can read more about XPerf and how to download and use it from Seema post &lt;a href="http://blogs.msdn.com/seema/archive/2008/10/08/xperf-a-cpu-sampler-for-silverlight.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Note: The tools only work on Vista and Windows Server 2008.&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8992973" width="1" height="1"&gt;</description></item><item><title>ASP.NET Tip: When to use which Session Server</title><link>http://blogs.iis.net/tomchris/archive/2008/10/03/asp-net-tip-when-to-use-which-session-server.aspx</link><pubDate>Fri, 03 Oct 2008 10:00:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2661903</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;There are 3 different ways you can store session in an ASP.NET application:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;InProc (default mode) &lt;/li&gt;    &lt;li&gt;State Server &lt;/li&gt;    &lt;li&gt;SQL Server &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;InProc&lt;/strong&gt; means we store the data in the same process (in memory) on the web server, in the worker process.&amp;#160; This has some distinct advantages in that it is faster since everything is in the same process.&amp;#160; It also means you can store anything in session as you don’t have to worry about serializing the data.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;State Server&lt;/strong&gt; is a process that runs separate from the worker process.&amp;#160; This can run on the same machine or on a different machine.&amp;#160; The advantage to this one is that if the worker process crashes, you don’t lose your session.&amp;#160; Also, you can do some sharing of session across multiple servers in the web farm.&amp;#160; To enable using State Server, you add the following configuration setting:&lt;/p&gt;  &lt;pre class="code"&gt;&amp;lt;configuration&amp;gt;
  &amp;lt;system.web&amp;gt;
    &amp;lt;sessionState mode=&amp;quot;StateServer&amp;quot;
      stateConnectionString=&amp;quot;tcpip=SampleStateServer:42424&amp;quot;
      cookieless=&amp;quot;false&amp;quot;
      timeout=&amp;quot;20&amp;quot;/&amp;gt;
  &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;SQL Server&lt;/strong&gt; mode is similar to State Server except that the data is stored in a SQL Server database.&amp;#160; This is the best option if you are expecting heavy use as SQL is designed to handle large loads of requests.&amp;#160; To enable SQL Server, you add the following configuration setting:&lt;/p&gt;

&lt;pre class="code"&gt;&amp;lt;configuration&amp;gt;
  &amp;lt;system.web&amp;gt;
    &amp;lt;sessionState mode=&amp;quot;SQLServer&amp;quot;
      sqlConnectionString=&amp;quot;Integrated Security=SSPI;data 
        source=SampleSqlServer;&amp;quot; /&amp;gt;
  &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;

&lt;p&gt;For the last two choices, it is best to encrypt the connection string for security purposes.&amp;#160; For steps to do that, check out &lt;a title="Encrypting Configuration Information Using Protected Configuration" href="http://msdn.microsoft.com/en-us/library/53tyfkaw.aspx"&gt;Encrypting Configuration Information Using Protected Configuration&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;There is another method, but it is creating your own provider.&amp;#160; You can get more information on doing that at &lt;a title="Implementing a Session-State Store Provider" href="http://msdn.microsoft.com/en-us/library/ms178587.aspx"&gt;Implementing a Session-State Store Provider&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8974270" width="1" height="1"&gt;</description></item></channel></rss>