<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Lautz of .NET - .NET</title>
    <link>http://www.malachicomputer.com/blog/</link>
    <description />
    <language>en-us</language>
    <copyright>Malachi Computer Consultants</copyright>
    <lastBuildDate>Tue, 13 Jul 2010 19:56:56 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>jason@malachicomputer.com</managingEditor>
    <webMaster>jason@malachicomputer.com</webMaster>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=521c7f93-210f-48ca-99a9-9269269fc785</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,521c7f93-210f-48ca-99a9-9269269fc785.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,521c7f93-210f-48ca-99a9-9269269fc785.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=521c7f93-210f-48ca-99a9-9269269fc785</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I ran into a situation where I needed to know what control was gaining focus in the
Leave() event of another control.  The situation I was working with is as follows; 
I have a multi-line text box that when it gains focus I want a listview of potential
values to popup below it.  When the textbox loses focus, the listview should
be hidden.   The user should be able to click on the listview to select
items to input into the textbox.  The problem was when the user clicked on the
listview, the textbox lost focus and was hiding the listview.  
</p>
        <p>
 
</p>
        <p>
Enter the ActiveControl property on the form.  This handy property allows me
to check, in the Leave() event, what is the new active control with focus.  Thus
I can check to see if the textbox lost the focus to the listview control and if so,
skip the hiding of it.  
</p>
        <p>
 
</p>
        <p>
Here we have the textbox named txtComplaint, when it gets the focus we make listView
visible.
</p>
        <p>
 
</p>
        <pre class="code">
          <span style="color: blue">private void </span>txtComplaint_Enter(<span style="color: blue">object </span>sender,
System.<span style="color: #2b91af">EventArgs </span>e) { listView.Visible = <span style="color: blue">true</span>;
}</pre>
        <p>
 
</p>
        <p>
When the textbox loses focus we see if the ActiveControl is the listView, if not we
hide it.
</p>
        <pre class="code">
          <span style="color: blue">private void </span>txtComplaint_Leave(<span style="color: blue">object </span>sender,
System.<span style="color: #2b91af">EventArgs </span>e) { <span style="color: blue">if </span>(ActiveControl.Name
!= <span style="color: #a31515">"listView"</span>) treeComplaint.Visible = <span style="color: blue">false</span>;
}</pre>
        <a href="http://11011.net/software/vspaste">
        </a>
      </body>
      <title>ActiveControl to tell me the control gaining focus.</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,521c7f93-210f-48ca-99a9-9269269fc785.aspx</guid>
      <link>http://www.malachicomputer.com/blog/ActiveControlToTellMeTheControlGainingFocus.aspx</link>
      <pubDate>Tue, 13 Jul 2010 19:56:56 GMT</pubDate>
      <description>&lt;p&gt;
I ran into a situation where I needed to know what control was gaining focus in the
Leave() event of another control.&amp;nbsp; The situation I was working with is as follows;&amp;nbsp;
I have a multi-line text box that when it gains focus I want a listview of potential
values to popup below it.&amp;nbsp; When the textbox loses focus, the listview should
be hidden.&amp;nbsp;&amp;nbsp; The user should be able to click on the listview to select
items to input into the textbox.&amp;nbsp; The problem was when the user clicked on the
listview, the textbox lost focus and was hiding the listview.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Enter the ActiveControl property on the form.&amp;nbsp; This handy property allows me
to check, in the Leave() event, what is the new active control with focus.&amp;nbsp; Thus
I can check to see if the textbox lost the focus to the listview control and if so,
skip the hiding of it.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Here we have the textbox named txtComplaint, when it gets the focus we make listView
visible.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;private void &lt;/span&gt;txtComplaint_Enter(&lt;span style="color: blue"&gt;object &lt;/span&gt;sender,
System.&lt;span style="color: #2b91af"&gt;EventArgs &lt;/span&gt;e) { listView.Visible = &lt;span style="color: blue"&gt;true&lt;/span&gt;;
}&lt;/pre&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
When the textbox loses focus we see if the ActiveControl is the listView, if not we
hide it.
&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: blue"&gt;private void &lt;/span&gt;txtComplaint_Leave(&lt;span style="color: blue"&gt;object &lt;/span&gt;sender,
System.&lt;span style="color: #2b91af"&gt;EventArgs &lt;/span&gt;e) { &lt;span style="color: blue"&gt;if &lt;/span&gt;(ActiveControl.Name
!= &lt;span style="color: #a31515"&gt;"listView"&lt;/span&gt;) treeComplaint.Visible = &lt;span style="color: blue"&gt;false&lt;/span&gt;;
}&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,521c7f93-210f-48ca-99a9-9269269fc785.aspx</comments>
      <category>.NET</category>
      <category>Code</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=aa2f549e-a62b-4223-8eac-ae42a4340c73</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,aa2f549e-a62b-4223-8eac-ae42a4340c73.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,aa2f549e-a62b-4223-8eac-ae42a4340c73.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=aa2f549e-a62b-4223-8eac-ae42a4340c73</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Arial">
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: -webkit-monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;">This
was an interesting problem I ran into today. Suddenly whenever trying to debug an
ASP.Net project, I was getting a Page Not Found error from the browser. What gives?
It worked this morning!! What had I done? I installed some windows updates that had
been waiting for me while I ate lunch.<br /><br />
What was the problem? Well it seems that an update for windows defender caused the
hosts file entry for localhost to stop working. 
<br /><br />
What was the fix? Add the line 127.0.0.1 localhost to the end of your host file....all
seems well now.<br /></span>
          <br />
Some more discussions <a href="http://stackoverflow.com/questions/629644/not-able-to-run-asp-net-web-app-using-development-server/633062">here </a></font>
        <br class="Apple-interchange-newline" />
        <p>
        </p>
      </body>
      <title>VS2008 ASP.Net - Page Not Found error during debugging.</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,aa2f549e-a62b-4223-8eac-ae42a4340c73.aspx</guid>
      <link>http://www.malachicomputer.com/blog/VS2008ASPNetPageNotFoundErrorDuringDebugging.aspx</link>
      <pubDate>Wed, 11 Mar 2009 18:35:38 GMT</pubDate>
      <description>&lt;font face="Arial"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: -webkit-monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px;"&gt;This
was an interesting problem I ran into today. Suddenly whenever trying to debug an
ASP.Net project, I was getting a Page Not Found error from the browser. What gives?
It worked this morning!! What had I done? I installed some windows updates that had
been waiting for me while I ate lunch.&lt;br&gt;
&lt;br&gt;
What was the problem? Well it seems that an update for windows defender caused the
hosts file entry for localhost to stop working. 
&lt;br&gt;
&lt;br&gt;
What was the fix? Add the line 127.0.0.1 localhost to the end of your host file....all
seems well now.&lt;br&gt;
&lt;/span&gt;
&lt;br&gt;
Some more discussions &lt;a href="http://stackoverflow.com/questions/629644/not-able-to-run-asp-net-web-app-using-development-server/633062"&gt;here &lt;/a&gt;&lt;/font&gt;
&lt;br class="Apple-interchange-newline"&gt;
&lt;p&gt;
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,aa2f549e-a62b-4223-8eac-ae42a4340c73.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=6f74f75c-4f9f-495c-9574-ee6a3f51e20b</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,6f74f75c-4f9f-495c-9574-ee6a3f51e20b.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,6f74f75c-4f9f-495c-9574-ee6a3f51e20b.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=6f74f75c-4f9f-495c-9574-ee6a3f51e20b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I've recently started playing with <a href="http://www.subsonicproject.com/">SubSonic</a> on
a new project.  My first few attempts at generating code failed.  The files
were being generated, but they contained no code.  I'm sure it states it clearly
somewhere but I was in one of my moods where "By golly, I'm not reading the stinking
documentation, I'm figuring this out myself."  Well after an hour or so of this,
I finally discovered, SubSonic really likes primary keys on the tables it's generating
code for.    I had a few tables that didn't have primary keys (I know,
smack me now), anyway's I throw those keys on and all is well.  
</p>
        <p>
I'm really liking SubSonic and I tend to agree with <a href="http://blog.wekeroad.com/2007/10/30/in-which-we-discuss-proprietary-object-noise/">Rob</a> more
than <a href="http://www.codinghorror.com/blog/archives/000989.html">Jeff</a> in the
recent debate (makes for a good read).
</p>
      </body>
      <title>SubSonic likes primary keys on tables</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,6f74f75c-4f9f-495c-9574-ee6a3f51e20b.aspx</guid>
      <link>http://www.malachicomputer.com/blog/SubSonicLikesPrimaryKeysOnTables.aspx</link>
      <pubDate>Sat, 03 Nov 2007 15:02:25 GMT</pubDate>
      <description>&lt;p&gt;
I've recently started playing with &lt;a href="http://www.subsonicproject.com/"&gt;SubSonic&lt;/a&gt; on
a new project.&amp;nbsp; My first few attempts at generating code failed.&amp;nbsp; The files
were being generated, but they contained no code.&amp;nbsp; I'm sure it states it clearly
somewhere but I was in one of my moods where "By golly, I'm not reading the stinking
documentation, I'm figuring this out myself."&amp;nbsp; Well after an hour or so of this,
I finally discovered, SubSonic really likes primary keys on the tables it's generating
code for.&amp;nbsp;&amp;nbsp;&amp;nbsp; I had a few tables that didn't have primary keys (I know,
smack me now), anyway's I throw those keys on and all is well.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
I'm really liking SubSonic and I tend to agree with &lt;a href="http://blog.wekeroad.com/2007/10/30/in-which-we-discuss-proprietary-object-noise/"&gt;Rob&lt;/a&gt; more
than &lt;a href="http://www.codinghorror.com/blog/archives/000989.html"&gt;Jeff&lt;/a&gt; in the
recent debate (makes for a good read).
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,6f74f75c-4f9f-495c-9574-ee6a3f51e20b.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=7e82d923-b0e5-4cfe-8442-aa4464981381</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,7e82d923-b0e5-4cfe-8442-aa4464981381.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,7e82d923-b0e5-4cfe-8442-aa4464981381.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7e82d923-b0e5-4cfe-8442-aa4464981381</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I love the ClickOnce technology of smart clients.  What a great way to distribute
software to my clients.  Since I'm an independent with many clients all in geographically
different locations, most of which I've created a mixture of web apps and winforms
software for, smart clients have simplified my job greatly.  Someone needs a
quick fix or tweak, presto, from home, I make the change, publish it and there off
and running.  No more taking an hour or so out of my day to go spend 5 minutes
distributing an update on site.  
</p>
        <p>
