Skip to content
Michael Bowersox's Blog
  • Photography
  • Resume
  • Contact
  • .NET

    1. Home>
    2. .NET

    Using IDisposable to Create a Simple Code Timer

    • Post author:Michael Bowersox
    • Post published:March 11, 2014
    • Post category:.NET/C#
    • Post comments:0 Comments

    The IDisposable interface is typically implemented by objects that are using resources that need to be released in a timely manner rather than waiting for the garbage collector to clean…

    Continue ReadingUsing IDisposable to Create a Simple Code Timer

    Streaming Data Between Databases using SqlBulkCopy and SqlDataReader

    • Post author:Michael Bowersox
    • Post published:December 1, 2011
    • Post category:.NET/C#/SQL Server
    • Post comments:0 Comments

    One little known fact about SqlBulkCopy is that not only can the WriteToServer method use a DataTable, but it can also use any object that implements IDataReader.  Since the SqlDataReader…

    Continue ReadingStreaming Data Between Databases using SqlBulkCopy and SqlDataReader

    Semaphores in C#

    • Post author:Michael Bowersox
    • Post published:January 16, 2011
    • Post category:.NET/C#
    • Post comments:1 Comment

    A short while ago I had a need to limit simultaneous requests to a web service from a multi-threaded application to prevent timeouts.  I learned about semaphores in school and…

    Continue ReadingSemaphores in C#

    RSS

       

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Tags

    .NET Apple ASP.NET ASP.NET AJAX Asynchronous Computation Expressions C# Charting Cocoa Common Table Expressions F# Feature Receivers Objective-C Page Methods SharePoint SharePoint CustomActions SharePoint User Profiles SharePoint Web Parts SharePoint Web Services SQL Server Themes Threading Visual Studio WPF WSPBuilder XCode

    Web Comics

    • Cyanide & Happiness
    • xkcd
    Copyright - WordPress Theme by OceanWP