<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>Utilities</title>
        <link>http://blog.eliseandtony.com/category/6.aspx</link>
        <description>Utilities</description>
        <language>en-US</language>
        <copyright>Tony Yates</copyright>
        <managingEditor>tony@anthonyyates.com</managingEditor>
        <generator>Subtext Version 2.0.0.43</generator>
        <item>
            <title>NStub, finished before it ever really started...</title>
            <link>http://blog.eliseandtony.com/archive/2007/05/13/NStub-finished-before-it-ever-really-started.aspx</link>
            <description>&lt;p&gt;The creator of NStub, Jeremy Jarrell (sometimes referred to his blog handle: &lt;a href="http://www.jeremyjarrell.com/Default.aspx"&gt;Digital Blasphemy&lt;/a&gt;), has just announce that &lt;a href="http://www.jeremyjarrell.com/archive/2007/05/11/29.aspx"&gt;NStub Beta 2 has been released&lt;/a&gt;. Unfortunately, he also says that that will not be any more effort going into that project. Thats too bad because its a cool idea! Expecially for lazy-ass programmers! Then again, it does kind of go against the point of TDD - write tests first, then code. Oh well... :-(&lt;/p&gt;&lt;img src="http://blog.eliseandtony.com/aggbug/7.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tony Yates</dc:creator>
            <guid>http://blog.eliseandtony.com/archive/2007/05/13/NStub-finished-before-it-ever-really-started.aspx</guid>
            <pubDate>Sun, 13 May 2007 21:06:09 GMT</pubDate>
            <wfw:comment>http://blog.eliseandtony.com/comments/7.aspx</wfw:comment>
            <comments>http://blog.eliseandtony.com/archive/2007/05/13/NStub-finished-before-it-ever-really-started.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blog.eliseandtony.com/comments/commentRss/7.aspx</wfw:commentRss>
            <trackback:ping>http://blog.eliseandtony.com/services/trackbacks/7.aspx</trackback:ping>
        </item>
        <item>
            <title>Machine Key Generator</title>
            <link>http://blog.eliseandtony.com/archive/2007/05/10/Machine-Key-Generator.aspx</link>
            <description>&lt;p&gt;So there I was, strolling along minding my own SharePoint custom Membership Provider business, when all of a sudden I ran across some information (issue???) about Client Integration and persistent cookies. Then there was more information about cookie timeouts, and what a hassle it is to recover from the timeout on a machine with a default machine key in the machine.config file. THEN, there was a &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q312906"&gt;link to a microsoft&lt;/a&gt; article that describes the process to create new keys for use in Forms Authentication. So, I thought to myself, "Self, feels like a good time to write a simple windows form application to easily do this." All the code is there, its just a matter of retrofitting it for a form.&lt;/p&gt;
&lt;p&gt;&lt;a atomicselection="true" href="http://blog.eliseandtony.com/images/blog_eliseandtony_com/WindowsLiveWriter/MachineKeyGenerator_F6C4/MachineKeyGenerator%5B7%5D.jpg"&gt;&lt;img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="117" alt="" width="300" border="0" src="http://blog.eliseandtony.com/images/blog_eliseandtony_com/WindowsLiveWriter/MachineKeyGenerator_F6C4/MachineKeyGenerator_thumb%5B3%5D.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;So, here it is in all its glory. The valid values for decryptionKey is 8 or 24. This creates a 16 byte key for Data Encryption Standard (DES) or a 48 byte key for Triple DES, respectively. Valid values for validationKey are 20 to 64. This creates keys from 40 to 128 bytes in length. The output from the code is an entire &amp;lt;machineKey&amp;gt; element that you can copy and paste into a Machine.config file. Simply right-click in the text box and choose copy, then past it in your machine.config. Easy, huh?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.eliseandtony.com/downloads/machinekeygenerator.zip "&gt;Download it here&lt;/a&gt; (Contains Source and Binaries for 32 and 64 bit).&lt;/p&gt;&lt;img src="http://blog.eliseandtony.com/aggbug/5.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tony Yates</dc:creator>
            <guid>http://blog.eliseandtony.com/archive/2007/05/10/Machine-Key-Generator.aspx</guid>
            <pubDate>Thu, 10 May 2007 15:33:23 GMT</pubDate>
            <wfw:comment>http://blog.eliseandtony.com/comments/5.aspx</wfw:comment>
            <comments>http://blog.eliseandtony.com/archive/2007/05/10/Machine-Key-Generator.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blog.eliseandtony.com/comments/commentRss/5.aspx</wfw:commentRss>
            <trackback:ping>http://blog.eliseandtony.com/services/trackbacks/5.aspx</trackback:ping>
        </item>
    </channel>
</rss>