<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6550290188043595882</id><updated>2011-07-30T19:12:43.420-04:00</updated><category term='.master'/><category term='knowledge'/><category term='Visual Studio'/><category term='charts'/><category term='soccer'/><category term='java'/><category term='html5'/><category term='datakey'/><category term='master page'/><category term='dynamic'/><category term='Thunderbird'/><category term='example'/><category term='SQL Server'/><category term='gridview'/><category term='robot'/><category term='IMAP'/><category term='OnRowDeleting'/><category term='Gmail'/><category term='delete row'/><category term='npo'/><category term='Azure Storage'/><category term='api'/><category term='null'/><category term='Datagrid'/><category term='ASP.NET'/><category term='SSMS'/><category term='chrome'/><category term='C#'/><category term='web presence'/><category term='social networking'/><category term='TemplateColumn'/><category term='cross-browser integration'/><category term='Linux'/><category term='thoughts'/><category term='internet'/><category term='SQL Azure'/><category term='uop'/><category term='ternary'/><category term='Mono'/><category term='DataItem'/><category term='toyota'/><category term='if'/><category term='Windows Management Instrumentation'/><category term='aspx'/><category term='.NET'/><category term='google'/><title type='text'>Dave Murray Miyamasu's Developer Blog</title><subtitle type='html'>Dave Murray Miyamasu is at it again, coding up some useful code for his ASP.NET projects.
NEW! with .NET AND Java experience1</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-8047690465805335288</id><published>2009-12-02T21:29:00.000-05:00</published><updated>2009-12-02T21:29:00.222-05:00</updated><title type='text'>How will my site render on all browsers?</title><content type='html'>I recently was browsing the &lt;a href="http://tools.mozilla.com/"&gt;Mozilla Tool&lt;/a&gt;s listing, and I cam across another amazing tool created by Adobe called &lt;a href="http://browserlab.adobe.com"&gt;BrowserLab&lt;/a&gt;.  Browserlab allows you to view any publicly viewable webpage as it would be seen by Firefox (OSX &amp;amp; XP v. 2,3,3.5) Chrome (XP v. 3), IE (XP v. 6,7,8) and Safari (OSX v. 3,4).  You can overlay each browser view to see differences, as well as use a rule to measure positioning of elements on page.

Check it out!  &lt;a href="http://browserlab.adobe.com/"&gt;BrowserLab&lt;/a&gt;
(You have to create an Adobe account, which takes 10 seconds...just do it)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-8047690465805335288?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/8047690465805335288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=8047690465805335288&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8047690465805335288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8047690465805335288'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/12/how-will-my-site-render-on-all-browsers.html' title='How will my site render on all browsers?'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-793594213492731911</id><published>2009-11-12T20:57:00.000-05:00</published><updated>2009-11-12T08:59:53.364-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Mono Visual Studio Plugin</title><content type='html'>Ars has a &lt;a href="http://arstechnica.com/microsoft/news/2009/11/test-and-package-net-apps-for-linux-with-visual-studio-add-in.ars"&gt;great article&lt;/a&gt; on the up and coming visual studio plugin which will allow .NET developers to build code locally, deploy it to a Linux server, and debug the code executing (via Mono) on the Linux server.

Has anyone out there made the jump to building apps on their Linux machine with Mono? Pros/Cons?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-793594213492731911?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/793594213492731911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=793594213492731911&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/793594213492731911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/793594213492731911'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/11/mono-visual-studio-plugin.html' title='Mono Visual Studio Plugin'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1983835760283977469</id><published>2009-11-11T21:48:00.001-05:00</published><updated>2009-11-12T08:57:09.998-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Azure Storage'/><title type='text'>Azure Storage Manager</title><content type='html'>It looks like Cerebrata has created a useful web app for Azure developers.  You can visualize your data (Tables, Queues, Blobs) in a great Silverlight interface.

You will have to enter your storage account unique name, and Account shared key, but they once you logout, Cerebrata does not keep record of your account info.

Check it out!
https://onlinedemo.cerebrata.com/Cerebrata.CloudStorage/default.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1983835760283977469?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1983835760283977469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1983835760283977469&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1983835760283977469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1983835760283977469'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/11/azure-storage-manager.html' title='Azure Storage Manager'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1297964438380734122</id><published>2009-11-11T19:51:00.000-05:00</published><updated>2009-11-11T19:51:00.527-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSMS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Azure'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Access SQL Azure Tables via SSMS 2008 R2</title><content type='html'>If you have been trying in vain to connect to SQL Azure tables via SQL Server Management Studio 2008 (SSMS) there is hope! SQL Azure Team blog just &lt;a href="http://blogs.msdn.com/ssds/archive/2009/11/10/9920168.aspx"&gt;announced&lt;/a&gt; that the R2 release of SSMS 2008 includes features to access SQL Azure in the cloud!

Download is currently available for Technet and MSDN subscribers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1297964438380734122?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1297964438380734122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1297964438380734122&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1297964438380734122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1297964438380734122'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/11/access-sql-azure-tables-via-ssms-2008.html' title='Access SQL Azure Tables via SSMS 2008 R2'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-4386733625223985467</id><published>2009-08-08T23:16:00.000-04:00</published><updated>2009-08-08T23:16:00.340-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><category scheme='http://www.blogger.com/atom/ns#' term='IMAP'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>Use thunderbird to Transfer gmail email</title><content type='html'>I recently made the decision to switch from one gmail account to another.  The former was created in college and was more for fun than future use.  The second one I created is more appropriately named and professionally sounding.  Anyhow, I wanted to transfer all email from one gmail account to the next.  There was not a clearly defined way to do this, so I had to hunt around the interwebs to find a solution for myself.  Here are the steps I took:
&lt;ol&gt;&lt;li&gt;&lt;a href="http://mail.google.com/support/bin/answer.py?answer=77695"&gt;Enable IMAP&lt;/a&gt; in both your old and new gmail email accounts.
&lt;/li&gt;&lt;li&gt;Download &lt;a href="http://www.mozillamessaging.com/en-US/thunderbird/"&gt;Thunderbird.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Add your old gmail email account to Thunderbird with &lt;a href="http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php"&gt;IMAP protocol options&lt;/a&gt;.
&lt;/li&gt;&lt;li&gt;Add your new gmail email account to Thunderbird.&lt;/li&gt;&lt;li&gt;In your old gmail email account, expand the [Gmail] folder to view the IMAP folders for your gmail account.&lt;/li&gt;&lt;li&gt;Select the email messages you want to copy to your new gmail account.&lt;/li&gt;&lt;li&gt;Right Click &gt;&gt; Copy To &gt;&gt; new gmail account &gt;&gt; [Gmail] &gt;&gt; whatever location you want the email to be copied to (Inbox, Sent, All Mail)&lt;/li&gt;&lt;/ol&gt;Let Thunderbird work it's magic.  Depending on how many messages you are copying and their size, it can take a while. Thunderbird will download the entire message locally and then copy it to the destination. 

