<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8082669572514419427</atom:id><lastBuildDate>Thu, 16 Feb 2012 09:52:56 +0000</lastBuildDate><category>flag enum enumerations bit wise operators C# programming</category><category>.NET performance best practices for foreach loops interators recommendations</category><category>C# .NET 3.0 speech</category><category>LINQ differed execution C# .NET programming</category><category>Trace TraceSwitch TraceListener DefaultTraceListener TextTraceListener C# programming</category><category>c# programming Microsoft Enterprise Logging Application Block Log4Net Logging</category><category>programming .NET C# value types reference types best practices</category><category>programming .NET C# singleton best practice design globals</category><category>programming tips .NET VisualStudio</category><category>AJAX javascript XML JSON .NET</category><category>ajax javascript asp.net .net c#</category><title>The Fast Lane</title><description>Trials and Tribulations of an Enterprise Developer.</description><link>http://jaminroth.blogspot.com/</link><managingEditor>noreply@blogger.com (Jamin Roth)</managingEditor><generator>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jaminroth/fastlane" /><feedburner:info uri="jaminroth/fastlane" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-5046949563685360646</guid><pubDate>Thu, 24 Apr 2008 19:39:00 +0000</pubDate><atom:updated>2008-04-24T12:46:15.479-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">programming tips .NET VisualStudio</category><title>Quick Tip - Add A Visual Studio File As A Link</title><atom:summary>Have ever wanted to include a file in a Visual Studio project, but you didn't want it to be copied to the project directory?  You could hack the location into the project file, but editing XML seems to be overkill for such a simple task.  A colleague at work showed me a better way (thanks Cliff!).  Use the Add As Link option.  It is in an obscure location.  When you go to add an existing item you</atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/jEptAwekzTs/quick-tip-add-visual-studio-file-as.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/quick-tip-add-visual-studio-file-as.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-7588329401787279360</guid><pubDate>Tue, 22 Apr 2008 22:17:00 +0000</pubDate><atom:updated>2008-04-22T15:18:51.174-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">LINQ differed execution C# .NET programming</category><title>When is a LINQ Statement Executed?</title><atom:summary>LINQ statements are the latest and greatest from Microsoft's .NET Framework.  If used correctly they can make complex operations readable, maintainable and simple.  Here is a simple example:string[] characters = { "Ender", "Peter", "Valitine", "Stilson", "Graff", "Anderson" };var eCharacters = from i in characters where i.Contains("e") select i;foreach (string character in eCharacters)  // Do </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/iJmJwHNh1Po/when-is-linq-statement-executed.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/when-is-linq-statement-executed.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-6745370130829089812</guid><pubDate>Thu, 17 Apr 2008 21:57:00 +0000</pubDate><atom:updated>2008-04-17T15:02:03.888-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C# .NET 3.0 speech</category><title>Speech Libraries added to .NET 3.0</title><atom:summary>Microsoft has wrapped the SAPI into .NET 3.0 with the System.Speech namespace.  System.Speech has two main sections.  They are Recognition and Synthesis.  In order to use the System.Speech library you need to add a reference to it.SynthesisSynthesis can be done very easily.             SpeechSynthesizer synthesizer = new SpeechSynthesizer();            synthesizer.Speak("This text is spoken by </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/1qny5CCpUkc/speech-libraries-added-to-net-30.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/speech-libraries-added-to-net-30.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-6168846559601053936</guid><pubDate>Fri, 11 Apr 2008 16:30:00 +0000</pubDate><atom:updated>2008-04-11T09:33:33.146-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AJAX javascript XML JSON .NET</category><title>The X in AJAX Is For XML Right?</title><atom:summary>AJAX is generally accepted as asynchronous Javascript and XML.  It is documented as such on Wikipedia.  Although I've found that XML isn't the best choice in transmitting data with Javascript.  I'll show you why.  Lets look at my previous AJAX example.  Here we sent just the text of the customer's name and then send back their address.  We aren't even using XML.  This is fine for this simple </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/IZRR_aVK2E0/x-in-ajax-is-for-xml-right.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/x-in-ajax-is-for-xml-right.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-3742897895875095705</guid><pubDate>Thu, 10 Apr 2008 17:20:00 +0000</pubDate><atom:updated>2008-04-10T10:28:58.814-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ajax javascript asp.net .net c#</category><title>AJAX in ASP.NET</title><atom:summary>AJAX is simply a callback to the web server that doesn't refresh the current web page.  Most AJAX application then use that information to dynamically modify the web page.  We can quickly setup an AJAX call in ASP.NET.  To start we need to have a web form.  For this example we'll add a input text box, a button(not a submit button), and a textarea.  You will input a customer's name in the input </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/5fopflS6fgk/ajax-in-aspnet.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/ajax-in-aspnet.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-7971269251675262718</guid><pubDate>Thu, 03 Apr 2008 20:32:00 +0000</pubDate><atom:updated>2008-04-03T15:22:58.207-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Trace TraceSwitch TraceListener DefaultTraceListener TextTraceListener C# programming</category><title>Do your .NET assemblies have Trace Statements?  Maybe they should.</title><atom:summary>Have you ever had a problem with your code in a production environment?  If not you must be awful lucky.  For the rest of us I'm sure we have spent may hours troubleshooting code that worked fine in development, but is now not working in the production environment.  If you've used the Debug class to output debug messages you mostly like have found that these don't work in release builds.  Yes you</atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/RBC4MvYz0B8/do-your-net-assemblies-have-trace.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/04/do-your-net-assemblies-have-trace.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-1002411581874151553</guid><pubDate>Wed, 02 Apr 2008 16:24:00 +0000</pubDate><atom:updated>2008-04-02T09:33:07.493-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">c# programming Microsoft Enterprise Logging Application Block Log4Net Logging</category><title>Is Enterprise Logging Application Block the best choice for Logging?</title><atom:summary>I've been using Log4Net for quite some time now, but I recently came across a new logging framework called Microsoft's Enterprise Logging Application Block.  That is quite a mouthful, but it sounds promising.  The Logging Application Block is part of a collection of other application blocks that is called the Enterprise Library.  The Enterprise Library contains eight application blocks:</atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/vVvGsBRhuF4/is-enterprise-logging-application-block.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>2</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/03/is-enterprise-logging-application-block.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-4412567859511868303</guid><pubDate>Fri, 28 Mar 2008 21:13:00 +0000</pubDate><atom:updated>2008-03-28T14:47:24.963-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET performance best practices for foreach loops interators recommendations</category><title>Are ForEach Loops Slower Then For Loops?</title><atom:summary>While reading some of Microsoft's patterns and practices material on optimizing .NET code I ran across an interesting comment.  Microsoft recommends using for instead of foreach in performance sensitive loops.To test I started out using the ArrayList on a bunch of strings.  To get the best accuracy I P/Invoked GetTickCount .  Here is what I found:Collection SizeForeach Loop TicksFor Loop </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/wxDgQdzNy2M/are-foreach-loops-slower-then-for-loops.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/03/are-foreach-loops-slower-then-for-loops.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-4689588397339726879</guid><pubDate>Tue, 25 Mar 2008 23:13:00 +0000</pubDate><atom:updated>2008-03-25T16:14:44.444-07:00</atom:updated><title>Class Creation - To Create or Not To Create, That Is The Question.</title><atom:summary>It can be difficult to decide when to create a class.  Most of the time it's clear when you need to create a class to perform a task but I've put together a list for those edge cases.  Hopefully this will help you resolve your dilemma.Reasons to create a class:Model real-world objectsModel abstract objectsReduce complexityIsolate complexity Hide implementation details Limit effects of changes </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/i56l-Mw5W4o/class-creation-to-create-or-not-to.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/03/class-creation-to-create-or-not-to.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-3674923429928877694</guid><pubDate>Thu, 20 Mar 2008 20:33:00 +0000</pubDate><atom:updated>2008-03-20T13:34:00.500-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">flag enum enumerations bit wise operators C# programming</category><title>Multiple Boolean Variables Without all The Declarations</title><atom:summary>I need to have a bunch of boolean variables.  Say I have a Car class that needs to indicate a bunch of features like air conditioning, leather seats, stereo, power windows, power seats or alarm system.  I could declare the Car class like this:public Car{  public string Make;  public string Model;  public bool AirConditioning;  public bool LeatherSeats;  public bool Stereo;  public bool </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/UHE3cPLRypE/multiple-boolean-variables-without-all.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/02/multiple-boolean-variables-without-all.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-4764105821782008506</guid><pubDate>Wed, 20 Feb 2008 02:20:00 +0000</pubDate><atom:updated>2008-03-24T15:13:43.355-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">programming .NET C# singleton best practice design globals</category><title>Singletons, Good Design or Global Disaster?</title><atom:summary>Singletons are objects that are instantiated only once throughout the life of your application.  Singletons can be very useful, but like most things if they are over used they can create problems.  In most cases if you can avoid using a singleton you should.  With that said lets take a look at singletons and you can decide for yourself where and when to use them.In C# a declaration of a singleton</atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/2z9QnFru8p0/singletons-good-design-or-global.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>1</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/02/singletons-good-design-or-global.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-8646299574014628227</guid><pubDate>Sat, 16 Feb 2008 04:02:00 +0000</pubDate><atom:updated>2008-02-18T20:18:11.845-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">programming .NET C# value types reference types best practices</category><title>String is a reference or a value type?</title><atom:summary>I've had a number of discusions about value types and reference types in .NET. Some developers have a good dictionary meaning of a reference type and a value type. Getting down to the nitty gritty of reference types and value types seems to stump even some of the brightest developers.A few years ago I was interviewing for a software development position at a larger company and the interviewer </atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/NeCNLHox8bw/string-is-reference-or-value-type.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/02/string-is-reference-or-value-type.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8082669572514419427.post-512766043592183238</guid><pubDate>Tue, 12 Feb 2008 17:10:00 +0000</pubDate><atom:updated>2008-02-12T09:35:51.878-08:00</atom:updated><title>Family Website with Blog and Pictures</title><atom:summary>Seems like a simple request, right?  Well it wasn't an easy choice for me because I had previously created a ASP web album and family web site that had some unique features.  Single or groups of pictures could be tagged.  Pictures could be searched based on people in the picture, tag and date range.  I created a VB6 app to upload and label the pictures which was converted to C#.  It worked fairly</atom:summary><link>http://feedproxy.google.com/~r/jaminroth/fastlane/~3/YHDc0m6kFDg/family-website-with-blog-and-pictures.html</link><author>noreply@blogger.com (Jamin Roth)</author><thr:total>0</thr:total><feedburner:origLink>http://jaminroth.blogspot.com/2008/02/family-website-with-blog-and-pictures.html</feedburner:origLink></item></channel></rss>