There are pitfalls to the clickonce technology however that I've discovered. 
Mainly the issue of the <a href="http://support.microsoft.com/?kbid=925521">expiring
certificate</a> which requires and uninstall and reinstall of the application. 
A buddy of mine has created a workaround that using the C++ code in the KB article
linked, that fixes the issue, but still not an optimal solution.  Supposedly
this is fixed/changed in Orcas.  I'll have to dig up his solution and blog about
it soon.
</p>
        <p>
Wondering though, is ClickOnce used in the wild much?  For standalone apps, commericial
or otherwise?  I would think that there would be some, but having difficulty
finding any.  Just curious if the ClickOnce model is viable for a released product.
</p>
      </body>
      <title>ClickOnce in the Wild</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,7e82d923-b0e5-4cfe-8442-aa4464981381.aspx</guid>
      <link>http://www.malachicomputer.com/blog/ClickOnceInTheWild.aspx</link>
      <pubDate>Tue, 30 Oct 2007 19:54:10 GMT</pubDate>
      <description>&lt;p&gt;
I love the ClickOnce technology of smart clients.&amp;nbsp; What a great way to distribute
software to my clients.&amp;nbsp; Since I'm an independent with many clients all in geographically
different locations, most of which I've created a mixture of web apps and winforms
software for, smart clients have simplified my job greatly.&amp;nbsp; Someone needs a
quick fix or tweak, presto, from home, I make the change, publish it and there off
and running.&amp;nbsp; No more taking an hour or so out of my day to go spend 5 minutes
distributing an update on site.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
There are pitfalls to the clickonce technology however that I've discovered.&amp;nbsp;
Mainly the issue of the &lt;a href="http://support.microsoft.com/?kbid=925521"&gt;expiring
certificate&lt;/a&gt; which requires and uninstall and reinstall of the application.&amp;nbsp;
A buddy of mine has created a workaround that using the C++ code in the KB article
linked, that fixes the issue, but still not an optimal solution.&amp;nbsp; Supposedly
this is fixed/changed in Orcas.&amp;nbsp; I'll have to dig up his solution and blog about
it soon.
&lt;/p&gt;
&lt;p&gt;
Wondering though, is ClickOnce used in the wild much?&amp;nbsp; For standalone apps, commericial
or otherwise?&amp;nbsp; I would think that there would be some, but having difficulty
finding any.&amp;nbsp; Just curious if the ClickOnce model is viable for a released product.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,7e82d923-b0e5-4cfe-8442-aa4464981381.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=dc4b0d66-89cc-44c7-9537-079facc46120</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,dc4b0d66-89cc-44c7-9537-079facc46120.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,dc4b0d66-89cc-44c7-9537-079facc46120.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=dc4b0d66-89cc-44c7-9537-079facc46120</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Here's something handy to know that I had a bit of trouble finding information on.
Perhaps I didn't look very well, but I was working with a colleague who had created
a ClickOnce app and was having an issue where it appeared some of the files weren't
being updated properly when he published a new version. Well, the problem turned out
to be something else, but we were still curious on where the actual files were being
downloaded to. After some digging, we found them at 
</p>
        <p>
          <span style="font-family:Courier New">C:\Documents and Settings\Jason Lautzenheiser\Local
Settings\Apps\2.0 </span>
        </p>
        <p>
Under that folder are two more folders one called DATA and the other with what appears
to be a random name. Under randomly named one, two levels deep are the main folders
where all the different smart clients are downloaded to. It appears that each smart
client will keep two versions, the current one and the previous version. I'm assuming
this is for easy rollback a version. 
</p>
        <p>
Under the DATA directory any application files that the Publish Status is set to DATA. 
</p>
        <p>
Maybe this is well known, but it doesn't appear to be well documented. 
</p>
      </body>
      <title>Click Once 2.0 File Locations</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,dc4b0d66-89cc-44c7-9537-079facc46120.aspx</guid>
      <link>http://www.malachicomputer.com/blog/ClickOnce20FileLocations.aspx</link>
      <pubDate>Tue, 13 Mar 2007 03:15:53 GMT</pubDate>
      <description>&lt;p&gt;
Here's something handy to know that I had a bit of trouble finding information on.
Perhaps I didn't look very well, but I was working with a colleague who had created
a ClickOnce app and was having an issue where it appeared some of the files weren't
being updated properly when he published a new version. Well, the problem turned out
to be something else, but we were still curious on where the actual files were being
downloaded to. After some digging, we found them at 
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New"&gt;C:\Documents and Settings\Jason Lautzenheiser\Local
Settings\Apps\2.0 &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
Under that folder are two more folders one called DATA and the other with what appears
to be a random name. Under randomly named one, two levels deep are the main folders
where all the different smart clients are downloaded to. It appears that each smart
client will keep two versions, the current one and the previous version. I'm assuming
this is for easy rollback a version. 
&lt;/p&gt;
&lt;p&gt;
Under the DATA directory any application files that the Publish Status is set to DATA. 
&lt;/p&gt;
&lt;p&gt;
Maybe this is well known, but it doesn't appear to be well documented. 
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,dc4b0d66-89cc-44c7-9537-079facc46120.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=e3d46241-c41d-44fe-8e29-0ef2a17ffb78</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,e3d46241-c41d-44fe-8e29-0ef2a17ffb78.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,e3d46241-c41d-44fe-8e29-0ef2a17ffb78.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e3d46241-c41d-44fe-8e29-0ef2a17ffb78</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Been a while since my last post and February has been slow in general as far as the
blog is concerned….just too much work to do. I'm trying to finish up a very large
project and running into a few snags here and there which are taking that extra time
and just putting in the extra hours to get it done. Here are a few links that I need
to go back to once I get a free moment or two. 
</p>
        <ul>
          <li>
            <a href="http://www.aisto.com/roeder/dotnet/">Reflector 5.0</a> – This is a no brainer….just
go out and download this. I grabbed it the day it was released and as always a great
tool with some nice new additions. <a href="http://www.hanselman.com/blog/Reflector5ReleasedWorldDominationAssured.aspx">Scott
has a nice write-up</a> on some new features so I won't repeat that here, just go
get it. 
</li>
          <li>
            <a href="http://www.binaryfortress.com/aspnet-viewstate-helper/">ViewState Helper</a> –
This looks like a promising tool to check out. Haven't played with it as yet, but
reading up on it, it looks very useful. 
</li>
          <li>
I'm no CSS guru so I definitely have not used these…but here is a list of <a href="http://www.seomoz.org/blog/css-properties-you-probably-never-use">CSS
Properties you Probably Never Use</a>. 
</li>
          <li>
            <div>I've been on a Pattern kick lately. Here are a few articles I need to read sooner
than later. 
</div>
            <ul>
              <li>
                <a href="http://weblogs.asp.net/jgonzalez/archive/2007/02/19/provider-strategy-adapter-pattern-discussion.aspx">Provider,
Strategy, Adapter Patterns</a>
              </li>
              <li>
                <a href="http://www.lowendahl.net/showShout.aspx?id=114">Strategy Pattern</a>
              </li>
              <li>
                <a href="http://www.lowendahl.net/showshout.aspx?id=117">Pattern Focus: MVP, MVC,
MVWatever</a>
              </li>
              <li>
                <a href="http://www.martinfowler.com/eaaDev/uiArchs.html">GUI Architectures</a>
              </li>
              <li>
There was one more on my list…but dog gone it, I can't find the link now…I'll update
when I find it. 
</li>
            </ul>
          </li>
          <li>
One thing in regards to patterns….I've got to watch, because as I read and learn more,
I tend to look at my current project and see where I can fit this pattern in there
and that one in over here. That is not always the most productive path to go down
as you're meeting deadlines. I've got to focus on finishing the project (which the
architecture is already set) and come back to some of these things as we do revisions
in the future. I have a fairly large project which design will start on in another
month or so which I can look forward to implementing some patterns in the design of
that project if they fit. 
</li>
        </ul>
        <p>
Be on the lookout for a new post or two on things I've learned from a previously employer.
Some topics coming up are taking a look at my first day on the job (or how not to
treat your new employee), how we were tasked with the impossible task of translating
a huge system originally in DOS to a windows application in 3 months with ever changing
requirements yet a firm due date, and how to kill a giant (otherwise known as reinventing
the wheel). 
</p>
      </body>
      <title>Midnight Snack #15</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,e3d46241-c41d-44fe-8e29-0ef2a17ffb78.aspx</guid>
      <link>http://www.malachicomputer.com/blog/MidnightSnack15.aspx</link>
      <pubDate>Thu, 22 Feb 2007 04:16:10 GMT</pubDate>
      <description>&lt;p&gt;