Hope this helps!
-Dave&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-4386733625223985467?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/4386733625223985467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=4386733625223985467&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4386733625223985467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4386733625223985467'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/07/use-thunderbird-to-transfer-gmail-email.html' title='Use thunderbird to Transfer gmail email'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-2789857048747954853</id><published>2009-08-07T21:16:00.000-04:00</published><updated>2009-08-07T21:16:00.533-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot'/><category scheme='http://www.blogger.com/atom/ns#' term='toyota'/><title type='text'>Running Robot</title><content type='html'>Check out this cool link for the new Toyota Running Robot
(&lt;a href="http://smart-machines.blogspot.com/2009/07/toyotas-running-humanoid-robot.html"&gt;smart-machines blog&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-2789857048747954853?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/2789857048747954853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=2789857048747954853&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2789857048747954853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2789857048747954853'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/08/running-robot.html' title='Running Robot'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-7040208038558099468</id><published>2009-08-06T18:56:00.005-04:00</published><updated>2009-08-10T10:32:16.149-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataItem'/><category scheme='http://www.blogger.com/atom/ns#' term='TemplateColumn'/><category scheme='http://www.blogger.com/atom/ns#' term='null'/><category scheme='http://www.blogger.com/atom/ns#' term='Datagrid'/><title type='text'>DataItem Dag-Nabbit!</title><content type='html'>&lt;p&gt;Recently I was faced with the issue of trying to get multiple data columns from a DataGrid row during the event raised from a link button inside of a TemplatedColumn.  When the link button was clicked, I was not able to access the selected item's DataItem. I had to find a work around.  Microsoft does not allow access to the selected item's DataItem except during runtime using reflection. But, I needed to access the data item somehow so I created a workaround. Here is my original code:&lt;/p&gt;

&lt;pre name="code" class="c-sharp"&gt;
&lt;asp:DataGrid ID="dgQueryResults" runat="server" &gt;
                    &lt;Columns&gt;
                        &lt;asp:TemplateColumn HeaderText="Update ID"&gt;
                            &lt;ItemTemplate&gt;
                                &lt;asp:LinkButton ID="cmdUpdateID" runat="server" 
Text="Update ID" OnCommand="cmdUpdateContractID_Command"
                                    CommandName="UpdateID" Visible="true" 
Enabled='&amp;lt;%#DataBinder.Eval(Container.DataItem, "IS_ENABLED").ToString() == "Y"%&amp;gt;' /&gt;
                            &lt;/ItemTemplate&gt;
                        &lt;/asp:TemplateColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 1&lt;/asp:BoundColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 2&lt;/asp:BoundColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 3&lt;/asp:BoundColumn&gt;
                     &lt;/Columns&gt;
&lt;/asp:DataGrid&gt;

&lt;/pre&gt;
&lt;pre name="code" class="c-sharp"&gt;
protected void cmdUpdateContractID_Command(object sender, CommandEventArgs e)
        {
            DateTime RunDate = Convert.ToDateTime(e.CommandArgument.ToString());
            String RunSeq = e.CommandName.ToString();
        }
&lt;/pre&gt;
&lt;p&gt;I wanted to be able to access the data from the other BoundColumns. So, I used an expression on my aspx page, and a custom method in the code behind to get around the DataItem lifecycle issue:&lt;/p&gt;

&lt;pre name="code" class="c-sharp"&gt;
&lt;asp:DataGrid ID="dgQueryResults" runat="server" &gt;
                    &lt;Columns&gt;
                        &lt;asp:TemplateColumn HeaderText="Update ID"&gt;
                            &lt;ItemTemplate&gt;
                                &lt;asp:LinkButton ID="cmdUpdateID" runat="server" Text="Update ID" OnCommand="cmdUpdateContractID_Command" CommandArgument="&amp;lt;%# GenerateArgString(Container.DataItem)%&amp;gt;"
                                    CommandName="UpdateID" Visible="true" Enabled='&amp;lt;%#GenerateArgString(Container.DataItem)%&amp;gt;' /&gt;
                            &lt;/ItemTemplate&gt;
                        &lt;/asp:TemplateColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 1&lt;/asp:BoundColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 2&lt;/asp:BoundColumn&gt;
                        &lt;asp:BoundColumn&gt;other column 3&lt;/asp:BoundColumn&gt;
                     &lt;/Columns&gt;
&lt;/asp:DataGrid&gt;

&lt;/pre&gt;
&lt;pre name="code" class="c-sharp"&gt;
protected string GenerateArgString(object dataItem)
        {
            StringBuilder args = new StringBuilder();
            args.AppendFormat("{0}|", 
                 Convert.ToString(DataBinder.Eval(dataItem, "FIELD_1")));
            args.AppendFormat("{0}|", 
                 Convert.ToString(DataBinder.Eval(dataItem, "FIELD_2")));
            args.AppendFormat("{0}|", 
                 Convert.ToString(DataBinder.Eval(dataItem, "FIELD_3")));
            args.AppendFormat("{0}|", 
                 Convert.ToString(DataBinder.Eval(dataItem, "FIELD_4")));

            return args.ToString();
        }
&lt;/pre&gt;
&lt;p&gt;You can see that I added the CommandArgument attribute to my Linkbutton, which in turn allowed me to generate a string of pipe delimited values from the selected item's DataItem.  The expression calls the GenerateArgString method, which evaluates the DataItem using DataBinder.Eval method to retrieve information by column name.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-7040208038558099468?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/7040208038558099468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=7040208038558099468&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7040208038558099468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7040208038558099468'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/08/dataitem-dag-nabbit.html' title='DataItem Dag-Nabbit!'/><author><name>Dave Murray Miyamasu</name><uri>http://www.blogger.com/profile/06070783949800869039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-4990307966276525696</id><published>2009-06-18T21:33:00.001-04:00</published><updated>2009-06-18T21:33:04.486-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social networking'/><category scheme='http://www.blogger.com/atom/ns#' term='web presence'/><category scheme='http://www.blogger.com/atom/ns#' term='npo'/><title type='text'>Non-profit technologies</title><content type='html'>Hello!
Are there any readers out there who have had experience volunteering with a non-profit org? More specifically creating for them a web-presence (web site, social networking, donation portal) and providing computer support (hardware, software).

Any insight would be appreciated!
-Dave&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-4990307966276525696?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/4990307966276525696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=4990307966276525696&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4990307966276525696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4990307966276525696'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/06/non-profit-technologies.html' title='Non-profit technologies'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-2986548520386180655</id><published>2009-06-17T20:23:00.002-04:00</published><updated>2009-06-18T08:32:15.967-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='uop'/><category scheme='http://www.blogger.com/atom/ns#' term='html5'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>HTML 5</title><content type='html'>Hello All! It has been quite a while since I have posted.  I have been learning a little something called &lt;a href="http://java.com/"&gt;Java&lt;/a&gt; as well as taking some &lt;a href="http://www.phoenix.edu/"&gt;classes&lt;/a&gt; and have not had the opportunity to post.

Anyhow, I came across some cool info about HTML 5.  Canvas, video, Cache, Web Worker....some pretty cool stuff.

You can check out some demos &lt;a href="http://htmlfive.appspot.com/"&gt;here&lt;/a&gt; but you will need an HTML 5 compliant browser. (such as &lt;a href="http://google.com/chrome"&gt;Google Chrome&lt;/a&gt;).  All the demos are done using client side html...no applets, flash or silverlight shenanigans.

Enjoy the future of web development!

-Dave

&lt;a href="http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html"&gt;Reference&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-2986548520386180655?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/2986548520386180655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=2986548520386180655&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2986548520386180655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2986548520386180655'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/06/html-5.html' title='HTML 5'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-797137085353164992</id><published>2009-01-06T18:18:00.002-05:00</published><updated>2009-01-06T18:18:00.952-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thoughts'/><category scheme='http://www.blogger.com/atom/ns#' term='knowledge'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><title type='text'>the vast pool of knowledge</title><content type='html'>&lt;p&gt;I read an &lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%22Chambers%22+%22VIEWPOINT+21st+century%22"&gt;article entitled "21st Century Mindset"&lt;/a&gt; recently and caught glimpse of this quote, and thought it would be appropriate to share.&lt;/p&gt;&lt;blockquote&gt;Networking has changed our relationship with knowledge, making it accessible anytime, any place, on any device. Too little knowledge is no longer the challenge; sifting through the vast pool of knowledge, analyzing it, and collaborating to solve problems is the new dilemma.&lt;/blockquote&gt;
&lt;p&gt;
I have had my fair share of information overload on the internet, and I never feel at a loss for not being able to find information.  However, I do admit that there is difficulty in being able to "sift through the vast pool of knowledge" and come to a conclusion.  Just a thought...
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-797137085353164992?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/797137085353164992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=797137085353164992&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/797137085353164992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/797137085353164992'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2009/01/vast-pool-of-knowledge.html' title='the vast pool of knowledge'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-7994583913427900911</id><published>2008-12-30T09:34:00.004-05:00</published><updated>2008-12-30T09:38:43.516-05:00</updated><title type='text'>Developers Bill of Rights</title><content type='html'>I like to have a nice machine to do my development work.  Do you?  Here is a new proposed "Developers Bill of Rights" from &lt;a href="http://www.codinghorror.com/blog/archives/000666.html"&gt;CodingHorror.com&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codinghorror.com/blog/archives/000666.html"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-7994583913427900911?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/7994583913427900911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=7994583913427900911&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7994583913427900911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7994583913427900911'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/12/developers-bill-of-rights.html' title='Developers Bill of Rights'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-2817913328622937297</id><published>2008-12-30T09:25:00.003-05:00</published><updated>2008-12-30T09:28:19.404-05:00</updated><title type='text'>Developer Ramp Up Time</title><content type='html'>Cool article on how to reduce the ramp-up time for new developers/consultants.&lt;br /&gt;
&lt;br /&gt;

&lt;a href="http://arcware.net/decreasing-developer-ramp-up-time/"&gt;Link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-2817913328622937297?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/2817913328622937297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=2817913328622937297&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2817913328622937297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2817913328622937297'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/12/developer-ramp-up-time.html' title='Developer Ramp Up Time'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1079610995239075432</id><published>2008-11-26T08:42:00.001-05:00</published><updated>2008-11-26T08:42:48.863-05:00</updated><title type='text'>CSS Color Scheme generator for the color-blind</title><content type='html'>&lt;p&gt;Recently while building a sample site with Windows Azure, I found myself trying to determine the color scheme for my site. I determined that my lack of color coordination was stopping any real progress, so I went to &lt;a href="http://www.colorhunter.com/"&gt;Color Hunter&lt;/a&gt; to develop a color scheme for use on my site. &lt;/p&gt;  &lt;p&gt;There are two key features that I found helpful &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;You can choose from other popular color schemes &lt;/li&gt;    &lt;li&gt;You can upload your own picture and Color Hunter will extract the colors from the image and give you the matching colors. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;If you have a minute, check it out. It is really cool and helped me sail through my CSS design phase. &lt;/p&gt; &lt;a href="http://www.colorhunter.com/"&gt;Link to Color Hunter&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1079610995239075432?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1079610995239075432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1079610995239075432&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1079610995239075432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1079610995239075432'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/11/css-color-scheme-generator-for-color.html' title='CSS Color Scheme generator for the color-blind'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-371050430936745914</id><published>2008-11-24T13:12:00.001-05:00</published><updated>2008-11-24T13:38:51.315-05:00</updated><title type='text'>Windows Azure PDC developer videos</title><content type='html'>&lt;p&gt;I have watched a few of the PDC sessions that were really helpful for me to get started with development of Azure SDK.  Here is a quick listing of some of them: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Watch Steve Marx write a simple app with Azure.&lt;br /&gt;&lt;a href="http://channel9.msdn.com/pdc2008/ES01" /&gt;link&lt;/a&gt; &lt;/li&gt;  &lt;li&gt;Brad Calder goes a little bit more in-depth with Azure storage.&lt;br /&gt;&lt;a href="http://channel9.msdn.com/pdc2008/ES04/" /&gt;link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;See how NSoftware and FullArmor have utilized the Azure cloud services&lt;br /&gt; &lt;a href="http://channel9.msdn.com/pdc2008/ES29/" /&gt;link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-371050430936745914?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/371050430936745914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=371050430936745914&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/371050430936745914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/371050430936745914'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/11/windows-azure-pdc-developer-videos.html' title='Windows Azure PDC developer videos'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-7012979140793051316</id><published>2008-11-24T10:40:00.001-05:00</published><updated>2008-11-24T10:40:40.134-05:00</updated><title type='text'>Windows Azure Developer Starter Guide</title><content type='html'>&lt;p&gt;Recently, I started to look into development on the &lt;a href="http://microsoft.com/azure" target="_blank"&gt;Windows Azure&lt;/a&gt; CTP platform with the release of the SDK.&amp;#160; I am going to write a developers guide to getting started with Azure CTP.&amp;#160; Let’s get started!&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Software Requirements&lt;/strong&gt;:       &lt;ul&gt;       &lt;li&gt;Vista or Server 2008 &lt;/li&gt;        &lt;li&gt;Visual Studio 2008 SP1 or &lt;a href="http://www.microsoft.com/express/vwd/" target="_blank"&gt;VS Web Express Version&lt;/a&gt; &lt;/li&gt;        &lt;li&gt;&lt;a href="http://www.microsoft.com/express/sql/" target="_blank"&gt;SQL Express&lt;/a&gt; 2005 or 2008 (if you already have a full version of SQL Server running, you must install Express as a new instance. &lt;/li&gt;        &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;amp;displaylang=en" target="_blank"&gt;.NET 3.5 SP1&lt;/a&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Once you have all the required software on your machine, you need to install the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=130232" target="_blank"&gt;SDK&lt;/a&gt; and the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=128752" target="_blank"&gt;VS plug-in&lt;/a&gt;. The plug-in adds a project template to VS so that you can create a project with the appropriate web and worker roles. &lt;/li&gt;    &lt;li&gt;The SDK installs &lt;strong&gt;two main working components&lt;/strong&gt;: The development storage service and the Azure fabric.&amp;#160; These two components have &lt;a href="http://msdn.microsoft.com/en-us/library/dd203061.aspx" target="_blank"&gt;UI monitoring tools&lt;/a&gt; that allow you to view process/tracing information and service statuses.&amp;#160; You can manually start these services by going to your Start menu &amp;gt; Programs &amp;gt; Windows Azure SDK (but for the sake of this tutorial, wait until the next step to start the services). &lt;/li&gt;    &lt;li&gt;To &lt;strong&gt;start up your local Azure fabric and development storage&lt;/strong&gt;, navigate to and execute the batch file &lt;strong&gt;~/Program Files/Windows Azure SDK/Samples/&lt;strong&gt;RunDevStore.cmd&lt;/strong&gt; &lt;/strong&gt;. This will build your sample projects, start the Azure fabric and dev storage and create the appropriate storage structure.&amp;#160; You can start one of the apps from the command line by navigating to the root folder of an app (ex. HelloWorld) and executing the runme.cmd file. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Lets code&lt;/strong&gt; (dave code)!&amp;#160; Open Visual Studio (as Administrator) and create a new project:       &lt;ul&gt;       &lt;li&gt;select Cloud Services from the Visual C# project type &lt;/li&gt;        &lt;li&gt;In the Templates list, select Web Cloud Service. This creates a web role.&amp;#160; This web role handles http requests and serves up ASP. NET pages. If you choose the template that has both web and worker role, you will see the worker role is added.&amp;#160; This worker role acts as a service running locally that can interact with the development storage, role manager, etc. &lt;/li&gt;        &lt;li&gt;In your project, open up Default.aspx and change some text.&amp;#160; Hit F5 and you will see your changes in the browser. &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;Storage Client Library&lt;/strong&gt;:&amp;#160; Open up the sample project title Storage Client Library, you will notice that there is a whole library of classes and methods for interacting with the development storage.&amp;#160; If you add this project to your solution you can debug through and see how it works.&amp;#160; You can utilized the exposed classes to write your own Azure apps.&amp;#160; See the &lt;a href="http://msdn.microsoft.com/en-us/library/dd179406.aspx" target="_blank"&gt;SDK sample apps&lt;/a&gt; for examples on how to use the Storage Client Library. (This library is based on the ADO.NET data services.&amp;#160; If you have had experience with ADO.NET, you may have dealt with &lt;a href="http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.aspx" target="_blank"&gt;DataServiceContext class&lt;/a&gt;.&amp;#160; If you are interested in looking at the plumbing of the Storage Client Library, you will see plenty of ADO.NET classes leveraged.) &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I hope this tutorial has been helpful for you.&amp;#160; Please &lt;a href="mailto:makoto83[at]hotmail[dot]com" target="_blank"&gt;drop me a line&lt;/a&gt; if you have any questions about getting started.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-7012979140793051316?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/7012979140793051316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=7012979140793051316&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7012979140793051316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7012979140793051316'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/11/windows-azure-developer-starter-guide.html' title='Windows Azure Developer Starter Guide'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1273110013478327756</id><published>2008-11-19T11:21:00.001-05:00</published><updated>2008-11-19T11:21:23.095-05:00</updated><title type='text'>Ninja Cats</title><content type='html'>&lt;p&gt;I had to share this commercial featuring ninja cat.  Enjoy :-)&lt;/p&gt; &lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fZBOJ25e7GQ&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/fZBOJ25e7GQ&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt; &lt;p&gt; Ok-I must give in.  Initialize(LOL cats); &lt;/p&gt; &lt;a href="http://icanhascheezburger.com/2008/07/22/funny-pictures-was-never-here/"&gt;&lt;img class="mine_1496695" src="http://icanhascheezburger.wordpress.com/files/2008/07/funny-pictures-ninja-cat-was-never-here.jpg" alt="cat" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt; &lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/muLIPWjks_M&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/muLIPWjks_M&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1273110013478327756?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1273110013478327756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1273110013478327756&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1273110013478327756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1273110013478327756'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/11/ninja-cats.html' title='Ninja Cats'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1789934579917668060</id><published>2008-11-03T08:57:00.003-05:00</published><updated>2008-11-19T11:24:38.448-05:00</updated><title type='text'>Microsoft Certified!</title><content type='html'>I just recently gained my &lt;a href="http://www.microsoft.com/learning/mcp/mcts/default.mspx" target="_blank"&gt;MCTS&lt;/a&gt; Web Apps certification. What does this mean? It means I took &lt;a href="http://www.microsoft.com/learning/mcp/mcts/webapps/default.mspx" target="_blank"&gt;two exams&lt;/a&gt; focused on using the ।NET Framework 2.0 to develop web applications.  Here is my cool new logo:&lt;br /&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TAuljcZhjkk/SSQ9hQbyUiI/AAAAAAAAByc/tCyWvlSa80A/s1600-h/MCTS%28rgb%29_513.gif"&gt;&lt;img style="cursor: pointer; width: 242px; height: 80px;" src="http://2.bp.blogspot.com/_TAuljcZhjkk/SSQ9hQbyUiI/AAAAAAAAByc/tCyWvlSa80A/s320/MCTS%28rgb%29_513.gif" alt="" id="BLOGGER_PHOTO_ID_5270405105486811682" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1789934579917668060?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1789934579917668060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1789934579917668060&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1789934579917668060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1789934579917668060'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/11/microsoft-certified.html' title='Microsoft Certified!'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_TAuljcZhjkk/SSQ9hQbyUiI/AAAAAAAAByc/tCyWvlSa80A/s72-c/MCTS%28rgb%29_513.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-3281110021023767914</id><published>2008-10-09T16:09:00.001-04:00</published><updated>2008-10-09T16:11:37.091-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Management Instrumentation'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>How to read disk drive information using C#</title><content type='html'>&lt;p&gt;I just came across some cool C# code while preparing for the Microsoft 70-536 exam.  Using the Windows Management Instrumentation (WMI), you can inspect a machine for available disk drives.  Add the System.Management assembly as a reference in your project, and off you go: &lt;/p&gt;  &lt;pre name="code" class="c-sharp:nocontrols"&gt;
ManagementScope DemoScope=new ManagementScope("\\\\enter_machine_name_here\\root\\cimv2");
ObjectQuery DemoQuery = new ObjectQuery("SELECT Size, Name FROM Win32_LogicalDisk WHERE DriveType=3");
ManagementObjectSearcher DemoSearcher = new ManagementObjectSearcher(DemoScope, DemoQuery);
ManagementObjectCollection AllObjects = DemoSearcher.Get();
foreach (ManagementObject DemoObject in AllObjects)
{
Console.WriteLine("Resource Name:" + DemoObject["Name"].ToString());
Console.WriteLine("Resource Size:" + DemoObject["Size"].ToString());
}
Console.Read();
&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-3281110021023767914?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/3281110021023767914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=3281110021023767914&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/3281110021023767914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/3281110021023767914'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/10/how-to-read-disk-drive-information.html' title='How to read disk drive information using C#'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-2958849929164131650</id><published>2008-10-02T16:15:00.002-04:00</published><updated>2008-10-02T16:18:40.947-04:00</updated><title type='text'>Where does my stuff come from?</title><content type='html'>&lt;p&gt;If you have ever wondered where the casing from your cell phone was made, or how much of an impact throwing away a juice box makes on environment, this video is for you. I found &lt;a href="http://www.storyofstuff.com/" target="_blank"&gt;Story of Stuff&lt;/a&gt; linked on Damien Rice’s &lt;a href="http://myspace.com/damienrice" target="_blank"&gt;MySpace&lt;/a&gt; page.  The website shows a very well done video explanation of where “stuff” comes from.  Not only where it comes from, but we should think twice about using that stuff. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;SPOILER WARNING:&lt;/strong&gt; This video is not a I-feel-so-guilty-I-am-going-to-live-in-a-shack-in-the-woods kind of presentation. It was produced to let everyday people know that there is a story behind our large amounts of stuff. It does not just appear magically on the shelves at Kroger.&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;
Link: &lt;a href="http://www.storyofstuff.com/" target="_blank"&gt;Story of Stuff&lt;/a&gt;&lt;/strong&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-2958849929164131650?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/2958849929164131650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=2958849929164131650&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2958849929164131650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2958849929164131650'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/10/where-does-my-stuff-come-from.html' title='Where does my stuff come from?'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-4763758532916043883</id><published>2008-08-30T14:11:00.000-04:00</published><updated>2008-09-08T14:57:23.150-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='soccer'/><title type='text'>Soccer is a google Beta - Football is a Microsoft release (Process vs Result)</title><content type='html'>Here is an interesting article about how American Football embodies American result-driven, instant gratification mentality, and how Soccer is quite the opposite.   &lt;br /&gt;(This article chronicles a &lt;a href="http://www.twitter.com"&gt;Twitter&lt;/a&gt; 'tweet thread'...and no I am not going to join Twitter)   &lt;blockquote&gt;Fill in the blanks, everybody: Soccer is ____. Football is _____. Football is American because ____. &lt;/blockquote&gt; &lt;a href="http://www.buzzmachine.com/2008/08/22/soccer-is-a-google-beta-football-is-a-microsoft-release/"&gt;Read the article on Buzzmachine&lt;/a&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-4763758532916043883?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/4763758532916043883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=4763758532916043883&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4763758532916043883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4763758532916043883'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/08/soccer-is-google-beta-football-is.html' title='Soccer is a google Beta - Football is a Microsoft release (Process vs Result)'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-8528565847815814534</id><published>2008-07-14T16:40:00.001-04:00</published><updated>2008-07-21T14:53:24.812-04:00</updated><title type='text'>Lessons in managing (from a developers prospective)</title><content type='html'>&lt;p&gt; If you are feeling stressed about the deadline of your project, it is natural to feel the urge to crack the whip and be on your teammates backs. However, after my recent experience in which I was responsible for making sure our code was delivered on time, I have learned that micro-managing others is not a good approach. &lt;/p&gt;   &lt;p&gt;If you are a developer, it is more than likely you know the feeling of having someone watching your every move. I don't know about others, but I don't like it. As a professional, I make every effort to make the most of my time. Having someone telling me to work faster only works the first two or three time....then it becomes bothersome. &lt;/p&gt; &lt;p&gt; So, if you are feeling like you are becoming "that guy" who is micromanaging your employees, try to re-align your outlook with these few guidelines* &lt;/p&gt;  &lt;ol&gt; &lt;li&gt;Challenge yourself to find a 20/80 balance.  Use 20% of your time to manage others, and 80% of your time to accomplish your tasks.  Take the focus off of making sure your employees are completing your work, and make sure  you complete yours!&lt;/li&gt;  &lt;li&gt;Communicate your concerns/fears to your superior.  If you are feeling too stressed out to deal with all the issues/blocks, or you don't think you can meet the deadline: TALK TO YOUR SUPERIOR! It is their job to make sure you get your job done. &lt;/li&gt; &lt;li&gt;Following my previous point, don't release your frustration on those below you.  Release your burdens upwards, not downward. Those below you will just feel depressed if you unload on them. Those above you can actually help you overcome those issues. &lt;/li&gt; &lt;/ol&gt; &lt;p&gt; I hope you find this helpful! &lt;/p&gt; &lt;p&gt;*Thanks to &lt;a href="http://www.jeffreyhunsaker.com/"&gt;Jeff Hunsaker&lt;/a&gt; for sharing his wisdom and experience &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-8528565847815814534?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/8528565847815814534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=8528565847815814534&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8528565847815814534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8528565847815814534'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/07/lessons-in-managing-from-developers.html' title='Lessons in managing (from a developers prospective)'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1999129185436990636</id><published>2008-06-27T11:26:00.001-04:00</published><updated>2008-06-27T11:26:05.400-04:00</updated><title type='text'>Star Wars Telnet</title><content type='html'>&lt;p&gt; If you have a few minutes and an internet connection, then you might be interested in watching the famed motion picture, Star Wars! .....in your command prompt window ;-)   &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Start &lt;li&gt;Run... &lt;li&gt;type this into the command prompt: &lt;code&gt;telnet towel.blinkenlights.nl&lt;/code&gt; &lt;li&gt;Enjoy! &lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1999129185436990636?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1999129185436990636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1999129185436990636&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1999129185436990636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1999129185436990636'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/06/star-wars-telnet.html' title='Star Wars Telnet'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-4234103898696183266</id><published>2008-06-16T14:18:00.000-04:00</published><updated>2008-06-16T14:48:40.449-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cross-browser integration'/><title type='text'>IE (5.5,6,7,8) version testing de-mystified</title><content type='html'>&lt;p&gt;As a result of recently passing the 70-528 exam, I decided to start sharing my vast knowledge of ASP.NET with the world (ha).  Ok, so really I just wanted to test my abilities by responding to some forum posts on www.asp.net/forums.  I have made some good suggestions (IMO) and have sent some links to people with some ideas on how to overcome their problem.&lt;/p&gt;&lt;p&gt; One post that I made recently was in regards to a question about how to best test different versions of IE when dealing with UI issues, such as CSS and javascript.  I posted some links about some solutions I have come up with over my 2 years of web development. &lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;strong&gt;IE 6 VPC&lt;/strong&gt;: This is a great tool for any developer who already utilizes &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;amp;DisplayLang=en" target="_blank"&gt;Microsoft Virtual PC 2007&lt;/a&gt;. As we all know, you cannot install two versions of IE on your machine at once. But, if you have two instances of WinXP running on your machine, you can have a different version in each one! Once you have MS VPC 2007 installed, you can run the VPC on your local machine, and test your web app with both your local machines version of IE(7 or 8), and the VPC (IE6)&lt;br /&gt; &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&amp;amp;displaylang=en" target="_blank"&gt;Download Virtual HD here&lt;/a&gt;.&lt;/li&gt;     &lt;li&gt;&lt;strong&gt;IE Developer Toolbar &amp; IE7PRO&lt;/strong&gt;: If you are running IE7 and want to see the DOM, CSS, javascript, generated source, etc, then you need to download these tools. &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;amp;displaylang=en" target="_blank"&gt;IE Developer Toolbar&lt;/a&gt; was developer for IE by the IE team. This tool allows you to click on UI elements, and see source HTML information. You can navigate through the dom visually and do a lot of other cool things. The other tool is &lt;a href="http://www.ie7pro.com/" target="_blank"&gt;IE7Pro&lt;/a&gt;.  It allows you to have many useful pieces of functionality that you don't get from IE7 out of the box. Improved tabbed browsing functionality, view generated source, and many more useful features that you might miss if you have been using Firefox recently.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;IETester&lt;/strong&gt;This tool shows a side by side comparison of how a web page renders. You can choose the rendering engines all the way back to IE5.5 up to the new beta IE8.  If you use this tool extensively, &lt;a href="mailto:makoto83@hotmail.com" target="_blank"&gt;send me your feedback&lt;/a&gt; as I am curious to hear what others think of it.&lt;br/&gt;&lt;a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank"&gt;Download IE Tester Here&lt;/a&gt; &lt;/li&gt;   &lt;/ul&gt;&lt;p&gt;Ok, that is about it for IE testing utilities. Hope this helps you out!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-4234103898696183266?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/4234103898696183266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=4234103898696183266&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4234103898696183266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/4234103898696183266'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/06/ie-55678-version-testing-de-mystified.html' title='IE (5.5,6,7,8) version testing de-mystified'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-5679705360375671728</id><published>2008-04-14T17:05:00.011-04:00</published><updated>2008-04-16T13:01:38.444-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='api'/><category scheme='http://www.blogger.com/atom/ns#' term='charts'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google CHARTS api</title><content type='html'>In case you may need a simple charting solution, Google offers a great &lt;a href="http://code.google.com/apis/chart" target="_blank"&gt;API&lt;/a&gt; for simple charts. Check it out below:

