<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>This Old Code</title>
  <link rel="alternate" type="text/html" href="http://thisoldcode.net/" />
  <link rel="self" href="http://thisoldcode.net/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2009-07-02T12:26:22.4898581-07:00</updated>
  <author>
    <name>Aaron Fischer</name>
  </author>
  <subtitle>(Architecture + Development) ^ Testing = Product </subtitle>
  <id>http://thisoldcode.net/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>SQL I Forget</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,e1989948-c8eb-4852-9717-bd9e535d272a.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,e1989948-c8eb-4852-9717-bd9e535d272a.aspx</id>
    <published>2009-07-02T12:26:22.4898581-07:00</published>
    <updated>2009-07-02T12:26:22.4898581-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I tend to forget how to insert into another table from selecting the data form another
table so here is an upgrade snippet for next time.
</p>
        <br />
        <pre class="csharpcode"> </pre>
        <pre class="csharpcode">INSERT <span class="kwrd">INTO</span> [FieldExplorer].[dbo].[Field_Guide_Annotations]
([Record_ID],[<span class="kwrd">Value</span>],[Type],[Table_ID]) <span class="kwrd">Select</span> [Id],
[Definition], 0,6 <span class="kwrd">From</span> [FieldExplorer].[dbo].[Field_Details] <span class="kwrd">Where</span> [Definition] <span class="kwrd">is</span><span class="kwrd">not</span><span class="kwrd">NULL</span></pre>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=e1989948-c8eb-4852-9717-bd9e535d272a" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>Visual Studio 2010 Box insert/editing</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,779f4f42-c680-4426-912d-cabc83b8e833.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,779f4f42-c680-4426-912d-cabc83b8e833.aspx</id>
    <published>2009-06-22T07:27:34.5450992-07:00</published>
    <updated>2009-06-22T07:27:34.5450992-07:00</updated>
    <content type="html">&lt;p&gt;
This is defiantly going to be one of my favorite new ide features.
&lt;/p&gt;
&lt;embed src="http://images.video.msn.com/flash/soapbox1_1.swf" width="432" height="364" id="l6gde09r" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" pluginspage="http://macromedia.com/go/getflashplayer" flashvars="c=v&amp;v=3e57917d-1b92-4188-b898-25a1d64a408e&amp;ifs=true&amp;fr=shared&amp;mkt=en-US"&gt;&lt;/embed&gt;
&lt;noembed&gt;&lt;a href="http://video.msn.com/?mkt=en-US&amp;amp;playlist=videoByUuids:uuids:3e57917d-1b92-4188-b898-25a1d64a408e&amp;amp;showPlaylist=true&amp;amp;from=shared" target="_new" title="Box Selection and Multi-Line Editing Demo"&gt;Video:
Box Selection and Multi-Line Editing Demo&lt;/a&gt;
&lt;/noembed&gt;
&lt;p&gt;
Via &lt;a href="http://blogs.msdn.com/coding4fun/archive/2009/06/21/9797162.aspx"&gt;Coding
4 Fun&lt;/a&gt;, &lt;a href="http://blog.filipfracz.net/post/2009/06/05/Pleasant-surprise-from-Microsoft.aspx"&gt;Filip’s
Corner&lt;/a&gt;P&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=779f4f42-c680-4426-912d-cabc83b8e833"/&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</content>
  </entry>
  <entry>
    <title>Missing Exception details for System.IO.FileInfo.Replace</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,fb85b396-97c8-43db-a9e8-5b153a3f81ff.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,fb85b396-97c8-43db-a9e8-5b153a3f81ff.aspx</id>
    <published>2009-03-26T07:34:50.2325646-07:00</published>
    <updated>2009-03-26T07:34:50.2325646-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Under the remarks section for System.IO.File.Replace in the MSDN documentation there
is mention that an exception will be thrown  if the volume(drive) is different
between the source and destination paths.
</p>
        <blockquote>
          <p>
If the sourceFileName and destinationFileName are on different volumes, this method
will raise an exception.
</p>
        </blockquote>
        <p>
There is no mention in the exception section what type of <b>System.IO.IOException
you will receive in this case.
</b></p>
        <p>
I found that when the volume for the destination and the source files differ you will
receive:
</p>
        <blockquote>
          <p>
System.IO.IOException: Unable to move the replacement file to the file to be replaced.
The file to be replaced has retained its original name.
</p>
        </blockquote>
        <p>