Been a while since my last post and February has been slow in general as far as the
blog is concerned….just too much work to do. I'm trying to finish up a very large
project and running into a few snags here and there which are taking that extra time
and just putting in the extra hours to get it done. Here are a few links that I need
to go back to once I get a free moment or two. 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.aisto.com/roeder/dotnet/"&gt;Reflector 5.0&lt;/a&gt; – This is a no brainer….just
go out and download this. I grabbed it the day it was released and as always a great
tool with some nice new additions. &lt;a href="http://www.hanselman.com/blog/Reflector5ReleasedWorldDominationAssured.aspx"&gt;Scott
has a nice write-up&lt;/a&gt; on some new features so I won't repeat that here, just go
get it. 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.binaryfortress.com/aspnet-viewstate-helper/"&gt;ViewState Helper&lt;/a&gt; –
This looks like a promising tool to check out. Haven't played with it as yet, but
reading up on it, it looks very useful. 
&lt;/li&gt;
&lt;li&gt;
I'm no CSS guru so I definitely have not used these…but here is a list of &lt;a href="http://www.seomoz.org/blog/css-properties-you-probably-never-use"&gt;CSS
Properties you Probably Never Use&lt;/a&gt;. 
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I've been on a Pattern kick lately. Here are a few articles I need to read sooner
than later. 
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://weblogs.asp.net/jgonzalez/archive/2007/02/19/provider-strategy-adapter-pattern-discussion.aspx"&gt;Provider,
Strategy, Adapter Patterns&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.lowendahl.net/showShout.aspx?id=114"&gt;Strategy Pattern&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.lowendahl.net/showshout.aspx?id=117"&gt;Pattern Focus: MVP, MVC,
MVWatever&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.martinfowler.com/eaaDev/uiArchs.html"&gt;GUI Architectures&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
There was one more on my list…but dog gone it, I can't find the link now…I'll update
when I find it. 
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
One thing in regards to patterns….I've got to watch, because as I read and learn more,
I tend to look at my current project and see where I can fit this pattern in there
and that one in over here. That is not always the most productive path to go down
as you're meeting deadlines. I've got to focus on finishing the project (which the
architecture is already set) and come back to some of these things as we do revisions
in the future. I have a fairly large project which design will start on in another
month or so which I can look forward to implementing some patterns in the design of
that project if they fit. 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Be on the lookout for a new post or two on things I've learned from a previously employer.
Some topics coming up are taking a look at my first day on the job (or how not to
treat your new employee), how we were tasked with the impossible task of translating
a huge system originally in DOS to a windows application in 3 months with ever changing
requirements yet a firm due date, and how to kill a giant (otherwise known as reinventing
the wheel). 
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,e3d46241-c41d-44fe-8e29-0ef2a17ffb78.aspx</comments>
      <category>.NET</category>
      <category>Midnight Snack</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=bed2f09a-50b8-4f31-8232-7dd2bcdf1680</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,bed2f09a-50b8-4f31-8232-7dd2bcdf1680.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,bed2f09a-50b8-4f31-8232-7dd2bcdf1680.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=bed2f09a-50b8-4f31-8232-7dd2bcdf1680</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
We have a house full of sick kids. All have pretty bad chest colds. It really hasn't
been that pleasant around here, though I'm hoping that I may escape from getting it. 
</p>
        <ul>
          <li>
I just heard that author Sidney Sheldon died today at age 89. I can't say that I was
a huge fan, in fact I don't think I've ever read anything of his, though I know some
who just love his work. I can however respect anyone who has the muse within. I have
been trying to get myself to sit down and write. While I work in a technical field,
I have no desire to write technical books (in fact I read very few technical books
these days). I have too many stories inside that I need to get out someday. A friend
of mine, who is an aspiring author, once told me that the only way to become a good
writer is to just sit down and do it. 
</li>
          <li>
On that note, however, I read an article today that states called, <a href="http://www.codinghorror.com/blog/archives/000543.html">How
to Become a Better Programmer by Not Programming</a>. Interesting premise and to a
certain degree I agree with Jeff on that. It is true that there is a vast divide between
those that are excellent programmers and those that just get by. I think that I can
tell in a very short time whether someone is an excellent programmer or not. Unfortunately
those mediocre programmers often see themselves as top-notch and on the flip side
the really excellent programmers are normally fairly humble about it. 
</li>
          <li>
Ahhh yes….. tax season is upon us. I've just finished up preparing the last of my
1099s I need to prepare for some sub-contractors I had work for me this past year.
Nothing like waiting until the last moment. I've only received one of the one's I'm
expecting as of yet, but should see the rest of them here in the next week or so. 
</li>
          <li>
I think I'm going to start a series of posts relating some interesting stories (funny,
scary, sad …) from a previous employer. The names will be changed to protect the innocent,
though if you know me; it won't be hard to figure out who I'm talking about. No offense
meant to anyone, but hey, they are my life stories and I'm going to tell! I learned
a lot from working there some good, some not so good. So anyway, be prepared for some. 
</li>
          <li>
Just for a taste of what I'm talking about, here is a list of some <a href="http://geekswithblogs.net/bsherwin/archive/2007/01/30/104952.aspx">SQL
don'ts</a>. This list that Brian put together mirrors some things that my former employer
did, despite advice against.</li>
        </ul>
      </body>
      <title>Midnight Snack #11</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,bed2f09a-50b8-4f31-8232-7dd2bcdf1680.aspx</guid>
      <link>http://www.malachicomputer.com/blog/MidnightSnack11.aspx</link>
      <pubDate>Wed, 31 Jan 2007 03:54:50 GMT</pubDate>
      <description>&lt;p&gt;
We have a house full of sick kids. All have pretty bad chest colds. It really hasn't
been that pleasant around here, though I'm hoping that I may escape from getting it. 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
I just heard that author Sidney Sheldon died today at age 89. I can't say that I was
a huge fan, in fact I don't think I've ever read anything of his, though I know some
who just love his work. I can however respect anyone who has the muse within. I have
been trying to get myself to sit down and write. While I work in a technical field,
I have no desire to write technical books (in fact I read very few technical books
these days). I have too many stories inside that I need to get out someday. A friend
of mine, who is an aspiring author, once told me that the only way to become a good
writer is to just sit down and do it. 
&lt;/li&gt;
&lt;li&gt;
On that note, however, I read an article today that states called, &lt;a href="http://www.codinghorror.com/blog/archives/000543.html"&gt;How
to Become a Better Programmer by Not Programming&lt;/a&gt;. Interesting premise and to a
certain degree I agree with Jeff on that. It is true that there is a vast divide between
those that are excellent programmers and those that just get by. I think that I can
tell in a very short time whether someone is an excellent programmer or not. Unfortunately
those mediocre programmers often see themselves as top-notch and on the flip side
the really excellent programmers are normally fairly humble about it. 
&lt;/li&gt;
&lt;li&gt;
Ahhh yes….. tax season is upon us. I've just finished up preparing the last of my
1099s I need to prepare for some sub-contractors I had work for me this past year.
Nothing like waiting until the last moment. I've only received one of the one's I'm
expecting as of yet, but should see the rest of them here in the next week or so. 
&lt;/li&gt;
&lt;li&gt;
I think I'm going to start a series of posts relating some interesting stories (funny,
scary, sad …) from a previous employer. The names will be changed to protect the innocent,
though if you know me; it won't be hard to figure out who I'm talking about. No offense
meant to anyone, but hey, they are my life stories and I'm going to tell! I learned
a lot from working there some good, some not so good. So anyway, be prepared for some. 
&lt;/li&gt;
&lt;li&gt;
Just for a taste of what I'm talking about, here is a list of some &lt;a href="http://geekswithblogs.net/bsherwin/archive/2007/01/30/104952.aspx"&gt;SQL
don'ts&lt;/a&gt;. This list that Brian put together mirrors some things that my former employer
did, despite advice against.&lt;/li&gt;
&lt;/ul&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,bed2f09a-50b8-4f31-8232-7dd2bcdf1680.aspx</comments>
      <category>.NET</category>
      <category>Midnight Snack</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Well here's one that has me stumped. Basically what I have is a ClickOnce deployed
app that is deployed to my client's network. I would like to pass it some command
line parameters, but for the life of me cannot get it to work. All the examples I
can find are for web-deployed click once apps, but the code given there does not work.
For web-deployed apps it's very easy to retrieve the parameters using, 
</p>
        <p style="margin-left: 36pt">
          <span style="font-family:Courier New; font-size:10pt">
            <span style="color:teal">AppDomain</span>.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[0].Query </span>
        </p>
        <p>
and parsing out the parameters (normal query string parameters like <span style="font-family:Courier New">www.blah.com/myapp.application?param1&amp;param2</span>).
However when using the same construct with the network-deployed app, this simply returns
the name of the application file (<span style="color:#4f81bd; font-family:Courier New">file://myserver/apps/myapp.application?param1&amp;param2</span> simply
returns <span style="color:#4f81bd; font-family:Courier New">apps/myapp.application</span>).
Trying to pass parameters in any other way results in windows not finding the application
file. 
</p>
        <p>
Either I'm overlooking something very obvious or there is just no easy way to do this.
Luckily this isn't a must have feature for this particular client, just something
that would be nice. 
</p>
        <p>
Any thoughts or ideas?
</p>
      </body>
      <title>Passing Parameters to a Network Deployed ClickOnce App</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f.aspx</guid>
      <link>http://www.malachicomputer.com/blog/PassingParametersToANetworkDeployedClickOnceApp.aspx</link>
      <pubDate>Mon, 29 Jan 2007 14:55:11 GMT</pubDate>
      <description>&lt;p&gt;