All this took was an &amp;lt;img&amp;gt; tag with the source pointing to Google's chart api.
&lt;img alt="http://chart.apis.google.com/chart?cht=" src="http://chart.apis.google.com/chart?cht=p3&amp;amp;chd=t:60,30,10&amp;amp;chs=450x100&amp;amp;chl=Code|Dave|Code!"  /&gt;

&lt;pre name="code" class="html:nocontrols"&gt;
&amp;lt;img src="http://chart.apis.google.com/chart?cht=p3&amp;chd=t:60,30,10&amp;chs=450x100&amp;chl=Code|Dave|Code!" /&amp;gt;
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-5679705360375671728?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/5679705360375671728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=5679705360375671728&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/5679705360375671728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/5679705360375671728'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/04/google-charts-api.html' title='Google CHARTS api'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-8228773507199469319</id><published>2008-04-08T11:03:00.002-04:00</published><updated>2008-04-08T11:07:49.230-04:00</updated><title type='text'>Geek Speak &gt; Not as cool as you may think</title><content type='html'>I came across this &lt;a href="http://feeds.feedburner.com/~r/codesqueeze/blog/~3/265502144/" target="_blank"&gt;article&lt;/a&gt; today on &lt;a href="http://www.google.com/reader/shared/07900275079826722583" target="_blank"&gt;Google Reader&lt;/a&gt;. It teaches a great lesson for any deveoper who interacts directly with non-technical users/clients.
&lt;blockquote&gt;
Much like the elusive African dancing monkey who does a fantastic version of the Electric Slide to confuse their natural enemies; developers have the ability to sway entire debates in their favor by confusing their enemies with technical jargon. After all, &lt;strong&gt;who can argue with someone when they have no clue what the other person is talking about?&lt;/strong&gt;


