<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>The Way I See It</title><link>http://blogs.msdn.com/b/vijaysk/</link><description>Techno gyan by Vijayshinva Karnure - Support Escalation Engineer (Microsoft)</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/msdn/vijaysk" /><feedburner:info uri="msdn/vijaysk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>BizTalk–identifier ‘EDI’ does not exist in ‘Orchestration’; are you missing an assembly reference?</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/_5wUBFCPRt8/biztalk-identifier-edi-does-not-exist-in-orchestration-are-you-missing-an-assembly-reference.aspx</link><pubDate>Wed, 08 May 2013 09:10:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10416927</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10416927</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10416927</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2013/05/08/biztalk-identifier-edi-does-not-exist-in-orchestration-are-you-missing-an-assembly-reference.aspx#comments</comments><description>&lt;p&gt;While working with EDI messages in Orchestrations you might get the following error message.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Identifier ‘EDI’ doesn't exist in ‘Orchestration’; are you missing an assembly reference?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/1373.image_5F00_3DF78646.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/6545.image_5F00_thumb_5F00_14A03E48.png" width="787" height="41" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This happens when you try to access the EDI properties of a message in an orchestration like EDI.ISA06&lt;/p&gt;  &lt;p&gt;To resolve this issue ensure the Orchestration Project has a reference to the assembly &lt;strong&gt;Microsoft.BizTalk.Edi.BaseArtifacts.dll&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;It is located in the folder you installed BizTalk Server ( C:\Program Files (x86)\Microsoft BizTalk Server 2010\ )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10416927" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=_5wUBFCPRt8:d-9DEbsSc6c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=_5wUBFCPRt8:d-9DEbsSc6c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=_5wUBFCPRt8:d-9DEbsSc6c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=_5wUBFCPRt8:d-9DEbsSc6c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=_5wUBFCPRt8:d-9DEbsSc6c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/_5wUBFCPRt8" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/BizTalk/">BizTalk</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2013/05/08/biztalk-identifier-edi-does-not-exist-in-orchestration-are-you-missing-an-assembly-reference.aspx</feedburner:origLink></item><item><title>AppFabric Cache–How to check if a region exists</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/muqRBo7YzhU/appfabric-cache-how-to-check-if-a-region-exists.aspx</link><pubDate>Tue, 30 Apr 2013 04:52:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10414982</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10414982</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10414982</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2013/04/30/appfabric-cache-how-to-check-if-a-region-exists.aspx#comments</comments><description>&lt;p&gt;In an AppFabric Cache you can segregate your cached data into regions. You create a region using the CreateRegion() method of the DataCache object.&lt;/p&gt;  &lt;p&gt;Working on a recent project I was asked How do I check if a cache exits ? There is no RegionExits() method on the DataCache object.&lt;/p&gt;  &lt;p&gt;To check if a region exists you can make use of the CreateRegion() method.&lt;/p&gt;  &lt;p&gt;The CreateRegion returns a bool. As per the documentation a value of true indicates that the region created successfully. A value of false indicates that the region already exists.&lt;/p&gt;  &lt;p&gt;REF : &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.datacache.createregion(v=azure.10).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.datacache.createregion(v=azure.10).aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10414982" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=muqRBo7YzhU:62qoNjUxHIU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=muqRBo7YzhU:62qoNjUxHIU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=muqRBo7YzhU:62qoNjUxHIU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=muqRBo7YzhU:62qoNjUxHIU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=muqRBo7YzhU:62qoNjUxHIU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/muqRBo7YzhU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/-NET/">.NET</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/AppFabric/">AppFabric</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2013/04/30/appfabric-cache-how-to-check-if-a-region-exists.aspx</feedburner:origLink></item><item><title>Tools To Simulate CPU / Memory / Disk Load</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/4wjMklBNFrU/tools-to-simulate-cpu-memory-disk-load.aspx</link><pubDate>Sat, 27 Oct 2012 05:19:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10363281</guid><dc:creator>Shinva</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10363281</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10363281</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/27/tools-to-simulate-cpu-memory-disk-load.aspx#comments</comments><description>&lt;p&gt;I have seen a lot of people searching for tools to simulate high CPU, Memory and Disk issues. Here are the tools I use &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Simulate High CPU Usage&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://download.sysinternals.com/files/CPUSTRES.zip"&gt;CPUSTRES.EXE&lt;/a&gt; is a tool you can use to simulate High CPU usage by an user mode process. Its available for download from the Windows Sysinternals website.&lt;/p&gt;  &lt;p&gt;Here I have used CPUSTRES to simulate 50% CPU usage.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2818.clip_5F00_image002_5F00_6AEB9DC8.jpg"&gt;&lt;img title="clip_image002" style="display: inline; background-image: none;" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4075.clip_5F00_image002_5F00_thumb_5F00_2B5E3A78.jpg" width="619" height="560" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;CPUSTRES also has options to change the priority of the threads it spawns.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Simulate High Memory Usage&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To simulate high memory usage you can use the &lt;a href="http://download.sysinternals.com/files/TestLimit.zip"&gt;TestLimit&lt;/a&gt; tool from the Sysinternals website. TestLimit can be used to simulate a variety of memory leak issues. Here I am using TestLimit to reduce the Available memory on my machine.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3482.clip_5F00_image0025_5F00_5C30CC16.jpg"&gt;&lt;img title="clip_image002[5]" style="display: inline; background-image: none;" border="0" alt="clip_image002[5]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/1351.clip_5F00_image0025_5F00_thumb_5F00_4BD5545D.jpg" width="542" height="584" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/6153.clip_5F00_image0027_5F00_3050525A.jpg"&gt;&lt;img title="clip_image002[7]" style="display: inline; background-image: none;" border="0" alt="clip_image002[7]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4571.clip_5F00_image0027_5F00_thumb_5F00_6671CAA9.jpg" width="539" height="592" /&gt;&amp;#160;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Simulate High Disk Activity&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/en-in/download/details.aspx?id=20163"&gt;SQLIO&lt;/a&gt; is a tool for benchmarking the I/O capacity of a given storage system. It can simulate sequential and random I/O and is usually used to test storage systems for SQL Server installations. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5460.image_5F00_637C65F6.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3021.image_5F00_thumb_5F00_6F31AD28.png" width="719" height="639" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;SQLIO is an useful tool that you can use to simulate high disk activity.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Simulate High Disk Usage&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Another useful tool to simulate these issues is consume.exe. It ships with Windows SDK and can be used to consume resources like CPU, memory and disk. Here I am using consume.exe to simulate low disk space issues. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8625.image_5F00_1F0C4EEA.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7711.image_5F00_thumb_5F00_6AF7AF96.png" width="544" height="326" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;NOTE : Use these tools with extreme caution as they can freeze the machine you run them on and you might end up rebooting the machine. &lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10363281" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=4wjMklBNFrU:ZzFr0euVLgQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=4wjMklBNFrU:ZzFr0euVLgQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=4wjMklBNFrU:ZzFr0euVLgQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=4wjMklBNFrU:ZzFr0euVLgQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=4wjMklBNFrU:ZzFr0euVLgQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/4wjMklBNFrU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/Tools/">Tools</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/Debug/">Debug</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/Windows/">Windows</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/27/tools-to-simulate-cpu-memory-disk-load.aspx</feedburner:origLink></item><item><title>Where is ASP.NET 4.5 …wait Where is .NET 4.5 ?</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/zNBU6VDQ86M/where-is-asp-net-4-5-wait-where-is-net-4-5.aspx</link><pubDate>Fri, 12 Oct 2012 10:17:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10359062</guid><dc:creator>Shinva</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10359062</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10359062</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/12/where-is-asp-net-4-5-wait-where-is-net-4-5.aspx#comments</comments><description>&lt;p&gt;When .NET 3.5 was released a lot of people wondered why ASP.NET 3.5 wouldn’t show up in IIS. &lt;a title="http://blogs.msdn.com/b/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx" href="http://blogs.msdn.com/b/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx"&gt;http://blogs.msdn.com/b/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Well with .NET 4.5 you might be a bit more confused… &lt;/p&gt;  &lt;p&gt;So first .NET 4.5 will not show up in IIS&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0317.image_5F00_58969B0F.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8540.image_5F00_thumb_5F00_0B19F882.png" width="364" height="382" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;But now if you check the Microsoft.NET framework folder you will see that you will not have a .NET 4.5 folder as well&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3438.image_5F00_134E1E19.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2364.image_5F00_thumb_5F00_7DA3BFAE.png" width="480" height="310" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Well Why ?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If you have read my previous post by now you would have understood that there are two ways the .NET framework is upgraded. &lt;/p&gt;  &lt;p&gt;1. Side By Side release – Like v1.1 and v2.0. There releases are completely independent of each other&lt;/p&gt;  &lt;p&gt;2. Enhancements – Like v3.0 and 3.5&lt;/p&gt;  &lt;p&gt;.NET 3.5 and .NET 3.0 are just additions to the .NET 2.0. So the v2.0 folder has all the .NET 2.0 files and v3.0 and v3.5 folders have all the files that are required for the enhancements like WCF, LINQ. If you wanted to use these enhancements in ASP.NET your web.config files had to explicitly have references to these 3.5 assemblies.&lt;/p&gt;  &lt;p&gt;.NET 4 is a Side By Side upgrade. Which means it can exist independent of v1.1 and v2.0.&lt;/p&gt;  &lt;p&gt;.NET 4.5 is an enhancement, but unlike 3.0 or 3.5 it will not be separated out. It is an in place upgrade.&lt;/p&gt;  &lt;p&gt;Which means once you install .NET 4.5 the v4.0 folder will be updated to contain all the .NET 4.5 files.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Does that mean you wiped out .NET 4.0 from your machine ?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Well yes and no. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Yes,&lt;/strong&gt; because the installation updates the v4.0 folder to .NET 4.5 &lt;/p&gt;  &lt;p&gt;My machine has both VS 2010 and VS 2012 installed. If I launch the VS 2010 Command Prompt and run launch the C Sharp compiler it will say 4.5. There is no compiler for 4.0 after the upgrade.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0218.image_5F00_217C713C.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/6646.image_5F00_thumb_5F00_774CC353.png" width="742" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;No&lt;/strong&gt;, because even though you now have a single updated folder, you can control which version of .NET 4 your application will use.&lt;/p&gt;  &lt;p&gt;Visual Studio 2012 provides you an option to target either .NET 4 or .NET 4.5 &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0602.image_5F00_627ACAD3.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3581.image_5F00_thumb_5F00_2B513CDA.png" width="349" height="193" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When you switch the Target framework in Visual Studio two thing happen&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1. The config file will reflect the targetFramework &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;A .NET 4.5 web.config will have an entry similar to &lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;compilation debug=&amp;quot;true&amp;quot; targetFramework=&amp;quot;4.5&amp;quot;/&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;and if you choose .NET 4 it will be&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;compilation debug=&amp;quot;true&amp;quot; targetFramework=&amp;quot;4.0&amp;quot;/&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Similarly in a Windows Application the version is controlled in its app.config file with&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;supportedRuntime version=&amp;quot;v4.0&amp;quot; sku=&amp;quot;.NETFramework,Version=v4.0&amp;quot;/&amp;gt;&lt;/p&gt; &lt;/div&gt;  or   &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;supportedRuntime version=&amp;quot;v4.0&amp;quot; sku=&amp;quot;.NETFramework,Version=v4.5&amp;quot;/&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;&lt;strong&gt;2. The reference assemblies for the common namespaces like&amp;#160; System are updated.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/1854.image_5F00_3706840C.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3580.image_5F00_thumb_5F00_58C236D0.png" width="686" height="439" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The reference assemblies are still separate for .NET 4 and .NET 4.5&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8204.image_5F00_1FE7DD03.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3580.image_5F00_thumb_5F00_4B4BFDFD.png" width="804" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Do you have to upgrade your existing ASP.NET 4 web application to .NET 4.5 because of this?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;No,&amp;#160; if you have an ASP.NET web application built using VS 2010, it will have a &lt;strong&gt;compilation&lt;/strong&gt; tag with &lt;strong&gt;targetFramework=&amp;quot;4.0&amp;quot;&lt;/strong&gt; in its web.config already.&lt;/p&gt;  &lt;p&gt;Which means it will continue to work fine even after the .NET 4.5 upgrade. &lt;/p&gt;  &lt;p&gt;In case you want to use the new .NET 4.5 features like &lt;strong&gt;async&lt;/strong&gt; that's when you will have to upgrade your web application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10359062" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=zNBU6VDQ86M:j4tiuQcOHHI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=zNBU6VDQ86M:j4tiuQcOHHI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=zNBU6VDQ86M:j4tiuQcOHHI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=zNBU6VDQ86M:j4tiuQcOHHI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=zNBU6VDQ86M:j4tiuQcOHHI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/zNBU6VDQ86M" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/ASP-NET/">ASP.NET</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/-NET/">.NET</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/12/where-is-asp-net-4-5-wait-where-is-net-4-5.aspx</feedburner:origLink></item><item><title>IIS 8 What's new – Website settings</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/WsjecoiHkgk/iis-8-what-s-new-website-settings.aspx</link><pubDate>Thu, 11 Oct 2012 07:06:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10358625</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10358625</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10358625</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/11/iis-8-what-s-new-website-settings.aspx#comments</comments><description>&lt;p&gt;The two new additions in IIS 8 are &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2626.image_5F00_5F538E67.png"&gt;&lt;img title="image" style="margin: 0px; display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7823.image_5F00_thumb_5F00_52B5BB7E.png" width="555" height="689" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Preload Enabled&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This setting is available if you have the &lt;strong&gt;Application Initialization&lt;/strong&gt; module installed&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/1033.image_5F00_6C0D98EB.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7220.image_5F00_thumb_5F00_1C73F795.png" width="386" height="167" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The &lt;strong&gt;preloadEnabled&lt;/strong&gt; metabase setting along with the &lt;strong&gt;startMode &lt;/strong&gt;setting can be used to ‘warm up’ your web application.&lt;/p&gt;  &lt;p&gt;When you set the &lt;strong&gt;&lt;a href="http://blogs.msdn.com/b/vijaysk/archive/2012/10/10/iis-8-what-s-new-application-pool-settings.aspx"&gt;startMode property of your application pool&lt;/a&gt;&lt;/strong&gt; to &lt;strong&gt;AlwaysRunning&lt;/strong&gt; a worker process is spawned as soon as IIS starts up and does not wait for the first user request. But this does not mean the web application is initialized.&lt;/p&gt;  &lt;p&gt;When you set &lt;strong&gt;preloadEnabled&lt;/strong&gt; to true, IIS will simulate a user request to the default page (can be changed with &lt;strong&gt;initializationPage &lt;/strong&gt;metabase setting) of the website/virdir so that the application initializes. The request is not logged in the IIS logs.&lt;/p&gt;  &lt;p&gt;But you can trace this with FREB. Every time you restart your application pool you will see a FREB trace file for the dummy request. You can identify this request by analysing the &lt;strong&gt;GENERAL_REQUEST_HEADERS &lt;/strong&gt;and looking at the &lt;strong&gt;User-Agent &lt;/strong&gt;string.&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;User-Agent: IIS Application Initialization Preload &lt;/p&gt; &lt;/div&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Maximum Url Segments&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;With the &lt;strong&gt;maxUrlSegments&lt;/strong&gt; metabase setting you can control the number of segments in an URL that your web application can serve. A segment is nothing but the number of &lt;strong&gt;/&lt;/strong&gt; in your URL. This is a security setting that you can use to control the depth to which a user can browse your website.&lt;/p&gt;  &lt;p&gt;So for example say you have an application whose URL are mostly of the format http://website/virdir/page,&amp;#160; you can set the &lt;strong&gt;maxUrlSegments&lt;/strong&gt; to 3. This stops probing attacks. &lt;/p&gt;  &lt;p&gt;If a user tries to browse an URL with segments exceeding this limit he/she will see a 404 message and a &lt;strong&gt;404.20&lt;/strong&gt; HTTP status code will be logged in the IIS logs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10358625" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=WsjecoiHkgk:rvos9ewALmo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=WsjecoiHkgk:rvos9ewALmo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=WsjecoiHkgk:rvos9ewALmo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=WsjecoiHkgk:rvos9ewALmo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=WsjecoiHkgk:rvos9ewALmo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/WsjecoiHkgk" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/IIS/">IIS</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/11/iis-8-what-s-new-website-settings.aspx</feedburner:origLink></item><item><title>IIS 8 What's new – Application pool settings</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/nN7lRCtaFNU/iis-8-what-s-new-application-pool-settings.aspx</link><pubDate>Wed, 10 Oct 2012 06:15:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10358134</guid><dc:creator>Shinva</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10358134</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10358134</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/10/iis-8-what-s-new-application-pool-settings.aspx#comments</comments><description>&lt;p&gt;Here is a list of enhancements to Application Pools in IIS 8.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;Start Mode&lt;/strong&gt; &lt;/u&gt;&lt;/p&gt;  &lt;p&gt;A few web applications take a significant amount of time to start up. IIS by default only launches a worker process when the first request for the web application is received. So for the web applications that require a longer time to initialize, users might see slow responses.&lt;/p&gt;  &lt;p&gt;For such applications it is a good idea to launch the worker process as soon as IIS is started. The application pools have a &lt;strong&gt;startMode&lt;/strong&gt; setting which when set to &lt;strong&gt;AlwaysRunning&lt;/strong&gt; launches the worker process for the application pool as soon as IIS is started.&lt;/p&gt;  &lt;p&gt;IIS 8 provides you this setting in the Application Pool Settings UI.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8508.image_5F00_2CAE4EDE.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7607.image_5F00_thumb_5F00_354EA76A.png" width="429" height="121" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This feature is also available in IIS 7.5, but you will have to edit the &lt;strong&gt;applicationHost.config&lt;/strong&gt; directly to enable this feature.&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;applicationPools&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;add name=&amp;quot;DefaultAppPool&amp;quot; startMode=&amp;quot;AlwaysRunning&amp;quot; /&amp;gt;       &lt;br /&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;CPU Throttle&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;IIS 7.5 and earlier have a CPU monitoring feature that you could use to terminate a worker process, when its CPU usage goes beyond a certain limit. Its very useful in shared hosting scenarios.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4861.image_5F00_59FFBEE1.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2804.image_5F00_thumb_5F00_66213908.png" width="408" height="110" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In IIS 8 this feature has been enhanced. You can now instead of terminating the worker process, throttle it.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5037.image_5F00_041F46FD.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5826.image_5F00_thumb_5F00_5414F57B.png" width="392" height="171" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The &lt;strong&gt;KillW3wp&lt;/strong&gt; will terminate the worker process like IIS 7.5. But if set to &lt;strong&gt;Throttle&lt;/strong&gt; or &lt;strong&gt;ThrottleUnderLoad&lt;/strong&gt; instead of terminating the worker process it will limits its CPU usage to the value set.&lt;/p&gt;  &lt;p&gt;This is an application pool setting, so the limit you set applies to all the worker processes (web garden) of an application pool. So for an application pool with 5 worker processes, if the value for &lt;strong&gt;limit &lt;/strong&gt;is set to 50000 the combined CPU usage of all the 5 worker processes is throttled at 50%.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Process Affinity Mask (64 Bit)&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The UI now also exposes the &lt;strong&gt;smpProcessorAffinityMask2&lt;/strong&gt; metabase key. This is used when you enable the Processor Affinity setting.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0245.image_5F00_6D9C82A8.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8168.image_5F00_thumb_5F00_5DAD3DE4.png" width="388" height="167" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Generate Process Model Event Log Entries&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The &lt;strong&gt;logEventOnProcessModel&lt;/strong&gt; metabase setting controls if an event has to be written when an application pool is shutdown because it was idle.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2870.image_5F00_748C0F60.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4527.image_5F00_thumb_5F00_00AD8988.png" width="392" height="74" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;applicationPools&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;add name=&amp;quot;DefaultAppPool&amp;quot; startMode=&amp;quot;OnDemand&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt; processModel logEventOnProcessModel=&amp;quot;IdleTimeout&amp;quot; /&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;When set to True an event similar to the one below is logged in the System Event Log when WAS shutdown the application pool.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3343.image_5F00_05AFC737.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0317.image_5F00_thumb_5F00_5A3B806F.png" width="628" height="298" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10358134" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=nN7lRCtaFNU:kx2ZEtGkd5E:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=nN7lRCtaFNU:kx2ZEtGkd5E:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=nN7lRCtaFNU:kx2ZEtGkd5E:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=nN7lRCtaFNU:kx2ZEtGkd5E:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=nN7lRCtaFNU:kx2ZEtGkd5E:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/nN7lRCtaFNU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/IIS/">IIS</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/10/iis-8-what-s-new-application-pool-settings.aspx</feedburner:origLink></item><item><title>Windows 8 is the Super workstation OS I had been waiting for</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/0FabP2dQi4g/windows-8-is-the-super-workstation-os-i-had-been-waiting-for.aspx</link><pubDate>Sat, 06 Oct 2012 11:45:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10356940</guid><dc:creator>Shinva</dc:creator><slash:comments>5</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10356940</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10356940</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/06/windows-8-is-the-super-workstation-os-i-had-been-waiting-for.aspx#comments</comments><description>&lt;p&gt;Long back I had written a blog post about &lt;a href="http://blogs.msdn.com/b/vijaysk/archive/2008/02/11/using-windows-server-2008-as-a-super-desktop-os.aspx"&gt;Using Windows Server 2008 as a SUPER workstation OS&lt;/a&gt;&lt;strong&gt;&amp;#160;&lt;/strong&gt;that caused a lot of buzz&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.zdnet.com/blog/microsoft/server-2008-the-windows-workstation-we-always-wanted/1218"&gt;Server 2008: The Windows Workstation we always wanted&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.computerworld.com/s/article/9070658/Review_Using_Windows_Server_2008_on_a_PC_"&gt;Review: Using Windows Server 2008 on a PC&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I had my reasons to use a Server OS on my work laptop and have been doing it since Windows Server 2003. When I wrote that blog post I had a vision of Windows which I now think has become a reality.&lt;/p&gt;  &lt;p&gt;After nearly 9 years I have made my switch to a desktop version of Windows. My work laptop now has Windows 8 (RTM).&lt;/p&gt;  &lt;p&gt;And before you drift into the world of Touch and Apps. My laptop doesn't have a Touch Screen. I am still a mouse and keyboard guy.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Search and Launch is way better than the Start Button&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I am surprised at the number of hard core Start Button fans. The most common use of the Start Button was to launch apps. I had ditched the Start Menu long back for the Search Bar. Simply because my “All Programs” list had grown to three columns. &lt;/p&gt;  &lt;p&gt;To launch any program I would just hit Start and type the first few characters of the program I wanted to run. Say you want to launch Paint … Just hit the Windows button and type in “pa..” and hit Enter.&lt;/p&gt;  &lt;p&gt;With Windows 8 it becomes better… You can search Apps, Settings and Files in one place. You can also launch search within apps. Like search within the Store App.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5270.image_5F00_4B892B82.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2727.image_5F00_thumb_5F00_1DBB62BD.png" width="1028" height="232" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I have seen a lot of people use Search to launch Apps than actually traversing the “All Programs” list. &lt;/p&gt;  &lt;p&gt;And in case you can’t do without it here is a tip I learnt. You can create a Custom Toolbar and point it to C:\ProgramData\Microsoft\Windows\Start Menu\Programs. You will get a list similar to “All Programs”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8081.image_5F00_342E0144.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8562.image_5F00_thumb_5F00_7D70A63F.png" width="508" height="257" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7180.image_5F00_306036A7.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7802.image_5F00_thumb_5F00_67C647D5.png" width="395" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Searching and Launching Apps is way faster than clicking the Start Button and traversing the list. And its not just for power users. Say you want to change the Sounds your computer makes. Now instead of knowing that you have to open the Control Panel you can just hit the Windows button and type in Sound. You will be given a list of Apps and Settings related to Sound. Go to the Settings section and you can now easily change the Sound Settings.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The most unexpected outcome of the new Start Screen for me …&lt;/strong&gt; Its strange but a Start Screen that covers the entire screen is something I didn't realize I was missing all these days. There have been a lot of instances when I have been working on something confidential and a colleague walks by your desk. I am pretty sure a lot of people have been in this situation. You struggle to hit the Minimize button with your mouse or try to switch to some other app or hit Ctrl+M or (and I have seen this happen) just turn off the screen. Now I just hit the Windows Key and voila the entire screen is covered.&lt;/p&gt;  &lt;p&gt;And the concept of Tiles which display updates is also very useful.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Virtualization !&lt;/strong&gt; &lt;strong&gt;…&lt;/strong&gt; Virtualization on my workstation is a must have for me. A lot of people think virtualization is not something meant for a client OS.&lt;/p&gt;  &lt;p&gt;Fist it enables me to break and restore as many times as I need. I now have a Windows 2008 R2 server running virtualized on my Windows 8 machine. I can do all my risky experimentation on my VPC and even if I end up rendering the VPC unusable I can just restore back to an earlier snapshot.&lt;/p&gt;  &lt;p&gt;Since the host machine can be networked to the virtual PCs you can partition your software. Move all your heavy software like SQL Server to a virtual PC and it can be access by the host machine like a regular networked machine. The advantage ?… you can save /turn off the virtual PC releasing all the resources when not in use. &lt;/p&gt;  &lt;p&gt;You no longer have to deal with the limitations of Virtual PC or Virtual Box you get Hyper V with Windows 8.&lt;/p&gt;  &lt;p&gt;One problem with enabling Hyper V on Windows 2008 R2 was that the machine would no longer Sleep or Hibernate. With Windows 8 there are no such restrictions. I can just close my laptop lid and even with Virtual Machines running, the laptop goes into Sleep mode. You lift the lid and your virtual machines are up and running where you left them.&lt;/p&gt;  &lt;p&gt;For Hyper V you would need the Pro / Enterprise edition and a machine with SLAT. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Apps are not just for phones and tablets… &lt;/strong&gt;Initially you might be averse to Apps, the concept of having two different types of applications might sound a bit strange. For me the concept of Apps is simple … its controlled software. The last time you installed a game from the internet did you bother to check if it used your location information or connected to the network ? Not really right … now think of all the consequences because of that. When you download an app from the Store it clearly warns you about what the app can access … like use your internet connection. The Apps run in a Sandbox and that way are very safe. We all download small apps like games or utilities from unknown sources… doing it from the Store is safer as all Apps in the Store are verified.&lt;/p&gt;  &lt;p&gt;For me the most used App is the Reader. You no longer have to install a software for reading PDFs. I no longer have to choose between Adobe and FoxIt … I love the simplicity of the Reader.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Multitask Without Interruptions…&lt;/strong&gt;The Snap View is very useful for multitasking. You can keep an eye on the stock market while doing you regular work on your Desktop.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The Duplicates…&lt;/strong&gt; One thing that you might find strange is that you now have two Internet Explorers. But what I have seen is that depending on who uses the computer eventually one will take over. For me the Desktop IE is the preferred choice because some of our corp websites require ActiveX plugins. But on my home PC the new IE gets used a lot. The new IE is better both in terms of presentation and safety. Having duplicates is not a big deal … a lot of people install multiple browsers and media players on their desktop but eventually.&lt;/p&gt;  &lt;p&gt;The simple things like &lt;strong&gt;Using Corners&lt;/strong&gt; instead of button clicks saves you a lot of time. And its doesn't take long to adapt to it. &lt;/p&gt;  &lt;p&gt;One feature I always missed was the ability to mount ISOs. Now with Windows 8 you can mount ISO files and VHDs easily.&lt;/p&gt;  &lt;p&gt;Windows 8 has a lot of features in it for both the power user and a normal user.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Its Smarter than you think… &lt;/strong&gt;I was pleasantly surprised by what Windows 8 does in the background.&amp;#160; I have been using Windows 8 for nearly two months now and my disks have 0 fragmentation… which basically means better performance. The best part is I never knew when it defragmented those disks (until of course I looked at the Last Run column) because it never interrupted my work and carried out this maintenance work when the machine was idle.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/2112.image_5F00_4D19ABBC.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0045.image_5F00_thumb_5F00_64D0E322.png" width="636" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Even without all the Touch goodness Windows 8 still puts on a great show.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10356940" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=0FabP2dQi4g:htrMHF6BuXA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=0FabP2dQi4g:htrMHF6BuXA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=0FabP2dQi4g:htrMHF6BuXA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=0FabP2dQi4g:htrMHF6BuXA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=0FabP2dQi4g:htrMHF6BuXA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/0FabP2dQi4g" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/Windows/">Windows</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/06/windows-8-is-the-super-workstation-os-i-had-been-waiting-for.aspx</feedburner:origLink></item><item><title>BizTalk–Map Incoming Message to a string Field</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/qh7zhx1W_E8/biztalk-map-incoming-message-to-string-field.aspx</link><pubDate>Tue, 02 Oct 2012 16:40:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10355193</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10355193</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10355193</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/10/02/biztalk-map-incoming-message-to-string-field.aspx#comments</comments><description>&lt;p&gt;In a recent project I worked, one of the requirements was to copy the entire incoming message to a String Field.&lt;/p&gt;  &lt;p&gt;Consider the incoming message &lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;ns0:TestNode xmlns:ns0=&amp;quot;&lt;a href="http://testEnvelope.SourceSchema&amp;quot;"&gt;http://testEnvelope.SourceSchema&amp;quot;&lt;/a&gt;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt; FieldOne&amp;gt;FieldOne_0&amp;lt;/FieldOne&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt; FieldTwo&amp;gt;FieldTwo_0&amp;lt;/FieldTwo&amp;gt;       &lt;br /&gt;&amp;lt; /ns0:TestNode&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;This would have to be mapped to &lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;ns0:Root xmlns:ns0=&amp;quot;&lt;a href="http://testEnvelope.DestinationSchema&amp;quot;"&gt;http://testEnvelope.DestinationSchema&amp;quot;&lt;/a&gt;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt; IncomingMsg&amp;gt;IncomingMessageXML&amp;lt;/IncomingMsg&amp;gt;       &lt;br /&gt;&amp;lt; /ns0:Root&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;so the output message should look like &lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;ns0:Root xmlns:ns0=&amp;quot;&lt;a href="http://testEnvelope.DestinationSchema&amp;quot;"&gt;http://testEnvelope.DestinationSchema&amp;quot;&lt;/a&gt;&amp;gt;       &lt;br /&gt;&amp;#160; &amp;lt; IncomingMsg&amp;gt;&amp;lt;ns0:TestNode xmlns:ns0=&amp;quot;&lt;a href="http://testEnvelope.SourceSchema&amp;quot;"&gt;http://testEnvelope.SourceSchema&amp;quot;&lt;/a&gt;&amp;gt; &amp;lt;FieldOne&amp;gt;FieldOne_0&amp;lt;/FieldOne&amp;gt; &amp;lt;FieldTwo&amp;gt;FieldTwo_0&amp;lt;/FieldTwo&amp;gt; &amp;lt;/ns0:TestNode&amp;gt;&amp;lt;/IncomingMsg&amp;gt;       &lt;br /&gt;&amp;lt; /ns0:Root&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4721.image_5F00_080930E4.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7455.image_5F00_thumb_5F00_4B90BC39.png" width="851" height="180" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In the BizTalk Mapper you cannot just map a node to the output field. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8424.image_5F00_21610E51.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8422.image_5F00_thumb_5F00_4D9D9535.png" width="710" height="147" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Well you can but the output is always going to be an empty field as shown below.&lt;/p&gt;  &lt;div style="background-color: gainsboro;"&gt;   &lt;p&gt;&amp;lt;ns0:Root xmlns:ns0=&amp;quot;&lt;a href="http://testenvelope.destinationschema%22/"&gt;http://testEnvelope.DestinationSchema&amp;quot;&lt;/a&gt;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160; &amp;lt;IncomingMsg/&amp;gt;       &lt;br /&gt;&amp;lt; /ns0:Root&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;To achieve this you will have to make use of Scripting Functoids as follows&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0676.image_5F00_36FB46EE.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3125.image_5F00_thumb_5F00_7C339E17.png" width="714" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The first Functoid defines a C# function that takes a NodeIterator as the input and returns the OuterXml.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/8510.image_5F00_0855183F.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7851.image_5F00_thumb_5F00_382FBA00.png" width="711" height="457" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The second Functoid uses XSLT to map the incoming message to the string field called IncomingMsg in the output message. To achieve this it calls the NodeToString function that is defined in the previous Functoid. We pass it &lt;strong&gt;/TestNode&lt;/strong&gt; which is the root node of the incoming message.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0412.image_5F00_15F7AE7A.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3323.image_5F00_thumb_5F00_0191E8EF.png" width="807" height="387" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Since the first Functoid is just being used as a place holder to hold the C# function you will receive the following warning when you test the map in Visual Studio. But it can be ignored.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3858.image_5F00_425A6306.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7266.image_5F00_thumb_5F00_4E7BDD2D.png" width="873" height="111" /&gt;&amp;#160;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10355193" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qh7zhx1W_E8:0f2OvAFbZuI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qh7zhx1W_E8:0f2OvAFbZuI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qh7zhx1W_E8:0f2OvAFbZuI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=qh7zhx1W_E8:0f2OvAFbZuI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=qh7zhx1W_E8:0f2OvAFbZuI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/qh7zhx1W_E8" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/BizTalk/">BizTalk</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/10/02/biztalk-map-incoming-message-to-string-field.aspx</feedburner:origLink></item><item><title>RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon)</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/xV9_jwyYwMw/rfc-error-logon-failure-saperrormessage-name-or-password-is-incorrect-repeat-logon.aspx</link><pubDate>Thu, 27 Sep 2012 11:45:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10353757</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10353757</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10353757</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/09/27/rfc-error-logon-failure-saperrormessage-name-or-password-is-incorrect-repeat-logon.aspx#comments</comments><description>&lt;p&gt;While trying to connect to a SAP server from Visual Studio - Consume Adapter Service,&amp;#160; you might encounter the following error&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Microsoft.ServiceModel.Channels.Common.ConnectionException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon).&amp;#160; AdapterErrorMessage=. ---&amp;gt; Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon).&amp;#160; AdapterErrorMessage=.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/6518.image_5F00_1A767119.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5037.image_5F00_thumb_5F00_56DEBFF6.png" width="473" height="103" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This &lt;strong&gt;need not be&lt;/strong&gt; a username/password issue. The BizTalk SAP Adapter uses the SAP RFC SDK to communicate with the SAP Server. There are different version available 6.4, 7.0 and 7.1&lt;/p&gt;  &lt;p&gt;Looking at the versions, the machine on which we had this issue had the 6.4 version of the SDK. You can figure out the version of the SAP RFC SDK by looking at the version of librfc32u.dll&lt;/p&gt;  &lt;p&gt;We upgraded the SDK to version 7.1 and were able to connect to the SAP Server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10353757" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=xV9_jwyYwMw:owxFfe4avjI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=xV9_jwyYwMw:owxFfe4avjI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=xV9_jwyYwMw:owxFfe4avjI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=xV9_jwyYwMw:owxFfe4avjI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=xV9_jwyYwMw:owxFfe4avjI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/xV9_jwyYwMw" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/BizTalk/">BizTalk</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/09/27/rfc-error-logon-failure-saperrormessage-name-or-password-is-incorrect-repeat-logon.aspx</feedburner:origLink></item><item><title>.NET 4.5  - Information of Caller Function (Caller Attributes in .NET 4.5)</title><link>http://feedproxy.google.com/~r/msdn/vijaysk/~3/gk3dPQBnMI8/net-4-5-information-of-caller-function-caller-attributes-in-net-4-5.aspx</link><pubDate>Thu, 27 Sep 2012 06:40:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10353678</guid><dc:creator>Shinva</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/vijaysk/rsscomments.aspx?WeblogPostID=10353678</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/vijaysk/commentapi.aspx?WeblogPostID=10353678</wfw:comment><comments>http://blogs.msdn.com/b/vijaysk/archive/2012/09/27/net-4-5-information-of-caller-function-caller-attributes-in-net-4-5.aspx#comments</comments><description>&lt;p&gt;While debugging code “Who called my function ?” is&amp;#160; a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or&amp;#160; a debugger or the most common Exception.StackTrace. .NET 4.5 has added a new feature with which a function can now know who is calling it. The function being invoked can now know the origin of its call … that would include the Function name, File name and the Line number from where the call originated. Developers can now tap this information to provide useful debugging information. These features are part of the &lt;strong&gt;System.Runtime.CompilerServices&lt;/strong&gt; namespace. Here is a sample and its output&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3872.image_5F00_0152046A.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/6082.image_5F00_thumb_5F00_04374350.png" width="1028" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5025.image_5F00_23D5F74B.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4848.image_5F00_thumb_5F00_41D4053F.png" width="816" height="136" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So in &lt;strong&gt;MyTestFunction&lt;/strong&gt; you can now see that the &lt;strong&gt;Main&lt;/strong&gt; function in &lt;strong&gt;Program.cs&lt;/strong&gt; called it from Line 14. The developer can log this as additional information for debugging.&lt;/p&gt;  &lt;p&gt;You do this by defining three parameters for your function that will hold your Caller data. You then use the &lt;strong&gt;CallerMemberName&lt;/strong&gt;, &lt;strong&gt;CallerFilePath&lt;/strong&gt; and &lt;strong&gt;CallerLineNumber&lt;/strong&gt; attributes which are part of the &lt;strong&gt;System.Runtime.CompilerServices&lt;/strong&gt; namespace to decorate the arguments of your function.&lt;/p&gt;  &lt;p&gt;And in your function these three parameters will now have the Caller function details populated each time the function is invoked.&lt;/p&gt;  &lt;p&gt;The way this is implemented is using the &lt;strong&gt;Optional parameters&lt;/strong&gt; feature which was introduced in .NET 4. Take a look at the MSIL for the above code&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0333.image_5F00_43C15448.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5025.image_5F00_thumb_5F00_4F769B7A.png" width="805" height="171" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The three parameters that we decorated using the Caller attributes are marked as Optional and in the beginning of the function are loaded with the Caller details.&lt;/p&gt;  &lt;p&gt;Which basically means you can also do this.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0245.image_5F00_6D087679.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/7673.image_5F00_thumb_5F00_037B1501.png" width="761" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Here instead of leaving those optional parameters to the defaults I am explicitly passing them values. And the output will display the values I passed.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/0638.image_5F00_40BBC9C8.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/3056.image_5F00_thumb_5F00_656CE13F.png" width="814" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Just to show that these are normal optional parameters. And be aware that the developer of the caller function can accidently or intentionally overwrite these values.&lt;/p&gt;  &lt;p&gt;This feature need not be limited to just providing debugging information you can also take decisions based on the Caller&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/4431.image_5F00_2A390574.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-75-21-metablogapi/5428.image_5F00_thumb_5F00_72371190.png" width="771" height="427" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;A very useful feature in .NET 4.5 where your functions can now know details of the Caller function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10353678" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=gk3dPQBnMI8:zm4ww8d2PQM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=gk3dPQBnMI8:zm4ww8d2PQM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=gk3dPQBnMI8:zm4ww8d2PQM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/msdn/vijaysk?a=gk3dPQBnMI8:zm4ww8d2PQM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/msdn/vijaysk?i=gk3dPQBnMI8:zm4ww8d2PQM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/msdn/vijaysk/~4/gk3dPQBnMI8" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/Debug/">Debug</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/-NET/">.NET</category><category domain="http://blogs.msdn.com/b/vijaysk/archive/tags/C_2300_/">C#</category><feedburner:origLink>http://blogs.msdn.com/b/vijaysk/archive/2012/09/27/net-4-5-information-of-caller-function-caller-attributes-in-net-4-5.aspx</feedburner:origLink></item></channel></rss>