Well here's one that has me stumped. Basically what I have is a ClickOnce deployed
app that is deployed to my client's network. I would like to pass it some command
line parameters, but for the life of me cannot get it to work. All the examples I
can find are for web-deployed click once apps, but the code given there does not work.
For web-deployed apps it's very easy to retrieve the parameters using, 
&lt;/p&gt;
&lt;p style="margin-left: 36pt"&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:teal"&gt;AppDomain&lt;/span&gt;.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[0].Query &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
and parsing out the parameters (normal query string parameters like &lt;span style="font-family:Courier New"&gt;www.blah.com/myapp.application?param1&amp;amp;param2&lt;/span&gt;).
However when using the same construct with the network-deployed app, this simply returns
the name of the application file (&lt;span style="color:#4f81bd; font-family:Courier New"&gt;file://myserver/apps/myapp.application?param1&amp;amp;param2&lt;/span&gt; simply
returns &lt;span style="color:#4f81bd; font-family:Courier New"&gt;apps/myapp.application&lt;/span&gt;).
Trying to pass parameters in any other way results in windows not finding the application
file. 
&lt;/p&gt;
&lt;p&gt;
Either I'm overlooking something very obvious or there is just no easy way to do this.
Luckily this isn't a must have feature for this particular client, just something
that would be nice. 
&lt;/p&gt;
&lt;p&gt;
Any thoughts or ideas?
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,47c1cdcb-d9fa-44a5-a8c3-a695e9dc097f.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=fb6c3c42-8642-4fe1-bad7-4c8fff46271b</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,fb6c3c42-8642-4fe1-bad7-4c8fff46271b.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,fb6c3c42-8642-4fe1-bad7-4c8fff46271b.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=fb6c3c42-8642-4fe1-bad7-4c8fff46271b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
This one had me stumped. A large web app I'm working on for a client has some cases
where some AJAX would be very handy. I wanted to take this opportunity to learn about
ASP.NETs AJAX release as it looked real easy to work with. I watched the videos and
followed the instructions and created a test app and all worked well. I then tried
to take what I had learned and incorporate it into my existing app. The Partial Rendering
did now work and the <a href="http://ajax.asp.net/docs/mref/P_System_Web_UI_ScriptManager_SupportsPartialRendering.aspx">SupportsPartialRendering</a> continually
came back as false. I had checked to make sure that all references were in place and
the web.config file was updated with the required <span style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><span style="COLOR: blue">&lt;</span><span style="COLOR: maroon">httpHandlers</span><span style="COLOR: blue">&gt;</span>. </span>Well
interestingly enough, I missed a very important part of the web.config. 
</p>
        <p>
          <span style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New">
            <span style="COLOR: blue">&lt;</span>
            <span style="COLOR: maroon">configuration</span>
            <span style="COLOR: blue">&gt;</span>
            <span style="COLOR: black">
              <br />
              <br />
    </span>
            <span style="COLOR: blue">&lt;</span>
            <span style="COLOR: maroon">system.web</span>
            <span style="COLOR: blue">&gt;</span>
            <span style="COLOR: black">
              <br />
        </span>
            <span style="COLOR: blue">&lt;</span>
            <span style="COLOR: maroon">xhtmlConformance</span>
            <span style="COLOR: red"> mode</span>
            <span style="COLOR: blue">="Legacy"</span>
            <span style="COLOR: red"> </span>
            <span style="COLOR: blue">/&gt;<br />
    &lt;/</span>
            <span style="COLOR: maroon">system.web</span>
            <span style="COLOR: blue">&gt;</span>
            <span style="COLOR: black">
              <br />
              <br />
            </span>
            <span style="COLOR: blue">&lt;/</span>
            <span style="COLOR: maroon">configuration</span>
            <span style="COLOR: blue">&gt; </span>
          </span>
        </p>
        <p>
With the xhtmlConformance mode set to Legacy, AJAX will not work on your pages. <a href="http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx">Scott
Guthrie</a> has a good explanation with all the gory details. In a nutshell, apps
that were upgraded from 2003 to 2005 (which mine was) will have this setting in place.
Removing that and automagically, my newly AJAXed pages now work as designed!! 
</p>
      </body>
      <title>ASP.NET AJAX and xhtmlConformance mode=’Legacy’ </title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,fb6c3c42-8642-4fe1-bad7-4c8fff46271b.aspx</guid>
      <link>http://www.malachicomputer.com/blog/ASPNETAJAXAndXhtmlConformanceModeLegacy.aspx</link>
      <pubDate>Fri, 26 Jan 2007 03:17:27 GMT</pubDate>
      <description>&lt;p&gt;
This one had me stumped. A large web app I'm working on for a client has some cases
where some AJAX would be very handy. I wanted to take this opportunity to learn about
ASP.NETs AJAX release as it looked real easy to work with. I watched the videos and
followed the instructions and created a test app and all worked well. I then tried
to take what I had learned and incorporate it into my existing app. The Partial Rendering
did now work and the &lt;a href="http://ajax.asp.net/docs/mref/P_System_Web_UI_ScriptManager_SupportsPartialRendering.aspx"&gt;SupportsPartialRendering&lt;/a&gt; continually
came back as false. I had checked to make sure that all references were in place and
the web.config file was updated with the required &lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"&gt;&lt;span style="COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;httpHandlers&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;gt;&lt;/span&gt;. &lt;/span&gt;Well
interestingly enough, I missed a very important part of the web.config. 
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"&gt;&lt;span style="COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;configuration&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: black"&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;system.web&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: black"&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;xhtmlConformance&lt;/span&gt;&lt;span style="COLOR: red"&gt;&amp;nbsp;mode&lt;/span&gt;&lt;span style="COLOR: blue"&gt;="Legacy"&lt;/span&gt;&lt;span style="COLOR: red"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR: blue"&gt;/&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;system.web&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: black"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="COLOR: maroon"&gt;configuration&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&amp;gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
With the xhtmlConformance mode set to Legacy, AJAX will not work on your pages. &lt;a href="http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx"&gt;Scott
Guthrie&lt;/a&gt; has a good explanation with all the gory details. In a nutshell, apps
that were upgraded from 2003 to 2005 (which mine was) will have this setting in place.
Removing that and automagically, my newly AJAXed pages now work as designed!! 
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,fb6c3c42-8642-4fe1-bad7-4c8fff46271b.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=4eb80ccb-72e3-46cc-a95b-f33e088f4abe</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,4eb80ccb-72e3-46cc-a95b-f33e088f4abe.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,4eb80ccb-72e3-46cc-a95b-f33e088f4abe.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=4eb80ccb-72e3-46cc-a95b-f33e088f4abe</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Well in concordance with <a href="http://www.oreillynet.com/windows/blog/2007/01/announcing_windows_developer_t_1.html?CMP=OTC-U49S05779020&amp;ATT=Announcing+Windows+Developer+Tools+Day+Join+the+Celebration+by+Blogging+About+Your+Favorite+Tool">this</a>,
I've decided to post about my favorite tool.  Well in coming up with my favorite
tool, I had to search through many of them that I use and love.  But most recently,
I believe my favorite tool, that I use every single day has to be <a href="http://www.jetbrains.com/resharper/">ReSharper
from JetBrains</a>.  This add in to Visual Studio (I use Resharper 2.5 for VS2005)
adds so many tiny benefits it would be hard to list them all.  Just go their
site and look through the feature list.  It's simple, fast (as of the new version,
the past versions did have some speed issues) and it stays out of the way.  I've
gotten to the point now where I don't even realize it is there.  I was at a coworker's
machine, which does not have Resharper installed, and I was amazed that I was able
to get anything done without it. 
</p>
        <p>
Hard to say what my favorite feature is, I really like the Usages (Alt-F7). 
The Ctrl-Click Go to Definition is a huge time saver.  Surround With (Ctrl-Alt-J)
is another tool I use alot.  I could go on and on.  The hardest part for
me has been learning some new keystrokes, for some of the lesser used items, the keystrokes
still escape me from time to time, but I'm getting better.  
</p>
        <p>
I won't get into a ReSharper vs Refactor Pro holy war, as both products have a ton
of nice features.  I wish I could take the best of both, combine then into one
and you would have one killer app.
</p>
        <p>
Oh BTW, JetBrains has just put out an <a href="http://www.jetbrains.com/resharper/releaseNotes251.html">update</a> as
I've mentioned previously
</p>
      </body>
      <title>Resharper - Developer Tool of the Day</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,4eb80ccb-72e3-46cc-a95b-f33e088f4abe.aspx</guid>
      <link>http://www.malachicomputer.com/blog/ResharperDeveloperToolOfTheDay.aspx</link>
      <pubDate>Fri, 19 Jan 2007 15:43:15 GMT</pubDate>
      <description>&lt;p&gt;