&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-8228773507199469319?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/8228773507199469319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=8228773507199469319&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8228773507199469319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/8228773507199469319'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/04/geek-speak-not-as-cool-as-you-may-think.html' title='Geek Speak &gt; Not as cool as you may think'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-2626924238537941579</id><published>2008-02-25T12:19:00.016-05:00</published><updated>2008-02-26T15:16:18.741-05:00</updated><title type='text'>Save server memory with Response.TransmitFile()</title><content type='html'>So, two common tasks that I encounter when sending files to the browser:
&lt;ol&gt;&lt;li&gt;Open file within the browser&lt;/li&gt;&lt;li&gt;Open "file download" dialog box&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;
I used to use the Response.Write() method, but recently came across the &lt;a href="http://msdn2.microsoft.com/en-us/library/12s31dhy%28VS.80%29.aspx"&gt;Response.TransmitFile() method&lt;/a&gt;.  This method directly writes the file to the HTTP response stream and saves you from hogging up memory on the server.
&lt;/p&gt;
1) Open file within the browser
&lt;pre name="code" class="c-sharp:nocontrols"&gt;
Response.ContentType = "application/pdf";
//write file to the browser without saving file in server memory
Response.TransmitFile("c:\docs\pdfs\test1_1.pdf");
Response.End();
&lt;/pre&gt;



