Sign In
blambert's blog
Developer blog of Brian Lambert
About
Email Blog Author
RSS for posts
Atom
Archives
April 2010
(1)
March 2010
(2)
January 2010
(2)
July 2009
(6)
June 2009
(1)
March 2009
(2)
February 2009
(13)
October 2008
(1)
August 2008
(1)
MSDN Blogs
>
blambert's blog
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
blambert's blog
DOCS.COM
Posted
over 2 years ago
by
x11mnt
0
Comments
For the last 4 months, Matt Augustine and myself, along with Raman Narayanan, Richard Speyer, and Andrzej Turski, have been the main devs on http://docs.com . What an amazing project! My role in all of this was to bring up some very custom roles inside...
blambert's blog
HRESULT=D0000033 When calling CloudDrive.Mount
Posted
over 2 years ago
by
x11mnt
0
Comments
I’ve been working with Azure’s new CloudDrive capability, and today I ran into a problem with caching that I thought I would share the workaround for. The first step in using caching with CloudDrive is to define a LocalResource for the role in the csdef...
blambert's blog
Moving to Redmond!
Posted
over 2 years ago
by
x11mnt
4
Comments
Well, it’s official -- I am moving to Redmond to work for Microsoft. I’m very excited about the opportunity to be on the Mother Ship and work on cool stuff with my team here. Best! Brian
blambert's blog
Entity Group Transactions and Development Storage
Posted
over 2 years ago
by
x11mnt
0
Comments
Have you gotten the error: InvalidInput One of the request inputs is not valid when performing an Entity Group Transaction against Development Storage? If so, read on. Recently, I’ve been working on a Windows Azure project, and it’s wonderful that...
blambert's blog
Extending the int type to have a For method
Posted
over 2 years ago
by
x11mnt
2
Comments
It’s been months since I had anything interesting to blog about. Mostly because I was working away on some new stuff I couldn’t talk about. Anyway, now I feel like blogging again. I’m working on an Azure Worker Role which processes messages...
blambert's blog
Are you a Maker or a Manager?
Posted
over 3 years ago
by
x11mnt
1
Comments
Paul Graham writes very useful stuff. I respect his mind. Read his Maker’s Schedule, Manager’s Schedule essay for what I think is one of the smartest descriptions of the classic problem all programmers face. Spread this meme in your organization...
blambert's blog
Stopwatch on Interlocked.Increment(ref x) vs. lock (y) { x++; }
Posted
over 3 years ago
by
x11mnt
5
Comments
Given 10 million iterations: object y = new object (); const int iterations = 10000000; Which is faster, InterlockedIncrement: stopWatch = Stopwatch .StartNew(); for ( int i = 0; i < iterations; i++) { Interlocked .Increment( ref...
blambert's blog
A simple and totally thread-safe implementation of IDisposable
Posted
over 3 years ago
by
x11mnt
1
Comments
A simple and totally thread-safe implementation of IDisposable, with improved semantics over the Dispose() / Dispose(bool disposing) reference implementation. Now updated, slightly, after a consult with someone much smarter than me, who suggested...
blambert's blog
An invariant version of the same…
Posted
over 3 years ago
by
x11mnt
0
Comments
An invariant version of the same… /// <summary> /// Extends StringBuilder so that it has an AppendFormatLineInvariant method. /// </summary> /// <param name="value"> The StringBuilder being extended. </param> //...
blambert's blog
A missing method from StringBuilder…
Posted
over 3 years ago
by
x11mnt
0
Comments
StringBuilder is so useful. Does it all. But it’s missing a method. Here it is: /// <summary> /// Extends StringBuilder so that it has an AppendFormatLine method. /// </summary> /// <param name="value">...
blambert's blog
Useful extension method for the object type…
Posted
over 3 years ago
by
x11mnt
2
Comments
Here’s a useful extension method for the object type: /// <summary> /// Extends object to have a ValidateArgumentNotNull method. /// </summary> /// <remarks> /// Validates that an object is not null. If the object is null, //...
blambert's blog
I’ve been BUSY!
Posted
over 3 years ago
by
x11mnt
1
Comments
I’ve been BUSY! I travelled to New York to take some training ( Jeffrey Richter , C# Threading), to Seattle for some more training ( Scott Bain , TDD) to Bar Harbor, Maine for some R&R, then back to Seattle for an internal engineering conference ...
blambert's blog
blambert/azure - Windows Azure ASP.MVC Web Roles - Thinking Outside The Box
Posted
over 3 years ago
by
x11mnt
1
Comments
Azure Ninja Part 2! (空色の忍者) In my last posting I showed you how to run an Azure Worker Role outside the Development Fabric. In this posting, I am going to show you how to run an ASP.NET MVC Web Role outside the fabric, too. No special code required...
blambert's blog
blambert/azure – Windows Azure Worker Roles – Thinking Outside The Box
Posted
over 3 years ago
by
x11mnt
5
Comments
In this posting I am going to show you how to run an Azure Worker Role outside the Development Fabric. Why would you want to do this? Because you want to be an Azure Ninja! (空色の忍者) While testing an Azure Worker Role in the Development Fabric is...
blambert's blog
blambert/learnings – Don’t Base64 encode PartitionKey and RowKey values in Azure Table Storage.
Posted
over 3 years ago
by
x11mnt
2
Comments
Azure Table Storage is a “typeless” entity storage system. If you’re an RDBMS person, and learned about data storage by reading ISBN 0-201-14192-2 , Azure Table Storage is a different way of thinking about your data. In Azure Table Storage, an entity...
blambert's blog
blambert/codesnip – Better copy public properties between two objects implementing the same interface, CACHED.
Posted
over 3 years ago
by
x11mnt
3
Comments
You have some interface, IFoo. It is implemented by two concrete classes: Foo : IFoo (what you expose to the outside world) FooEntity : IFoo (what you store someplace; it’s a superset of Foo, which implements, IFoo) And you want a simple way to copy the...
blambert's blog
blambert/bugreport - ADO.NET Data Services Client URL encoding bug.
Posted
over 3 years ago
by
x11mnt
2
Comments
Today I was working with the ADO.NET Data Services Client, performing queries against Azure Table Storage, and I discovered that there is a bug in the URL encoding of some queries. (Though I was performing queries against Azure Table Storage, this bug...
blambert's blog
blambert/codesnip – Copy public properties between two objects implementing the same interface.
Posted
over 3 years ago
by
x11mnt
1
Comments
You have some interface, IFoo. It is implemented by two concrete classes: Foo : IFoo (what you expose to the outside world) FooEntity : IFoo (what you store someplace; it’s a superset of Foo, which implements, IFoo) And you want a simple way to copy the...
blambert's blog
blambert/codesnip – Faster byte array to hex string conversion.
Posted
over 3 years ago
by
x11mnt
1
Comments
Got a tight loop where you convert an array of bytes into a hex string? Here’s an updated blambert/codesnip: /// <summary> /// Hex string lookup table. /// </summary> private static readonly string [] HexStringTable = new string...
blambert's blog
blambert/codesnip – string extension method for validating that a string parameter is not null or empty.
Posted
over 3 years ago
by
x11mnt
1
Comments
I love extension methods. Here’s a simple little string extension method: /// <summary> /// Validates that the input string is not null or empty. If the input /// string is null, ArgumentNullException will be thrown. If the input ///...
blambert's blog
blambert/codesnip – Fast byte array to hex string conversion.
Posted
over 3 years ago
by
x11mnt
2
Comments
Got a tight loop where you convert an array of bytes into a hex string? Here’s a blambert/codesnip: /// <summary> /// Hex string lookup table. /// </summary> private static readonly string [] HexStringTable = new string [] { ...
blambert's blog
I’m a PC…
Posted
over 3 years ago
by
x11mnt
1
Comments
I’m a PC!!!
blambert's blog
langster…
Posted
over 3 years ago
by
x11mnt
1
Comments
So I bike everywhere. Most places, in fact. My current weapon of choice is my Specialized Langster. Here’s a factory shot: http://www.specialized.com/bc/SBCBkModel.jsp?spid=38444 I know… No street cred because it’s bought, not made… Who cares...
blambert's blog
More Azure ASP.NET MVC…
Posted
over 3 years ago
by
x11mnt
10
Comments
In my previous two posts I showed how to setup your system for Azure and ASP.NET MVC Development and the basics of how to create an Azure ASP.NET MVC Project . In this post, I will delve deeper into how to configure and deploy an Azure ASP.NET MVC Project...
blambert's blog
Creating an Azure ASP.NET MVC Project
Posted
over 3 years ago
by
x11mnt
8
Comments
You've installed all the software you need to build an ASP.NET MVC application and run it on Azure. Now it's time to make your first application. The first step is creating the Azure project: Select File/New/Project from Visual Studio 2008. ...
Page 1 of 2 (28 items)
1
2