Well in concordance with &lt;a href="http://www.oreillynet.com/windows/blog/2007/01/announcing_windows_developer_t_1.html?CMP=OTC-U49S05779020&amp;amp;ATT=Announcing+Windows+Developer+Tools+Day+Join+the+Celebration+by+Blogging+About+Your+Favorite+Tool"&gt;this&lt;/a&gt;,
I've decided to post about my favorite tool.&amp;nbsp; Well in coming up with my favorite
tool, I had to search through many of them that I use and love.&amp;nbsp; But most recently,
I believe my favorite tool, that I use every single day has to be &lt;a href="http://www.jetbrains.com/resharper/"&gt;ReSharper
from JetBrains&lt;/a&gt;.&amp;nbsp; This add in to Visual Studio (I use Resharper 2.5 for VS2005)
adds so many tiny benefits it would be hard to list them all.&amp;nbsp; Just go their
site and look through the feature list.&amp;nbsp; It's simple, fast (as of the new version,
the past versions did have some speed issues) and it stays out of the way.&amp;nbsp; I've
gotten to the point now where I don't even realize it is there.&amp;nbsp; I was at a coworker's
machine, which does not have Resharper installed, and I was amazed that I was able
to get anything done without it. 
&lt;/p&gt;
&lt;p&gt;
Hard to say what my favorite feature is, I really like the Usages (Alt-F7).&amp;nbsp;
The Ctrl-Click Go to Definition is a huge time saver.&amp;nbsp; Surround With (Ctrl-Alt-J)
is another tool I use alot.&amp;nbsp; I could go on and on.&amp;nbsp; The hardest part for
me has been learning some new keystrokes, for some of the lesser used items, the keystrokes
still escape me from time to time, but I'm getting better.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
I won't get into a ReSharper vs Refactor Pro holy war, as both products have a ton
of nice features.&amp;nbsp; I wish I could take the best of both, combine then into one
and you would have one killer app.
&lt;/p&gt;
&lt;p&gt;
Oh BTW, JetBrains has just put out an &lt;a href="http://www.jetbrains.com/resharper/releaseNotes251.html"&gt;update&lt;/a&gt; as
I've mentioned previously
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,4eb80ccb-72e3-46cc-a95b-f33e088f4abe.aspx</comments>
      <category>.NET</category>
      <category>Cool Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=9f00e1a6-6972-4835-b09c-ac2694568aa8</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,9f00e1a6-6972-4835-b09c-ac2694568aa8.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,9f00e1a6-6972-4835-b09c-ac2694568aa8.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9f00e1a6-6972-4835-b09c-ac2694568aa8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I guess I've been under a rock, because I just discovered this operator this evening. 
Catching up on some of my unread blogs and read this post on <a href="http://jaysonknight.com/blog/archive/2007/01/15/programming-paradigms-test-for-nulls-have-a-plan-b.aspx">Tests
for Null</a> in which mentioned the new coalescing operator (??) in C# 2.0. 
How had I never noticed this before.  I could use this almost every day and I'm
always one for neatness and compact code so this kind of operator will fit nicely
into my toolset.
</p>
        <p>
How does it work?  Well it simply checks if something is null, if not null, returns
that something otherwise if null it returns the alternative.  Works very similar
to the <a href="http://msdn2.microsoft.com/en-us/library/aa258244(SQL.80).aspx">Coalesce
keyword</a> in SQL Server (which I do use often)
</p>
        <p>
          <font face="Courier New">ThisClass objClass = aClass ?? <span class="keyword"><font color="#0000ff">new</font></span><span> ThisClass();</span></font>
        </p>
        <p>
          <span>Which is equivalent to </span>
        </p>
        <p>
          <span>
            <font face="Courier New">ThisClass objClass;<br />
if (aClass != null)<br />
   objClass = aClass;<br />
else<br />
   objClass = new ThisClass();</font>
          </span>
        </p>
        <p>
          <span>and also;</span>
        </p>
        <p>
          <span>
            <font face="Courier New">ThisClass objClass = (aClass != null) ? aClass : new
ThisClass();</font>
          </span>
        </p>
        <p>
          <span>
          </span> 
</p>
      </body>
      <title>The ?? Operator in C# 2.0</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,9f00e1a6-6972-4835-b09c-ac2694568aa8.aspx</guid>
      <link>http://www.malachicomputer.com/blog/TheOperatorInC20.aspx</link>
      <pubDate>Thu, 18 Jan 2007 03:32:22 GMT</pubDate>
      <description>&lt;p&gt;
I guess I've been under a rock, because I just discovered this operator this evening.&amp;nbsp;
Catching up on some of my unread blogs and read this post on &lt;a href="http://jaysonknight.com/blog/archive/2007/01/15/programming-paradigms-test-for-nulls-have-a-plan-b.aspx"&gt;Tests
for Null&lt;/a&gt;&amp;nbsp;in which mentioned the new coalescing operator (??) in C# 2.0.&amp;nbsp;
How had I never noticed this before.&amp;nbsp; I could use this almost every day and I'm
always one for neatness and compact code so this kind of operator will fit nicely
into my toolset.
&lt;/p&gt;
&lt;p&gt;
How does it work?&amp;nbsp; Well it simply checks if something is null, if not null, returns
that something otherwise if null it returns the alternative.&amp;nbsp; Works very similar
to the &lt;a href="http://msdn2.microsoft.com/en-us/library/aa258244(SQL.80).aspx"&gt;Coalesce
keyword&lt;/a&gt; in SQL Server (which I do use often)
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Courier New"&gt;ThisClass&amp;nbsp;objClass&amp;nbsp;=&amp;nbsp;aClass&amp;nbsp;??&amp;nbsp;&gt;&lt;span class=keyword&gt;&lt;font color=#0000ff&gt;new&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;ThisClass();&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;Which is equivalent to &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;&lt;font face="Courier New"&gt;ThisClass objClass;&lt;br&gt;
if (aClass != null)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;objClass = aClass;&lt;br&gt;
else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;objClass = new ThisClass();&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;and also;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;&lt;font face="Courier New"&gt;ThisClass objClass = (aClass != null) ? aClass : new
ThisClass();&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,9f00e1a6-6972-4835-b09c-ac2694568aa8.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=3fb030ca-890c-4e9c-b1b0-3a38380d80ff</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,3fb030ca-890c-4e9c-b1b0-3a38380d80ff.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,3fb030ca-890c-4e9c-b1b0-3a38380d80ff.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=3fb030ca-890c-4e9c-b1b0-3a38380d80ff</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
This is something that I tend to forget even though it's pretty basic and probably
obvious to most.  I have a comma delimited string which I wanted to put into
a List&lt;&gt;.  Here's a one-liner to get the job done.
</p>
        <font color="#008080" size="2">
          <p>
   <font face="Courier New">List</font></p>
        </font>
        <font face="Courier New">
          <font color="#000000" size="2">&lt;</font>
          <font color="#0000ff" size="2">string</font>
          <font color="#000000" size="2">&gt; aList
= </font>
          <font color="#0000ff" size="2">new</font>
          <font color="#000000" size="2">
          </font>
          <font color="#008080" size="2">List</font>
          <font color="#000000" size="2">&lt;</font>
          <font color="#0000ff" size="2">string</font>
        </font>
        <font size="2">
          <font face="Courier New" color="#000000">&gt;();<br />
  aList.AddRange(myString.Split(','));<br /></font>
        </font>
        <p>
          <font face="Courier New">
            <font size="2">
              <font face="Verdana">Where myString is
my comma-delimited string.  Pretty basic, but very handy.</font>
            </font>
          </font>
        </p>
      </body>
      <title>Delimited String to Generic List&lt;&gt;</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,3fb030ca-890c-4e9c-b1b0-3a38380d80ff.aspx</guid>
      <link>http://www.malachicomputer.com/blog/DelimitedStringToGenericList.aspx</link>
      <pubDate>Thu, 04 Jan 2007 15:06:53 GMT</pubDate>
      <description>&lt;p&gt;
This is something that I tend to forget even though it's pretty basic and probably
obvious to most.&amp;nbsp; I have a comma delimited string which I wanted to put into
a List&amp;lt;&amp;gt;.&amp;nbsp; Here's a one-liner to get the job done.
&lt;/p&gt;
&lt;font color=#008080 size=2&gt; 
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font face="Courier New"&gt;List&lt;/font&gt;
&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font color=#000000 size=2&gt;&amp;lt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;string&lt;/font&gt;&lt;font color=#000000 size=2&gt;&amp;gt;&amp;nbsp;aList
= &lt;/font&gt;&lt;font color=#0000ff size=2&gt;new&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#008080 size=2&gt;List&lt;/font&gt;&lt;font color=#000000 size=2&gt;&amp;lt;&lt;/font&gt;&lt;font color=#0000ff size=2&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;font face="Courier New" color=#000000&gt;&amp;gt;();&lt;br&gt;
&amp;nbsp;&amp;nbsp;aList.AddRange(myString.Split(','));&lt;br&gt;
&lt;/font&gt;&gt;
&lt;/font&gt; 
&lt;p&gt;
&lt;font face="Courier New"&gt;&lt;font size=2&gt;&lt;font face=Verdana&gt;Where&amp;nbsp;myString is my
comma-delimited string.&amp;nbsp; Pretty basic, but very handy.&lt;/font&gt;
&lt;/p&gt;
&gt;&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,3fb030ca-890c-4e9c-b1b0-3a38380d80ff.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=e0f98794-24d5-4e7c-93f8-f88fd8e5e551</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,e0f98794-24d5-4e7c-93f8-f88fd8e5e551.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,e0f98794-24d5-4e7c-93f8-f88fd8e5e551.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e0f98794-24d5-4e7c-93f8-f88fd8e5e551</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Not sure how I missed....but here is a very handy <a href="http://blogs.msdn.com/jfoscoding/archive/2006/03/16/553420.aspx">new
feature</a> in VS2005.  Thanks to Jessica for pointing me to this.  Had
I not stumbled upon this I would still be tracepoint-less.  
</p>
        <p>
What is a tracepoint?  Well, in a nutshell.  It's like a breakpoint without
the breaking part.  I can now use this to replace some of my Debug.WriteLine
statements I use to debug in certain cases.  How to create a tracepoint:
</p>
        <ol>
          <li>
Create a breakpoint as normal.</li>
          <li>
Right-click on the red circle indicating the breakpoint.</li>
          <li>
On the context menu, select <strong>When Hit</strong>.  There are other options
as well, though they deal with breakpoint filters and such that I believe were in
previous version of VS.</li>
          <li>
Fill in the dialog with whatever text you wish to print, you can even run a macro.</li>
          <li>
Close dialog, and red circle changes to red diamond indicating a tracepoint.</li>
        </ol>
        <p>