2) Open "file download" dialog box
&lt;pre name="code" class="c-sharp:nocontrols"&gt;
Response.ContentType = "application/pdf";
//add 'attachment' header to open 'file download' dialog box
Response.AddHeader("content-disposition", "attachment; filename=test1_1.pdf");
//write file to the browser without saving file in server memory
Response.TransmitFile("c:\docs\pdfs\test1_1.pdf");
Response.End();
&lt;/pre&gt;

&lt;p&gt;
Some other types of "write" methods that exist in the &lt;a href="http://msdn2.microsoft.com/en-us/library/system.web.httpresponse_methods%28VS.80%29.aspx"&gt;System.Web.HttpResponse&lt;/a&gt; class are
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;BinaryWrite()&lt;/span&gt;- use this method to output a file that is stored in a Base64 string format&lt;br /&gt;&lt;pre name="code" class="c-sharp:nocontrols"&gt;Response.BinaryWrite(Convert.FromBase64String(EncodedDocument));&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;WriteFile()&lt;/span&gt;-use this method if you desire for the file to be stored in memory, or if the file is already in memory.  This method is expensive because it stores the file object in memory, then transmits to the client.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Write()
&lt;/span&gt;-there are a few overloads for the type of objects that Write() can send to the client.  It is a flexible method and TransmitFile() or BinaryWrite() may better fit your specific needs&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-2626924238537941579?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/2626924238537941579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=2626924238537941579&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2626924238537941579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/2626924238537941579'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/02/save-server-memory-with.html' title='Save server memory with Response.TransmitFile()'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-7993812888486591538</id><published>2008-02-14T12:35:00.000-05:00</published><updated>2008-02-14T12:36:12.973-05:00</updated><title type='text'>Indiana Jones Trailer!!</title><content type='html'>The fourth installment of Indy!

