<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code-diesel &#187; microsoft</title>
	<atom:link href="http://www.codediesel.com/category/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codediesel.com</link>
	<description>/* PHP &#38; MySQL Journal */</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:19:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Debugging HTTP traffic using Fiddler</title>
		<link>http://www.codediesel.com/microsoft/debugging-http-traffic-using-fiddler/</link>
		<comments>http://www.codediesel.com/microsoft/debugging-http-traffic-using-fiddler/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 11:23:45 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.codediesel.com/?p=1636</guid>
		<description><![CDATA[debugging http traffic using Microsoft fiddler]]></description>
			<content:encoded><![CDATA[<p>Microsoft <a href="http://www.fiddler2.com/fiddler2/" rel="nofollow" target="_blank" >Fiddler</a> is a HTTP debugging proxy that lets you log all HTTP traffic between your computer and the internet. Fiddler lets you to inspect all HTTP traffic, set breakpoints, and &#8220;fiddle&#8221; with incoming or outgoing HTTP data. To run Fiddler you require a Windows machine with .NET 1.1 framework installed.<br />
<span id="more-1636"></span></p>
<h4>How Fiddler works</h4>
<p>The proxy bascially sits between the Windows WinINET interface and the internet. WinInet is high level API to work with HTTP, FTP, and Gopher protocols.</p>
<p><a href="http://www.codediesel.com/wp-content/uploads/2009/10/fiddler-archi.gif"><img src="http://www.codediesel.com/wp-content/uploads/2009/10/fiddler-archi.gif" alt="fiddler-archi" title="fiddler-archi" width="408" height="156" class="aligncenter size-full wp-image-1639" /></a></p>
<h4>Installing Fiddler</h4>
<p>Fiddler is an HTTP Proxy running on port 8888 on your local PC. You can configure any application which accepts a HTTP Proxy to run through Fiddler so you can debug the particular applications traffic. WinINET-based applications (E.g. Microsoft Office, Internet Explorer, etc) should automatically use Fiddler while it&#8217;s running and the &#8220;Capture Traffic&#8221; box is checked on the Fiddler File menu. </p>
<p>Current versions of Internet Explorer, Google Chrome, Apple Safari, and Opera all automatically use Fiddler when Fiddler is configured to Capture Traffic. </p>
<p>If your browser does not automatically use a proxy then you can configure it to point to address: 127.0.0.1, port: 8888.</p>
<h4>Logging with Fiddler</h4>
<p>You can easily log HTTP traffic using Fiddler to track down bugs from your browser or website and save it to a file. This can be quite handy if you need to send the logs to the testing team.</p>
<h4>Transfer timelines</h4>
<p>Like many other browser addons, Fiddler also supports transfer timelines.</p>
<p><a href="http://www.codediesel.com/wp-content/uploads/2009/10/fiddler-timeline.gif"><img src="http://www.codediesel.com/wp-content/uploads/2009/10/fiddler-timeline.gif" alt="fiddler-timeline" title="fiddler-timeline" width="431" height="275" class="aligncenter size-full wp-image-1646" /></a></p>
<h4>Extending Fiddler Using Rules</h4>
<p>Fiddler lets you modify its HTTP request or response by using the JScript.NET scripting language. You can also write your own plugins to change Fiddlers behavior in any .NET language. Sadly being from the php camp I do not have much experience there.</p>
<h4>Text Encode/Decode Wizard</h4>
<p>I specially like the &#8216;Text Wizard&#8217; which lets you process text in a variety of formats. You can encode/decode data using: Base64, URLEncode, HexEncode, JS string, HTML Encode, UTF-7, Deflated SAML.</p>
<h4>HTTP Performance tuning</h4>
<p>The author of Fiddler, Eric Lawrence, has an excellent <a href="http://msdn.microsoft.com/en-us/library/bb250442(VS.85).aspx" rel="nofollow" target="_blank" >article</a> that goes into the details on HTTP performance tuning.</p>
<h4>Fiddler in a Nutshell</h4>
<p>Fiddler is an excellent tool for both troubleshooting client/server applications and tweaking the performance of web applications. There are many more things you can do with Fiddler for which this post cannot do justice. Fiddler gives you an inside view into the mechanics of HTTP requests and responses, allowing you to understand what your application is doing. With that knowledge under your belt, you can write better, faster, and lighter applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codediesel.com/microsoft/debugging-http-traffic-using-fiddler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft URLScan and POST problem</title>
		<link>http://www.codediesel.com/microsoft/microsoft-urlscan-and-post-problem/</link>
		<comments>http://www.codediesel.com/microsoft/microsoft-urlscan-and-post-problem/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 13:06:57 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[iis]]></category>

		<guid isPermaLink="false">http://www.codediesel.com/?p=1438</guid>
		<description><![CDATA[Microsoft urlscan]]></description>
			<content:encoded><![CDATA[<p>I recently encountered a problem on a clients Windows 2000 server SP4, who had a php site installed on IIS 5.0. But it was showing a strange behavior. Pages pushing data via POST were not getting processed, rather it was throwing a 404 error. Obviously it was because the allowed verbs in IIS were limited to <em>GET</em> and <em>HEAD</em> only. So the simple solution was changing the allowed verbs to include POST in the IIS administration panel. But as always happens, it was easier said than done. The problem was that IIS wouldn&#8217;t start; splashing an ugly &#8216;<em>unable to connect to the machine</em>&#8216; error. Microsoft knowledge base suggested some changes to the registry; but I could not mess with that solution, as the site was live.<br />
<span id="more-1438"></span><br />
After digging around for a couple of minutes more I found that the particular IIS was protected by the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=DDE9EFC0-BB30-47EB-9A61-FD755D23CDEC&#038;displaylang=en" rel="nofollow" target="_blank" >IIS Lockdown</a> tool. I did not want to uninstall the tool, which would mean losing the security setting. I found that the tool also used the <a href="http://technet.microsoft.com/en-us/security/cc242650.aspx" rel="nofollow" target="_blank" >URLScan</a> security tool, which restricts the types of HTTP requests that Internet Information Services (IIS) will process. To my relief it uses a .ini file for configuration, so it was just a matter of editing the config file and voila! the POST problem was resolved.</p>
<p>The URLScan.ini file is located at : %windir%\System32\Inetsrv\Urlscan. And all you have to do is add the POST verb in the allowed verbs section.</p>

<div class="wp_codebox"><table><tr id="p14381"><td class="code" id="p1438code1"><pre class="text" style="font-family:monospace;">[AllowVerbs]
&nbsp;
;
; The verbs (aka HTTP methods) listed here are those commonly
; processed by a typical IIS server.
;
; Note that these entries are effective if &quot;UseAllowVerbs=1&quot;
; is set in the [Options] section above.
;
&nbsp;
GET
HEAD
POST</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.codediesel.com/microsoft/microsoft-urlscan-and-post-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 WebSlices</title>
		<link>http://www.codediesel.com/microsoft/ie8-webslices/</link>
		<comments>http://www.codediesel.com/microsoft/ie8-webslices/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 05:59:19 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.codediesel.com/?p=84</guid>
		<description><![CDATA[WebSlices, what? Internet Explorer 8 has introduced a new feature, WebSlices. In a nutshell, WebSlices enable websites to connect with users by allowing them subscribe to content directly within a webpage. WebSlices behave just like RSS feeds, but instead of subscribing to XML feeds you subscribe to portions of a particular website and receive updates [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.codediesel.com/wp-content/uploads/2008/08/ie84.gif"><img class="alignleft size-full wp-image-88" style="border:1px solid #c0c0c0;" title="ie84" src="http://www.codediesel.com/wp-content/uploads/2008/08/ie84.gif" alt="ie 8 webslices" width="347" height="102" /></a><strong>WebSlices, what?</strong><br />
Internet Explorer 8 has introduced a new feature, WebSlices. In a nutshell, WebSlices enable websites to connect with users by allowing them subscribe to  content directly within a webpage. WebSlices behave just like RSS feeds, but instead of subscribing to XML feeds you subscribe to portions of a particular website and receive updates when the content  changes. The slices corresponding to a particular website are polled at user-defined intervals to keep the content fresh.</p>
<p>With the help of WebSlices you can keep your users connected to your site. Any content on your site that regularly changes can be tagged as a WebSlice. For e.g products, horoscopes, weather, stocks, news, photos.</p>
<p><span id="more-84"></span>For example ebay has a search page for ie8 that supports WebSlice. Lets say I have to track a particular product on eBay for bid amount and other details. Whenever you navigate to a website that supports WebSlice a discovery button highlights as show below for the following url: http://ie8.ebay.com/</p>
<p><a href="http://www.codediesel.com/wp-content/uploads/2008/08/ie81.gif"><img class="aligncenter size-full wp-image-85" style="border:1px solid #c0c0c0;" title="ie81" src="http://www.codediesel.com/wp-content/uploads/2008/08/ie81.gif" alt="" width="469" height="106" /></a></p>
<p>Now whenever you hover over a portion of a WebSlice, a icon pops up which you can click so as to add the WebSlice to your favorites bar.</p>
<p><a href="http://www.codediesel.com/wp-content/uploads/2008/08/ie82.gif"><img class="aligncenter size-full wp-image-86" style="border:1px solid #c0c0c0;" title="ie82" src="http://www.codediesel.com/wp-content/uploads/2008/08/ie82.gif" alt="" width="469" height="166" /></a></p>
<p>Shown below is the WebSlice for the above link.</p>
<p><a href="http://www.codediesel.com/wp-content/uploads/2008/08/ie83.gif"><img class="aligncenter size-full wp-image-87" style="border:1px solid #c0c0c0;" title="ie83" src="http://www.codediesel.com/wp-content/uploads/2008/08/ie83.gif" alt="" width="469" height="274" /></a></p>
<p>Whenever the content for this particular portion changes, the corresponding WebSlice is automatically updated. Now I don&#8217;t have to visit eBay to see the latest update on the product I&#8217;m interested in. I get to see the updates on the particular WebSlice. Whenever the slice content is updated the title of the slice on the favorites bar turns to bold.</p>
<p>The HTML that is displayed in the WebSlices details view comes from the description property of a WebSlice, which is set by the developer during design. The preview window has limited ability though; for example, the window allows no scripting or form controls.</p>
<p><strong>Creating your own WebSlices:</strong><br />
You just have to wrap whatever content that you want to become a WebSlice in a div tag, and set the class name for the div as &#8216;hslice&#8217;.</p>
<p>There are a few sub elements that you can use to further define the WebSlice: ‘entry-title’, ‘entry-content’ and &#8216;ttl&#8217; … among others.</p>

<div class="wp_codebox"><table><tr id="p843"><td class="code" id="p84code3"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;1&quot; class=&quot;hslice&quot;&gt;
&lt;p class=&quot;entry-title&quot;&gt;Item - $80.00&lt;/p&gt;
&nbsp;
&lt;div class=&quot;entry-content&quot;&gt;high bidder: buyer9 …&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p><strong>Conclusion:</strong><br />
At first it looked a little unremarkable but after trying some examples myself I think it could be a neat feature to add to your web pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codediesel.com/microsoft/ie8-webslices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Live Mesh. The exciting world ahead!</title>
		<link>http://www.codediesel.com/microsoft/microsoft-live-mesh/</link>
		<comments>http://www.codediesel.com/microsoft/microsoft-live-mesh/#comments</comments>
		<pubDate>Mon, 05 May 2008 10:55:55 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.codediesel.com/?p=31</guid>
		<description><![CDATA[The basic principle: To make this multi-device world easier for users and developers. Microsoft Live Mesh is a “software-plus-services” platform that enables PCs, mobiles and other devices to work with each other through the Internet, enabling individuals and organizations to manage, access, share and sync their files, data and applications seamlessly on the Web and [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span style="color: #993300;"><strong>The basic principle</strong></span>: To make this multi-device world easier for users and developers.</p>
<p class="MsoNormal">Microsoft <a href="http://www.mesh.com" rel="nofollow" title="microsoft live mesh"  target="_blank">Live Mesh</a> is a “software-plus-services” platform that enables PCs, mobiles<span> </span>and other devices to work with each other through the Internet, enabling individuals and organizations to manage, access, share and sync their files, data <span> </span>and applications seamlessly on the Web and across their world of devices. Live Mesh is a Software + Services platform rather then an application.<span id="more-31"></span></p>
<p class="MsoNormal"><a href="http://www.codediesel.com/wp-content/uploads/2008/05/livemesh.gif"><img class="aligncenter size-full wp-image-34" title="microsoft live mesh" src="http://www.codediesel.com/wp-content/uploads/2008/05/livemesh.gif" alt="microsoft live mesh" width="388" height="387" /></a></p>
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal"><span style="color: #993300;"><strong>Main design goals</strong></span>:<br />
1. To make various devices work together.<br />
2. Your data and applications available from anywhere<br />
3. Make sharing and collaborating with people easier.<br />
4. The information you need to stay up-to-date is always available and in sync with other devices.</p>
<p class="MsoNormal">
<p class="MsoNormal">While many existing web solutions may appear similar in that they utilize hosted services for storage, sharing files, or peer-to-peer connections between PCs, most of those products fulfill only one specific need. What makes Live Mesh different is that it brings all this disparate technologies together seamlessly.</p>
<p class="MsoNormal">
<p class="MsoNormal"><span style="color: #993300;"><strong>So what are the benefits for the end user?</strong></span></p>
<p><strong>Devices Working Together: </strong><span>You can share and synchronize your applications and documents across the web and devices.</span> <strong></strong></p>
<p><strong>Anywhere Access: </strong>The information you put in your mesh is available from any of your other devices, including your own personal Live Desktop that resides on the Web. The Live Desktop comes with a 5GB space when you signup. The Mesh also provides you with a remote desktop functionality in case you need to take full control of a PC remotely.</p>
<p><strong>Simple to Share: </strong>With Live Mesh, you can simply invite a friend or colleague to share a folder, giving them access to view or edit only the files you put in the folder. Live Mesh keeps track of and synchronizes the changes across your mesh.</p>
<p><strong>Stay Informed: </strong>Live Mesh has a feed system that allows you to keep track of all the activities you care about, including the online status of your friends or colleagues, comments they make, changes to files and folders in your mesh, and the status of your devices.</p>
<p class="MsoNormal"><span style="color: #993300;"><strong>Where do developers fit in?</strong></span></p>
<p class="MsoNormal">As said above, Live Mesh is a platform. So developers will be able to build applications using the Live Mesh SDK.  For example you could create a Facebook application that syncs your photos with the mesh. The application thus build will be available on the users mesh, so the user could view it on their PCs, mobile devices, web or any future device that Microsoft adds support for. You can learn more about the Live Mesh architecture <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=399577" rel="nofollow" title="live mesh architecture"  target="_blank">here</a> and mesh application demo <a href="http://channel9.msdn.com/Showpost.aspx?postid=399964" rel="nofollow" title="mesh application demo"  target="_blank">here</a>.<a title="programming the mesh" href="http://channel9.msdn.com/Showpost.aspx?postid=399964" target="_blank"><br />
</a></p>
<p class="MsoNormal"><span style="color: #993300;"><strong>Will it work?</strong></span><br />
In my humble opinion Microsoft is on the right path in making “<a href="http://en.wikipedia.org/wiki/Cloud_computing" rel="nofollow" title="cloud computing"  target="_blank">cloud computing</a>” a reality. Mesh is at present only in a preview mode, so expect more changes in the future as Microsoft gets user feedbacks. As a developer I&#8217;am waiting to get my hands on the SDK.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codediesel.com/microsoft/microsoft-live-mesh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