Very handy new tool and another reason I like VS2005 more and more each day.
</p>
      </body>
      <title>Tracepoints in VS2005</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,e0f98794-24d5-4e7c-93f8-f88fd8e5e551.aspx</guid>
      <link>http://www.malachicomputer.com/blog/TracepointsInVS2005.aspx</link>
      <pubDate>Mon, 20 Mar 2006 14:37:05 GMT</pubDate>
      <description>&lt;p&gt;
Not sure how&amp;nbsp;I missed....but here is a very handy &lt;a href="http://blogs.msdn.com/jfoscoding/archive/2006/03/16/553420.aspx"&gt;new
feature&lt;/a&gt; in VS2005.&amp;nbsp; Thanks to Jessica for pointing me to this.&amp;nbsp; Had
I not stumbled upon this I would still be tracepoint-less.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
What is a tracepoint?&amp;nbsp; Well, in a nutshell.&amp;nbsp; It's like a breakpoint without
the breaking part.&amp;nbsp; I can now use this to replace some of my Debug.WriteLine
statements I use to debug in certain cases.&amp;nbsp; How to create a tracepoint:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Create a breakpoint as normal.&lt;/li&gt;
&lt;li&gt;
Right-click on the red circle indicating the breakpoint.&lt;/li&gt;
&lt;li&gt;
On the context menu, select &lt;strong&gt;When Hit&lt;/strong&gt;.&amp;nbsp; There are other options
as well, though they deal with breakpoint filters and such that I believe were in
previous version of VS.&lt;/li&gt;
&lt;li&gt;
Fill in the dialog with whatever text you wish to print, you can even run a macro.&lt;/li&gt;
&lt;li&gt;
Close dialog, and red circle changes to red diamond indicating a tracepoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Very handy new tool and another reason I like VS2005 more and more each day.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,e0f98794-24d5-4e7c-93f8-f88fd8e5e551.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=bce7852b-7e69-46db-bde9-4b6e7563c9c7</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,bce7852b-7e69-46db-bde9-4b6e7563c9c7.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,bce7852b-7e69-46db-bde9-4b6e7563c9c7.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=bce7852b-7e69-46db-bde9-4b6e7563c9c7</wfw:commentRss>
      <title>Not so Random, Pseudo-Daily Links of Interest #1</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,bce7852b-7e69-46db-bde9-4b6e7563c9c7.aspx</guid>
      <link>http://www.malachicomputer.com/blog/NotSoRandomPseudoDailyLinksOfInterest1.aspx</link>
      <pubDate>Tue, 14 Mar 2006 11:57:05 GMT</pubDate>
      <description>&lt;p&gt;
Well, everyone else seems to be doing it.....&amp;nbsp; I come across quite a few links
each day that interest me or I should investigate further.&amp;nbsp; Here is my attempt
to list those ...&amp;nbsp; while I would like to say daily, I really doubt that will
happen.&amp;nbsp; Here is my first short batch.
&lt;/p&gt;
&lt;ol style="MARGIN-TOP: 0in" type=1&gt;
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;
&lt;span style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana"&gt;&lt;a href="http://blog.lab49.com/?p=196"&gt;&lt;font size=2&gt;Reading
Excel with ADO.NET&lt;/font&gt;&lt;/a&gt;&lt;font color=#000000&gt;&lt;font size=2&gt; - an interesting look
into how ADO.NET handles Excel Docs.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Most
interesting was how it guesses the data type of each column.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/li&gt;
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;
&lt;span class=MsoHyperlink&gt;&lt;span style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana"&gt;&lt;a href="http://west-wind.com/weblog/posts/4741.aspx"&gt;&lt;font size=2&gt;Creating
a unique or semi-unique ID in .NET&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;&lt;font size=2&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;-
As I ran into a similar situation not too long ago (I actually stuck with using GUIDs
as in this particular application, the length didn’t matter to me), this opens up
a discussion on the GetHashCode() method used on a GUID to create a semi-unique ID.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/li&gt;
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: blue; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;
&lt;span style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;&lt;a href="http://pluralsight.com/blogs/fritz/archive/2006/02/06/18596.aspx"&gt;&lt;font size=2&gt;Using
ResolveClientUrl in markup&lt;/font&gt;&lt;/a&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/span&gt;&lt;font size=2&gt;&lt;span style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;– &lt;font size=2&gt;This
comes in handy more than not, but it is invariably something I forget about each time.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/li&gt;
&lt;/ol&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,bce7852b-7e69-46db-bde9-4b6e7563c9c7.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=660dafb9-0c72-439b-ac54-16963daa74ad</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,660dafb9-0c72-439b-ac54-16963daa74ad.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,660dafb9-0c72-439b-ac54-16963daa74ad.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=660dafb9-0c72-439b-ac54-16963daa74ad</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I ran in to a bug today in regards to a ClickOnce app I've developed for a client. 
I inherited a website that was partially completed when I has hired on by my client. 
I developed a ClickOnce app for them (actually two different apps) along with completing
and enhancing the website.  Portions of the website run with an SSL Certificate
(through HTTPS), the certificate was purchased long before I came into the picture.  
</p>
        <p>
The ClickOnce client app is launched from within a secured area of the website. 
Everything worked fine, until someone browsed in through a different sub-domain. 
Specifically the Certificate is for <a href="http://www.blahblahblah.com">www.blahblahblah.com</a> where
as the client where we received an error came in through <a href="http://blahblahblah.com">http://blahblahblah.com</a> (without
the www).  The certificate is not a wildcard certificate so if I had browsed
to that page I would have recieved a Security Alert message box with the message:
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <font face="Courier New">The name on the security certificate is invalid or does not
match the name of the site.</font>
          </p>
        </blockquote>
        <p dir="ltr">
Well while browsing it's simple enough to click yes to proceed, however you don't
get that option and are simply presented with the Cannot Start Application dialog.
</p>
        <p dir="ltr">
          <img alt="" hspace="0" src="C:\Documents and Settings\Jason Lautzenheiser\Desktop\Cropper\CropperCapture[1].Png" align="baseline" border="0" />
        </p>
        <p dir="ltr">
Clicking on Details gives a ton of information on the exception that occurred. 
Looking down I see the following:
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p dir="ltr">
            <font face="Courier New">--- Inner Exception ---<br />
  System.Security.Authentication.AuthenticationException<br />
  - The remote certificate is invalid according to the validation procedure.</font>
          </p>
        </blockquote>
        <p dir="ltr">
So I can see that this is related to the Security Alert given above.  After doing
some digging, it appears that this is an <a href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=0a5f94d6-592e-4a3b-9c35-879a1ecdba57">acknowledged
bug</a> with .NET 2.0.  While this isn't quite the same scenario that I ran into,
it looks to be similar enough to possibly be the same cause.
</p>
        <p dir="ltr">
I'm not that versed on SSL and security issues in 2.0, so my speculation may be incorrect. 
The client was happy enough to be sure to include the www and I can always redirect
so it wasn't that big of an issue, but thought it was interesting enough to share.
</p>
      </body>
      <title>Bug with ClickOnce App and SSL (HTTPS)</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,660dafb9-0c72-439b-ac54-16963daa74ad.aspx</guid>
      <link>http://www.malachicomputer.com/blog/BugWithClickOnceAppAndSSLHTTPS.aspx</link>
      <pubDate>Wed, 22 Feb 2006 23:29:16 GMT</pubDate>
      <description>&lt;p&gt;
I ran in to a bug today in regards to a ClickOnce app I've developed for a client.&amp;nbsp;
I inherited a website that was partially completed when I has hired on by my client.&amp;nbsp;
I developed a ClickOnce app for them (actually two different apps) along with completing
and enhancing the website.&amp;nbsp; Portions of the website run with an SSL Certificate
(through HTTPS), the certificate was purchased long before I came into the picture.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
The ClickOnce client app is launched from within a secured area of the website.&amp;nbsp;
Everything worked fine, until someone browsed in through a different sub-domain.&amp;nbsp;
Specifically the Certificate is for &lt;a href="http://www.blahblahblah.com"&gt;www.blahblahblah.com&lt;/a&gt; where
as the client where we received an error came in through &lt;a href="http://blahblahblah.com"&gt;http://blahblahblah.com&lt;/a&gt; (without
the www).&amp;nbsp; The certificate is not a wildcard certificate so if I had browsed
to that page I would have recieved a Security Alert message box with the message:
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;font face="Courier New"&gt;The name on the security certificate is invalid or does not
match the name of the site.&lt;/font&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p dir=ltr&gt;
Well while browsing it's simple enough to click yes to proceed, however you don't
get that option and are simply presented with the Cannot Start Application dialog.
&lt;/p&gt;
&lt;p dir=ltr&gt;
&lt;img alt="" hspace=0 src="C:\Documents and Settings\Jason Lautzenheiser\Desktop\Cropper\CropperCapture[1].Png" align=baseline border=0&gt;
&lt;/p&gt;
&lt;p dir=ltr&gt;
Clicking on Details gives a ton of information on the exception that occurred.&amp;nbsp;
Looking down I see the following:
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p dir=ltr&gt;
&lt;font face="Courier New"&gt;--- Inner Exception ---&lt;br&gt;
&amp;nbsp;&amp;nbsp;System.Security.Authentication.AuthenticationException&lt;br&gt;
&amp;nbsp;&amp;nbsp;- The remote certificate is invalid according to the validation procedure.&lt;/font&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p dir=ltr&gt;
So I can see that this is related to the Security Alert given above.&amp;nbsp; After doing
some digging, it appears that this is an &lt;a href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=0a5f94d6-592e-4a3b-9c35-879a1ecdba57"&gt;acknowledged
bug&lt;/a&gt; with .NET 2.0.&amp;nbsp; While this isn't quite the same scenario that I ran into,
it looks to be similar enough to possibly be the same cause.
&lt;/p&gt;
&lt;p dir=ltr&gt;
I'm not that versed on SSL and security issues in 2.0, so my speculation may be incorrect.&amp;nbsp;
The client was happy enough to be sure to include the www and I can always redirect
so it wasn't that big of an issue, but thought it was interesting enough to share.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,660dafb9-0c72-439b-ac54-16963daa74ad.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=5aa357f9-38ff-4c98-be1c-0511c01c5478</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,5aa357f9-38ff-4c98-be1c-0511c01c5478.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,5aa357f9-38ff-4c98-be1c-0511c01c5478.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5aa357f9-38ff-4c98-be1c-0511c01c5478</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just discovered this today (yes I'm a bit behind, version 1.0 was release July 25,
2005..)....I had some legacy INI files that needed parsing and I've got a general
class that I use normally in cases like this that handles all my INI needs. 
Generally it works fine as it simply wraps the API.  I found recently that with
.NET 2.0 (at least that's all I've tried with) there is a issue with reading an INI
that resides on a networked drive.  Needless to say, I needed to do just that. 
After a brief look I came across <a href="http://nini.sourceforge.net/">NINI</a>,
a nice tool that not only handles INI, but also XML configuration files, Registry, 
.NET configuration files, and command line parameters.  The INI functionality
at least was written without the use of API, so it runs just fine reading the INI
across the network.  I haven't looked any deeper into the other files it can
handle, but I've got a few uses for this library already.  Wish I would have
discovered this one long ago.
</p>
        <p>
          <a href="http://nini.sourceforge.net/">http://nini.sourceforge.net/</a>
        </p>
      </body>
      <title>Nini .Net Configuration Library - Great Tool</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,5aa357f9-38ff-4c98-be1c-0511c01c5478.aspx</guid>
      <link>http://www.malachicomputer.com/blog/NiniNetConfigurationLibraryGreatTool.aspx</link>
      <pubDate>Wed, 15 Feb 2006 22:33:22 GMT</pubDate>
      <description>&lt;p&gt;