System.IO.FileInfo.Replace will also throw the above exception when the destination
volume differs from the source file’s volume.  However the Documentation for
System.IO.FileInfo.Replace makes no mention of this error condition.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=fb85b396-97c8-43db-a9e8-5b153a3f81ff" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>A Truly Local Web Site</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,4ed173d5-d1fd-45c3-8d44-f2b2a92b8b12.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,4ed173d5-d1fd-45c3-8d44-f2b2a92b8b12.aspx</id>
    <published>2009-03-20T15:46:05.7033857-07:00</published>
    <updated>2009-03-20T15:46:05.7033857-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I thought I would take a minute and tell you about my new favorite website <a href="http://www.somesite.com">www.somesite.com</a> it
took seconds for me to fall in love with it and I think if you are a web developer
working on your local box you will too.  Somesite.com and *Somesite.com resolves
to 127.0.0.1 in other words it can serve as a replacement for localhost.  
</p>
        <p>
I can’t find any  whois info the somesite.com domain so depend on it at your
own risk. 
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=4ed173d5-d1fd-45c3-8d44-f2b2a92b8b12" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>My WPF Control list</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,1339a982-633f-4b87-a024-07a31ee092a0.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,1339a982-633f-4b87-a024-07a31ee092a0.aspx</id>
    <published>2009-03-20T06:59:46.0618862-07:00</published>
    <updated>2009-03-20T06:59:46.0618862-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <ul>
          <li>
            <a href="http://j832.com/bagotricks/">Kevin's WPF Bag-o-Tricks</a>
          </li>
          <li>
            <a href="http://www.wiredprairie.us/journal/2006/09/wpf_decorators_build_your_own.html">Smart
Border</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/mscui/Release/ProjectReleases.aspx?ReleaseId=18699">Microsoft®
Health Common User Interface Control Toolkit</a>
          </li>
        </ul>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=1339a982-633f-4b87-a024-07a31ee092a0" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>My Silverlight Control list</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,79918ec5-6a37-4178-b795-4898a4cf5fed.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,79918ec5-6a37-4178-b795-4898a4cf5fed.aspx</id>
    <published>2009-03-20T06:55:27.3661082-07:00</published>
    <updated>2009-03-20T06:55:27.3661082-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <h2>Community
</h2>
        <ul>
          <li>
            <a href="http://community.netikatech.com/demos/">NETIKA - GOA Toolkit</a>
          </li>
          <li>
            <a href="http://www.visifire.com/silverlight_pie_charts_gallery.php">VISIfire Silverlight
&amp; WPF Charts</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/richtextedit">Silverlight rich text editor</a>
          </li>
          <li>
            <a href="http://www.vectorlight.net/controls.aspx">Vectorlight-Liquid Silverlight
Controls</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/VWGSilverlight">Silverlight applications in No Time
- Visual WebGui Framework</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/SilverlightP2P">Silverlight P2P Library</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/blacklight/">BlackLight</a>
          </li>
          <li>
            <a href="http://silverlight.net/samples/sl2/toolkitcontrolsamples/run/default.html">Silverlight
toolkit demo</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/Silverlight">silverlight toolkit</a>
          </li>
          <li>
            <a href="http://www.mscui.net/PatientJourneyDemonstrator/">Patient Journey Demonstrator</a>
          </li>
          <li>
            <a href="http://www.codeplex.com/mscui/Release/ProjectReleases.aspx?ReleaseId=18699">Microsoft®
Health Common User Interface Control Toolkit</a>
          </li>
          <li>
            <a href="http://silverlightcontrib.org">Silverlight Contrib</a> / <a href="http://www.slextensions.net">SilverLight
Extenxsions</a> (These are merging into one project) 
</li>
        </ul>
        <br />
        <h2>Third Party Silverlight controls
</h2>
        <ul>
          <li>
            <a href="http://www.componentone.com/SuperProducts/StudioSilverlight/">ComponentOne
- Studio for Silverlight</a>
          </li>
          <li>
            <a href="http://demos.telerik.com/silverlight/default.aspx">Telerik RadControls for
Silverlight</a>
          </li>
          <li>
            <a href="http://labs.infragistics.com/silverlight/lobsamples/">Infragistics- NetAdvantage
Silverlight</a>
          </li>
          <li>
            <a href="http://devexpress.com/Downloads/NET/OnlineDemos.xml">Devexpress - Silverlight
Controls</a>
          </li>
        </ul>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=79918ec5-6a37-4178-b795-4898a4cf5fed" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>BizSpark</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,a0429910-6d73-45bd-a94a-cfecb17d6e7b.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,a0429910-6d73-45bd-a94a-cfecb17d6e7b.aspx</id>
    <published>2009-03-19T22:46:07.2257162-07:00</published>
    <updated>2009-03-19T22:46:07.2257162-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I found this video on visitmix.com  outlining the Microsoft BizSpark program
