Donkblog

Adventures into the world of amateurgramming. I'll leave the programming to the professionals.

Blog - About

About Donkblog

Brandon Turner graduated from Michigan State University in December of 2007 and started work at Microsoft on the Windows Live Writer Team in February of 2008.  His personal website is http://blogs.msdn.com/ControlPanel/Blogs/www.brandonturner.org

 

Q: What does your blog's name derive from?
A: That is a really good question. 

  • Donkblog

    Zemanta – Well That's a Fun Little Tool

    • 2 Comments
    Image via Wikipedia Zemanta recently released a new plugin for Windows Live Writer .  It opens it own sidebar and finds relevant media for your post based on the text you have entered so far.  Zemanta really seems to be trying to please their...
  • Donkblog

    Windows Live Writer – Technical Preview Available

    • 1 Comments
    http://windowslivewriter.spaces.live.com/default.aspx?wa=wsignin1.0   We just shipped our technical preview!  And this would be the first time I have shipped code at Microsoft!
  • Donkblog

    Windows 7 – First Demo Video

    • 1 Comments
  • Donkblog

    Plain text just doesn’t cut it sometimes – Windows Live Writer

    • 1 Comments
    In the past month I have seen a few blogs discuss that Windows Live Writer sends credentials to the blog service via plain text across HTTP.  This is most certainly true , but it doesn't need to be! WLW uses RSD to find the endpoints for atom/metaweblog...
  • Donkblog

    A little early, but who is keeping score? Timers!

    • 1 Comments
    I ran into a problem the other day at work where I had put in an assert to verify that a timer I was using was not being called back too early.  The timer interval was adjusted depending on user interaction and I just wanted to make sure interval...
  • Donkblog

    Winform Boy in a WPF World - Window Handle

    • 4 Comments
    I was fiddling with some WPF stuff the other day and I needed the handle to the form.  Windows in WPF do not have a property to get this like in WinForms, though there is a simple solution.  I have bundled the solution into a property to make...
  • Donkblog

    Test Post With Picture

    • 1 Comments
          Just trying a test post with a picture, most people can ignore.  Though, for those of you wondering, this is a picture of the construction on MS campus.
  • Donkblog

    Data Portability – I Guess It Wasn’t All Paperwork After All

    • 0 Comments
    Windows Live has teamed with Facebook, Bebo, Tagged, LinkedIn, and Hi5 to share contact information through some API.  This should make it easy to invite friends from one network to another without the networkings screen scrapping each other. ...
  • Donkblog

    .NET Is NOT Magic But It Is Darn Close - Integer Overflows

    • 1 Comments
    Integer overflows happen when an operation is performed on an numeric type that causes it to go over its max value or below its min value.  Integer oveflows can sometimes lead to security exploits when not taken care of properly.  .NET doesn...
  • Donkblog

    GetType() or 'is' keyword?

    • 2 Comments
    Sometimes you might run into a case where you want to know the type of an object you are dealing with.  When someone first faces this situation they find two ways to solve this problem.  They can use GetType() or they can use the 'is' keyword...
  • Donkblog

    Not All Code Render Blocks Are Created Equal - Part 1

    • 1 Comments
    There are 2 types main types of render blocks .  On one hand there are <%= %> style render blocks that are the more general type and allow the coder to print out directly to the html.  And on the other hand there is the <%# %> style...
  • Donkblog

    Wow, That's Pretty and Easy - AutoUpgradeEnabled for Open File Dialog

    • 2 Comments
    When you use the OpenFileDialog to allow your users to select files there are actually different styles the window might look like.  When using .NET and running on Vista you can see there is quite a difference.  The picture on the left is a...
  • Donkblog

    Assembly Version - Odds and Ends

    • 1 Comments
      What's the Assembly Version Good For? Using assembly version is a wonderful way for someone to help maintain and support their applications.  It is defined in the AssemblyInfo.cs file through an attribute.  You can manually update it...
  • Donkblog

    PathInfo - Url Rewriting for the Simple

    • 0 Comments
    Request.PathInfo gives you what is past the file name but before '?' which starts the query string.  So instead of doing www.foo.com/bar.aspx?var1=value you could do www.foo.com/bar.aspx/var1/value .  This helps a lot with SEO because search...
  • Donkblog

    Lazy Loading for the Lazy Coder

    • 1 Comments
    Lazy loading in properties is very common.  It is a relativity simple concept of only loading the data you once you actually need it, instead of front loading it all.  Though the problem with doing this all over the place is that you end up...
  • Donkblog

    Url Encoding, It's Not Just For Breakfast Anymore

    • 3 Comments
    I overheard two of my coworkers the other day talking about it and I actually ran into it myself the other day. What am I talking about? Its the common practice to use encode urls spaces as '-' when the standard says they should be '+'. For example...
  • Donkblog

    Singularity Is Now Shared Source!

    • 1 Comments
    Singularity the C# operating system with many new and cool ideas.  And it has finally gone shared source.  They threw the code up on on codeplex under the Microsoft Research License Agreement which is for academic non-commercial use.  I...
  • Donkblog

    The Dangers Of Exception Based Logic Part 2 - Filesystem Interaction

    • 5 Comments
    I have often time seen filesystem interaction code that heavily depends on exception handling.  Code out in the wild rarely exposes this problem in such a trivial way as my example code below, but just wanted to give another example.    ...
  • Donkblog

    The Dangers Of Exception Based Logic Part 1 - Parsing Integers

    • 3 Comments
    Exception based logic is one of those things that actually makes me cringe when I see it.  Often times it is really easy to avoid like in the case below.  Believe it or not, exceptions in .NET aren't cheap and shouldn't be taken for granted...
  • Donkblog

    'Alt Tab' for Visual Studio

    • 6 Comments
    Alt+tab is a common operation for Windows users.  Once a user masters the skill they can navigate between windows quickly.  Visual Studio has something similar but not with the same shortcut keys.  Crtl+Tab will bring up the window I show...
  • Donkblog

    Get Your Windows Live Hotmail In Outlook

    • 1 Comments
    If you have a Windows Live Hotmail Account you can actually check your email in Outlook with the Outlook Connector .  My favorite part about using this approach is that it doesn't add the advertisement at the bottom of your emails when you send them...
  • Donkblog

    Checking Return Values Without Saving Them

    • 1 Comments
    Often times I will be debugging some code and I want to see a return value of a function; but the value of the function is not saved into a variable for one reason or another. In the simplest form you can see this scenario in the following code:...
  • Donkblog

    It Is Nice To Be At The Top Of The Food Chain

    • 1 Comments
    The Back Story A very long time ago, maybe it was even as much as 2 years ago now, I wanted to answer the question 'Just how much overhead is there using one API call compared to another API call?'. This question came to mind after I realized just how...
Page 2 of 2 (48 items) 12