Just discovered this today (yes I'm a bit behind, version 1.0 was release July 25,
2005..)....I had some legacy INI files that needed parsing and I've got a general
class that I use normally in cases like this that handles all my INI needs.&amp;nbsp;
Generally it works fine as it simply wraps the API.&amp;nbsp; I found recently that with
.NET 2.0 (at least that's all I've tried with) there is a issue with reading an INI
that resides on a networked drive.&amp;nbsp; Needless to say, I needed to do just that.&amp;nbsp;
After a brief look I came across &lt;a href="http://nini.sourceforge.net/"&gt;NINI&lt;/a&gt;,
a nice tool that not only handles INI, but also XML configuration files, Registry,&amp;nbsp;
.NET configuration files, and command line parameters.&amp;nbsp; The INI functionality
at least was written without the use of API, so it runs just fine reading the INI
across the network.&amp;nbsp; I haven't looked any deeper into the other files it can
handle, but I've got a few uses for this library already.&amp;nbsp; Wish I would have
discovered this one long ago.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://nini.sourceforge.net/"&gt;http://nini.sourceforge.net/&lt;/a&gt;
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,5aa357f9-38ff-4c98-be1c-0511c01c5478.aspx</comments>
      <category>.NET</category>
      <category>Cool Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=956adb3e-205e-47b5-8ae2-b94f34cffeab</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,956adb3e-205e-47b5-8ae2-b94f34cffeab.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,956adb3e-205e-47b5-8ae2-b94f34cffeab.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=956adb3e-205e-47b5-8ae2-b94f34cffeab</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I switch daily between c# and vb.net for different projects with different clients. 
One of the things I've always plagued me was those subtle little differences between
the languages; putting semi-colons at the end of vb.net code, typing <font face="Courier New" color="#0000ff">Then....EndIf</font> in
c#, those types of things.  Those are easily noticed as soon as they fly off
my keyboard.  The ones that are really evil are differences in techniques that,
at least I, just don't use that often.
</p>
        <p>
