<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Security</title>
        <link>http://blogs.imeta.co.uk/HHariri/category/56.aspx</link>
        <description>Security</description>
        <language>en-GB</language>
        <copyright>Hadi Hariri </copyright>
        <generator>Subtext Version 2.1.1.1</generator>
        <item>
            <title>Integrating OpenID and ASP.NET MVC</title>
            <link>http://blogs.imeta.co.uk/HHariri/archive/2008/12/28/integrating-openid-and-asp.net-mvc.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://openid.net/"&gt;OpenID&lt;/a&gt; (Microsoft Passport done right), is gaining a lot of popularity and it's common to see it integrated into new and existing web sites. For those not familiar with OpenID, here's a quote from the web site:&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;For geeks, OpenID is an open, decentralized, free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing URIs into an account which can be used at sites which support OpenID logins.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I'm currently working on a project with ASP.NET MVC and since it requires a login, I decided to offer the option for users to use OpenID as a means of authentication. The "de-facto" library of choice it seems is &lt;a href="http://code.google.com/p/dotnetopenid/"&gt;.NET OpenID&lt;/a&gt; which is available on Google Code. It actually comes with a demo of how to use it with ASP.NET MVC but I have a feeling it was done with the very first CTP of MVC since there are direct accesses to the form object, etc. which isn't really necessary. Having said that, the library is extremely easy to use and I was up and running in about 5 mins. You can download the updated demo below. The code is extremely straight-forward, but if you have trouble understanding anything, just ping me.&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:8eb9d37f-1541-4f29-b6f4-1eea890d4876:423f6e32-27a9-4f1a-80b0-790a29ca965e" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;p /&gt;&lt;div&gt;&lt;a href="http://blogs.imeta.co.uk/images/blogs_imeta_co_uk/HHariri/WindowsLiveWriter/IntegratingOpenIDandASP.NETMVC_E4C9/OpenId.zip" target="_self"&gt;OpenId.zip&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://blogs.imeta.co.uk/HHariri/aggbug/552.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Hadi Hariri </dc:creator>
            <guid>http://blogs.imeta.co.uk/HHariri/archive/2008/12/28/integrating-openid-and-asp.net-mvc.aspx</guid>
            <pubDate>Sun, 28 Dec 2008 16:08:11 GMT</pubDate>
            <comments>http://blogs.imeta.co.uk/HHariri/archive/2008/12/28/integrating-openid-and-asp.net-mvc.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.imeta.co.uk/HHariri/comments/commentRss/552.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.imeta.co.uk/HHariri/services/trackbacks/552.aspx</trackback:ping>
        </item>
        <item>
            <title>MSTest "Not Executed" error</title>
            <link>http://blogs.imeta.co.uk/HHariri/archive/2008/07/08/302.aspx</link>
            <description>I'm testing out a new IoC container framework (more on that later), and so I decided to setup some tests to see how it works. As a "newbie" to MSTest (MbUnit / xUnit rules!), I wrote my tests, tried to run them and was presented with an error message:&lt;br /&gt;
&lt;br /&gt;
Failed to queue test run 'Hadi Hariri 2008-07-08 10:06:31': Test Run deployment issue: The location of the file or directory 'd:\.....\someAssembly.dll' is not trusted. &lt;br /&gt;
&lt;br /&gt;
Now D is my local drive, so go figure why suddenly an assembly I reference on my local disk is not trusted. Wel lit turns out that Vista, in all it's glory (I have a love-hate relationship with Vista, I love hating it all the time), decided to block this assembly and all other files I extracted from a zip file I downloaded. &lt;br /&gt;
&lt;br /&gt;
So if it happens to you, go to the assembly and unblock it. And of course, this is not something you can do by selecting multiple files at once. No, that would be WAY too dangerous! You need to do it one by one. Alternatively, delete the whole folder, unblock the zip file and then extract it.&lt;img src="http://blogs.imeta.co.uk/HHariri/aggbug/302.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Hadi Hariri</dc:creator>
            <guid>http://blogs.imeta.co.uk/HHariri/archive/2008/07/08/302.aspx</guid>
            <pubDate>Tue, 08 Jul 2008 08:23:58 GMT</pubDate>
            <comments>http://blogs.imeta.co.uk/HHariri/archive/2008/07/08/302.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blogs.imeta.co.uk/HHariri/comments/commentRss/302.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.imeta.co.uk/HHariri/services/trackbacks/302.aspx</trackback:ping>
        </item>
    </channel>
</rss>