http://gizmodo.com/356366/indiana-jones-iv-trailer-makes-us-wet-our-pants&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-7993812888486591538?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/7993812888486591538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=7993812888486591538&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7993812888486591538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/7993812888486591538'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/02/indiana-jones-trailer.html' title='Indiana Jones Trailer!!'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-682019309471365442</id><published>2008-01-22T13:04:00.000-05:00</published><updated>2008-01-29T10:14:05.420-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dynamic'/><category scheme='http://www.blogger.com/atom/ns#' term='aspx'/><category scheme='http://www.blogger.com/atom/ns#' term='.master'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='master page'/><title type='text'>Change Master Page styles based upon the current page</title><content type='html'>In ASP.NET, a common practice is to create a master page, and expose content regions to the .aspx pages to hold page-specific content.  One way that you can dynamically change the Masterpage content (i.e. add/remove asp controls, change style values) is to determine the actual page name (xyz.aspx) that is going to be displayed.

&lt;pre name="code" class="c-sharp:nocontrols"&gt;
string filePath = Context.Request.FilePath;
string pageName = filePath.Substring(filePath.LastIndexOf('/') + 1);
//pageName will now hold the name of the file requested
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
Once we figure out which page is being requested, we can handle the behavior.
&lt;br /&gt;&lt;br /&gt;
For example, if the page "NoBorderTables.aspx" should set all the tables to have no border, you can execute some code like this:
&lt;pre name="code" class="c-sharp:nocontrols"&gt;
 protected void Page_Load(object sender, EventArgs e)
        {
            
            if(!IsPostBack)
            {
                string filePath = Context.Request.FilePath;
                string pageName = filePath.Substring(filePath.LastIndexOf('/') + 1);
                
                switch(pageName.ToLower())
                {
                    case "NoBorderTables.aspx":
                         foreach (Table t in this.Page.Controls)
                         {
                           t.BorderStyle = BorderStyle.None;
                         }
                         break;
                 )
             )
         }
                    
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-682019309471365442?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/682019309471365442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=682019309471365442&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/682019309471365442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/682019309471365442'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/01/change-master-page-styles-based-upon.html' title='Change Master Page styles based upon the current page'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-1748280893070882791</id><published>2008-01-18T10:28:00.000-05:00</published><updated>2008-01-29T10:15:16.323-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='example'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='delete row'/><category scheme='http://www.blogger.com/atom/ns#' term='gridview'/><category scheme='http://www.blogger.com/atom/ns#' term='OnRowDeleting'/><category scheme='http://www.blogger.com/atom/ns#' term='datakey'/><title type='text'>Gridview - Delete a row</title><content type='html'>So, I recently developed an ASP:Gridview to display a list of documents. I was having some problems accessing the datakey of the row that the "delete" button resided in.  I looked around a bit, and I found a resolution on the asp.net forums. It turns out that the GridViewDeleteEventArgs object contains the current row index.  The DataKeys of the gridview are stored in the same order of the row indexes. You can access the DataKey (which in my case was the document ID number) by getting the GridView.DataKeys[e.RowIndex].
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Codebehind event handler for when "delete" button is clicked
&lt;i&gt;notice how the event handler event args type is set to "GridViewDeleteEventArgs"&lt;/i&gt;&lt;/b&gt;
&lt;pre name="code" class="c-sharp:nocontrols"&gt;
protected void DeleteDocument(object sender, GridViewDeleteEventArgs e)
{         

        int DocID = Convert.ToInt32(this.ListOfDocumentsGridview.DataKeys[e.RowIndex].Value);

        Document.DeleteByID(DocID);

}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-1748280893070882791?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/1748280893070882791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=1748280893070882791&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1748280893070882791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/1748280893070882791'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/01/gridview-delete-row.html' title='Gridview - Delete a row'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6550290188043595882.post-6074896015397540514</id><published>2008-01-14T14:56:00.000-05:00</published><updated>2008-01-29T10:14:32.156-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ternary'/><category scheme='http://www.blogger.com/atom/ns#' term='if'/><title type='text'>C# ternary if</title><content type='html'>Just to get some exposure for pretty specific searches, I wanted to give some examples of the ternary "if" statement in C#:

If you would like to set a variable by an "if...else" condition, it can be done with the ternary if statement.  (Notice I am also using the new .NET 3.5 "var" to declare my variable).  &lt;span style="font-style:italic;"&gt;In the example below, I want to see if I am old enough (25 yrs old) to rent a car without the "underage" fee. Is today 25 years or more from my date of birth:&lt;/span&gt;
&lt;pre name="code" class="c-sharp:nocontrols"&gt;
DateTime myBDay = "02/08/1982";
var AmIOldEnough = DateTime.Today &gt;= myBDay.AddYears(25) ? true : false;
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6550290188043595882-6074896015397540514?l=codedavecode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codedavecode.blogspot.com/feeds/6074896015397540514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6550290188043595882&amp;postID=6074896015397540514&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/6074896015397540514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6550290188043595882/posts/default/6074896015397540514'/><link rel='alternate' type='text/html' href='http://codedavecode.blogspot.com/2008/01/this-is-test-posting.html' title='C# ternary if'/><author><name>Dave Murray Miyamasu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://photos1.blogger.com/blogger/4835/1125/320/P3220072.jpg'/></author><thr:total>1</thr:total></entry></feed>