For example, yesterday I was working on a vb.net project for a client.  I created
a new class that I wanted to implement an interface.  Not a big deal, I remembered
that in VB you need to use the <font face="Courier New" color="#0000ff">Implements</font> keyword. 
What I didn't recall, and embarrassingly enough took me a few minutes to discover
what I was doing wrong, was that you needed to use the <font face="Courier New" color="#0000ff">Implements</font> keyword
tagged on the end of each method in the interface.  It's something I don't do
quite enough to have it instantly recalled when I need to (although perhaps by writing
this up, I will forever have it etched in my brain, "What's wrong here, why isn't
it seeing the methods I implemented....Oh yes, remember that blog entry you wrote
last year....need the Implements on the methods!!!"   Another benefit to
blogging!
</p>
      </body>
      <title>My Daily Switch Between VB.NET and C#</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,956adb3e-205e-47b5-8ae2-b94f34cffeab.aspx</guid>
      <link>http://www.malachicomputer.com/blog/MyDailySwitchBetweenVBNETAndC.aspx</link>
      <pubDate>Thu, 19 Jan 2006 12:37:18 GMT</pubDate>
      <description>&lt;p&gt;
I switch daily between c# and vb.net for different projects with different clients.&amp;nbsp;
One of the things I've always plagued me was those subtle little differences between
the languages; putting semi-colons at the end of vb.net code, typing &lt;font face="Courier New" color=#0000ff&gt;Then....EndIf&lt;/font&gt; in
c#, those types of things.&amp;nbsp; Those are easily noticed as soon as they fly off
my keyboard.&amp;nbsp; The ones that are really evil are differences in techniques that,
at least I, just don't use that often.
&lt;/p&gt;
&lt;p&gt;
For example, yesterday I was working on a vb.net project for a client.&amp;nbsp; I created
a new class that I wanted to implement an interface.&amp;nbsp; Not a big deal, I remembered
that in VB you need to use the &lt;font face="Courier New" color=#0000ff&gt;Implements&lt;/font&gt; keyword.&amp;nbsp;
What I didn't recall, and embarrassingly enough took me a few minutes to discover
what I was doing wrong, was that you needed to use the &lt;font face="Courier New" color=#0000ff&gt;Implements&lt;/font&gt; keyword
tagged on the end of each method in the interface.&amp;nbsp; It's something I don't do
quite enough to have it instantly recalled when I need to (although perhaps by writing
this up, I will forever have it etched in my brain, "What's wrong here, why isn't
it seeing the methods I implemented....Oh yes, remember that blog entry you wrote
last year....need the Implements on the methods!!!"&amp;nbsp;&amp;nbsp; Another benefit to
blogging!
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,956adb3e-205e-47b5-8ae2-b94f34cffeab.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=dcaac91b-91ce-43fc-9abf-9e0f4c7adf47</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,dcaac91b-91ce-43fc-9abf-9e0f4c7adf47.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,dcaac91b-91ce-43fc-9abf-9e0f4c7adf47.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=dcaac91b-91ce-43fc-9abf-9e0f4c7adf47</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Two days ago my host (a fairly well known host that I recommend to almost all my clients)
changed the trust level on all their shared .NET 2.0 servers at the recommendation
of Microsoft.  Unfortunately, little warning was given and some sites broke because
they were depending on Full Trust.  I had two of those myself, not really sure
what was causing  the need for full trust.  
</p>
        <p>
After investigation, it appears that third party web control I was using on these
sites require full trust and was causing my problems.  Now that I figured that
out, I contacted those third-party companies and unfortunately those controls do not
work in partial trust, although one company at least put the request on the feature
request list for a future version.  Not much comfort for me at the moment however.  
</p>
        <p>
Fortunately, the dependence on these controls is minimal and in my case will take
some minor work to work around.  However, I know of some other sites that will
not be as lucky.  I can understand the security reasoning behind running in partial
trust, but it is very hard to explain to a client why there site which worked fine
in the morning, suddenly no longer works in the evening, seemingly for no better reason
than the site host upgraded the security.  Security of your site matters little
if it is down.  So needless to say, I have some work ahead of me to change the
sites to work under partial trust.  I also imagine we will see quite a few updates
to 3rd party controls to run under partial trust if that is what Microsoft is recommending
to hosts now.
</p>
        <p>
One good thing that came from this, it put me in a position that I had to learn more
about the different trust levels and what I can and can't do in each....something
I perhaps took for granted in the past.
</p>
      </body>
      <title>Partial Trust Problems in ASP.NET 2.0 with Third Party Controls</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,dcaac91b-91ce-43fc-9abf-9e0f4c7adf47.aspx</guid>
      <link>http://www.malachicomputer.com/blog/PartialTrustProblemsInASPNET20WithThirdPartyControls.aspx</link>
      <pubDate>Fri, 13 Jan 2006 17:46:12 GMT</pubDate>
      <description>&lt;p&gt;
Two days ago my host (a fairly well known host that I recommend to almost all my clients)
changed the trust level on all their shared .NET 2.0 servers at the recommendation
of Microsoft.&amp;nbsp; Unfortunately, little warning was given and some sites broke because
they were depending on Full Trust.&amp;nbsp; I had two of those myself, not really sure
what was causing&amp;nbsp; the need for full trust.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
After investigation, it appears that third party web control I was using on these
sites require full trust and was causing my problems.&amp;nbsp; Now that I figured that
out, I contacted those third-party companies and unfortunately those controls do not
work in partial trust, although one company at least put the request on the feature
request list for a future version.&amp;nbsp; Not much comfort for me at the moment however.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Fortunately, the dependence on these controls is minimal and in my case will take
some minor work to work around.&amp;nbsp; However, I know of some other sites that will
not be as lucky.&amp;nbsp; I can understand the security reasoning behind running in partial
trust, but it is very hard to explain to a client why there site which worked fine
in the morning, suddenly no longer works in the evening, seemingly for no better reason
than the site host upgraded the security.&amp;nbsp; Security of your site matters little
if it is down.&amp;nbsp; So needless to say, I have some work ahead of me to change the
sites to work under partial trust.&amp;nbsp; I also imagine we will see quite a few updates
to 3rd party controls to run under partial trust if that is what Microsoft is recommending
to hosts now.
&lt;/p&gt;
&lt;p&gt;
One good thing that came from this, it put me in a position that I had to learn more
about the different trust levels and what I can and can't do in each....something
I perhaps took for granted in the past.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,dcaac91b-91ce-43fc-9abf-9e0f4c7adf47.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=321c0243-cd3e-43a9-b7ca-059f6af1693f</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,321c0243-cd3e-43a9-b7ca-059f6af1693f.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,321c0243-cd3e-43a9-b7ca-059f6af1693f.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=321c0243-cd3e-43a9-b7ca-059f6af1693f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Older post on <a href="http://ryanfarley.com/blog/archive/2004/12/21/1325.aspx">setting
focus to a control in ASP.NET</a>, but found this useful today.  Something I
do often enough that I don't want to have go searching again for it.
</p>
      </body>
      <title>Set Focus to Control in ASP.NET</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,321c0243-cd3e-43a9-b7ca-059f6af1693f.aspx</guid>
      <link>http://www.malachicomputer.com/blog/SetFocusToControlInASPNET.aspx</link>
      <pubDate>Tue, 10 Jan 2006 03:03:26 GMT</pubDate>
      <description>&lt;p&gt;
Older post on &lt;a href="http://ryanfarley.com/blog/archive/2004/12/21/1325.aspx"&gt;setting
focus to a control in ASP.NET&lt;/a&gt;, but found this useful today.&amp;nbsp; Something I
do often enough that I don't want to have go searching again for it.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,321c0243-cd3e-43a9-b7ca-059f6af1693f.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=dbc5ebb1-da59-4369-945d-cef5ad4d0bc7</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,dbc5ebb1-da59-4369-945d-cef5ad4d0bc7.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,dbc5ebb1-da59-4369-945d-cef5ad4d0bc7.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=dbc5ebb1-da59-4369-945d-cef5ad4d0bc7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Well as I alluded to in a few previous <a href="http://www.malachicomputer.com/blog/PermaLink,guid,5e451961-7875-4f67-b894-e6ca81b3b341.aspx">posts</a>,
I was running into issues with my 1.1 No-Touch Deployment smart clients I developed
for a client of mine that ran across the internet.  Well I've finally found something
official from Microsoft in regards to this issue.
</p>
        <p>
          <span id="lblTitle">
            <a href="http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=ef4ae9a2-1d40-4241-aca4-61d579929793">Bug
Details: .NET Framework 2.0 breaks No-Touch Depoyment (HREF exe) apps from the Internet</a>
          </span>
        </p>
        <p>
          <span>There are a few workaround's posted which you may get varying mileage out of. 
I in fact took the third suggestion when I <a href="http://www.malachicomputer.com/blog/PermaLink,guid,adb7c4fe-2899-4056-940d-dcd0835ed790.aspx">converted
them to 2.0</a>.  This actually worked out pretty well and from the looks of
things, this was really the only good solution that worked in our situation.</span>
        </p>
        <p>
          <span>This should be considered pretty critical as it breaks existing code which can
cause great problems.  In our case, it was easy enough to convert them to ClickOnce
apps which enabled us to take advantage of some other enhancements, but for others
this may not be so simple or feasible.  Non of the other solutions look appealing
either at least for our application.  </span>
        </p>
      </body>
      <title>2.0 Framework Breaks No-Touch Depoyment (HREF exe) apps from the Internet</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,dbc5ebb1-da59-4369-945d-cef5ad4d0bc7.aspx</guid>
      <link>http://www.malachicomputer.com/blog/20FrameworkBreaksNoTouchDepoymentHREFExeAppsFromTheInternet.aspx</link>
      <pubDate>Thu, 29 Dec 2005 14:01:45 GMT</pubDate>
      <description>&lt;p&gt;
Well as I alluded to in a few previous &lt;a href="http://www.malachicomputer.com/blog/PermaLink,guid,5e451961-7875-4f67-b894-e6ca81b3b341.aspx"&gt;posts&lt;/a&gt;,
I was running into issues with my 1.1 No-Touch Deployment smart clients I developed
for a client of mine that ran across the internet.&amp;nbsp; Well I've finally found something
official from Microsoft in regards to this issue.
&lt;/p&gt;
&lt;p&gt;
&lt;span id=lblTitle&gt;&lt;a href="http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=ef4ae9a2-1d40-4241-aca4-61d579929793"&gt;Bug
Details: .NET Framework 2.0 breaks No-Touch Depoyment (HREF exe) apps from the Internet&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;There are a few workaround's posted which you may get varying mileage out of.&amp;nbsp;
I in fact took the third suggestion when I &lt;a href="http://www.malachicomputer.com/blog/PermaLink,guid,adb7c4fe-2899-4056-940d-dcd0835ed790.aspx"&gt;converted
them to 2.0&lt;/a&gt;.&amp;nbsp; This actually worked out pretty well and from the looks of
things, this was really the only good solution that worked in our situation.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;This should be considered pretty critical as it breaks existing code which can
cause great problems.&amp;nbsp; In our case, it was easy enough to convert them to ClickOnce
apps which enabled us to take advantage of some other enhancements, but for others
this may not be so simple or feasible.&amp;nbsp; Non of the other solutions look appealing
either at least for our application.&amp;nbsp; &lt;/span&gt;
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,dbc5ebb1-da59-4369-945d-cef5ad4d0bc7.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=212ff510-2148-418f-a19b-1a8870258505</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,212ff510-2148-418f-a19b-1a8870258505.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,212ff510-2148-418f-a19b-1a8870258505.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=212ff510-2148-418f-a19b-1a8870258505</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was trying out the <a href="http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx">VS
2005 Web Deployment Projects</a> addin on one of my websites.  Wanted to merge
all to one named DLL.  I was getting an error "Aspnet_merge Exited with Code
1" with very little other detail.  After some digging found the solution (at
least in my case).  It appears that I had a duplicate class name in my project
(actually had two of them).  Once those were cleaned up, build succeeded without
problems.
</p>
        <p>
 
</p>
      </body>
      <title>Aspnet_merge.exe Exited with Code 1</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,212ff510-2148-418f-a19b-1a8870258505.aspx</guid>
      <link>http://www.malachicomputer.com/blog/AspnetmergeexeExitedWithCode1.aspx</link>
      <pubDate>Thu, 22 Dec 2005 16:26:11 GMT</pubDate>
      <description>&lt;p&gt;
I was trying out the &lt;a href="http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx"&gt;VS
2005 Web Deployment Projects&lt;/a&gt; addin on one of my websites.&amp;nbsp; Wanted to merge
all to one named DLL.&amp;nbsp; I was getting an error "Aspnet_merge Exited with Code
1" with very little other detail.&amp;nbsp; After some digging found the solution (at
least in my case).&amp;nbsp; It appears that I had&amp;nbsp;a duplicate class name in my project
(actually had two of them).&amp;nbsp; Once those were cleaned up, build succeeded without
problems.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,212ff510-2148-418f-a19b-1a8870258505.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.malachicomputer.com/blog/Trackback.aspx?guid=407b2e96-32ae-4585-82f7-6fbeac8e6621</trackback:ping>
      <pingback:server>http://www.malachicomputer.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.malachicomputer.com/blog/PermaLink,guid,407b2e96-32ae-4585-82f7-6fbeac8e6621.aspx</pingback:target>
      <dc:creator>Jason Lautzenheiser</dc:creator>
      <wfw:comment>http://www.malachicomputer.com/blog/CommentView,guid,407b2e96-32ae-4585-82f7-6fbeac8e6621.aspx</wfw:comment>
      <wfw:commentRss>http://www.malachicomputer.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=407b2e96-32ae-4585-82f7-6fbeac8e6621</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Here's a nice list of the new and improved security feature in the 2.0 framework.
</p>
        <p>
          <a href="http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetsec/html/foundstone.asp">New
and Improved Security Features in the .NET 2.0 Framework</a>
        </p>
        <p>
Good reference.  I need to go through this and learn what I can, I'm sure I'll
have some comments as I read through this and play with some new things.
</p>
      </body>
      <title>New and Improved Security Features in .NET 2.0 Framework</title>
      <guid isPermaLink="false">http://www.malachicomputer.com/blog/PermaLink,guid,407b2e96-32ae-4585-82f7-6fbeac8e6621.aspx</guid>
      <link>http://www.malachicomputer.com/blog/NewAndImprovedSecurityFeaturesInNET20Framework.aspx</link>
      <pubDate>Sat, 17 Dec 2005 15:05:27 GMT</pubDate>
      <description>&lt;p&gt;
Here's a nice list of the new and improved security feature in the 2.0 framework.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetsec/html/foundstone.asp"&gt;New
and Improved Security Features in the .NET 2.0 Framework&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Good reference.&amp;nbsp; I need to go through this and learn what I can, I'm sure I'll
have some comments as I read through this and play with some new things.
&lt;/p&gt;</description>
      <comments>http://www.malachicomputer.com/blog/CommentView,guid,407b2e96-32ae-4585-82f7-6fbeac8e6621.aspx</comments>
      <category>.NET</category>
    </item>
  </channel>
</rss>