which if you are a startup or contemplating becoming one you qualify for.  You
receive Microsoft products and support for 25 developers.  Your supposed to be
a private company but evidently if you still qualify if you will form a company with
in 12 months of signing up.  Check out the <a href="http://videos.visitmix.com/MIX09/B02M">full
video</a></p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=a0429910-6d73-45bd-a94a-cfecb17d6e7b" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>IE 8 second opinions</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,2e6d2e83-c3a9-4164-95b6-539749986ad5.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,2e6d2e83-c3a9-4164-95b6-539749986ad5.aspx</id>
    <published>2009-03-19T22:35:17.1892907-07:00</published>
    <updated>2009-03-19T22:35:17.1892907-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I installed IE 8 today.  you can down load it from <a href="http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx">http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx</a> 
over all I don’t see much difference.  I am disappointed they did not pick up
Chrome’s tear out tabs.  Disappointed that they didn’t add Opera’s fast forward. 
It’s nifty to have the developer tool bar in IE by default, though honestly who uses
that? why distribute it to all internet users?  web slices, is a proprietary
waste. I just want an unobtrusive browser.  I appreciate that while 8 breaks
several websites it is more standards compliant, this site renders better under 8
then 7 or 6.  
</p>
        <p>
Microsoft says ie 8 is just the beginning, which is good because they still have a
lot of catching up to do.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=2e6d2e83-c3a9-4164-95b6-539749986ad5" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>Leave the codebase cleaner than you found.</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,1265bcbc-b454-4835-b336-fe8dd267ea1c.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,1265bcbc-b454-4835-b336-fe8dd267ea1c.aspx</id>
    <published>2009-03-19T22:07:27.0108467-07:00</published>
    <updated>2009-03-19T22:07:27.0108467-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had a short hall way conversation with a co-worker regarding programming in the
real world.  Or in other words meeting your dead line at any cost.  His
contention was that in order to meet his dead line, it’s better to give up on layered
architecture and mix the  UI, business,  and data access.  That this
is fast and produced the desired end results. 
</p>
        <p>
I agree that his team is producing the desired end results, So it’s very difficult
to argue over code structure.  But This is a green field project, and already
no structure.  There is little doubt in my mind that at some point, a feature
will be dropped because the code/framework was just to much of an obstruction .  
</p>
        <p>
I think it is important to remember that the quality of our deliverables is in the
code as well as the GUI.   Maintenance counts.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=1265bcbc-b454-4835-b336-fe8dd267ea1c" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
  <entry>
    <title>Authorization &amp;ndash; Privilege &amp;ndash; Permission</title>
    <link rel="alternate" type="text/html" href="http://thisoldcode.net/PermaLink,guid,355d136c-9514-4006-86c0-eaac02f8cc4b.aspx" />
    <id>http://thisoldcode.net/PermaLink,guid,355d136c-9514-4006-86c0-eaac02f8cc4b.aspx</id>
    <published>2009-03-05T16:12:54.9195857-07:00</published>
    <updated>2009-03-05T16:12:54.9195857-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I wanted to create a list of useful design information for user access rights.  
This isn’t such a common term in the industry just in our office.  What we really
want to talk about is user authorization.  Authorization can be broken into two
main listings Access Control Lists(ACL) and Role Based Access Control(RBAC)
</p>
        <p>
 
</p>
        <p>
ACL
</p>
        <p>
          <a href="http://en.wikipedia.org/wiki/Access_control_list">Access control list</a>(wikipedia
)
</p>
        <p>
          <a href="http://stackoverflow.com/questions/12612/access-control-lists-access-control-objects-good-tutorial">Access
Control Lists &amp; Access Control Objects, good tutorial?</a>(stackoverflow)
</p>
        <p>
          <a href="http://c2.com/cgi/wiki?AccessControlList">Access Control List</a>
        </p>
        <p>
 
</p>
        <p>
RBAC
</p>
        <p>
          <a href="http://www.xaprb.com/blog/2006/08/16/how-to-build-role-based-access-control-in-sql/">How
to build role-based access control in SQL</a>
        </p>
        <p>
          <a href="http://msdn.microsoft.com/en-us/library/ms998336.aspx">How To: Use Authorization
Manager (AzMan) with ASP.NET 2.0</a>
        </p>
        <p>
          <a href="http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsAuthorizationManager.html">What
Is Authorization Manager</a>
        </p>
        <p>
          <a href="http://www.aspfree.com/c/a/C-Sharp/Implementing-Role-Based-Security-using-CSharp/">Implementing
Role Based Security using CSharp</a>
        </p>
        <p>
          <a href="http://msdn.microsoft.com/en-us/library/52kd59t0(VS.71).aspx#">Role-Based
Security</a>
        </p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=355d136c-9514-4006-86c0-eaac02f8cc4b" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.
</div>
    </content>
  </entry>
</feed>