Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Comments

Hans Olav hansol Cloudtastic
  • Cloud Cover Episode 31 - Startup Tasks, Elevated Privileges, and Classic ASP

    Good show! I have two questions I would like answered:

    1. How is internet connection redundancy done in Azure? On my on-premise datacenter this is done by having two separate ISPs with different IP-ranges. The problem then is that it takes like 60 min to update the DNS entries if the primary ISP goes down and I need to emergency-switch to the secondary. See where I'm getting at?
    2. The new "Azure connect" and what-not is a bit confusing, will Azure finally have static IPs? The reason I'm asking is that a lot of my connections require fixed IP-addresses over tcp/ip.
  • Channel 9 Live at PDC10

    I don't think this is a daylight time confusion - it's a screwup, plain and simple Tongue Out

  • Channel 9 Live at PDC10

    And one more thing: Go Microsoft!!! Everyone has screwups, who cares! You bring Gold on a regular basis Smiley

  • Channel 9 Live at PDC10

    I'm stuck wondering if this is the ultimate FAIL for azure. While Microsoft is dogfooding their own azure platform and finding out it didn't work... I'm really feeling pitty for all the places around the world who's actually live-streaming this as an event with free pizza and whatnot.

    Not cool, microsoft...

    And someone (I'm thinking Dan Fernandez) please tell the truth about the failure... Would be very interesting to hear the story from the inside!

    Perplexed

  • TWC9 - Illustrator-to-Canvas, msPerformance, ExtensionMethod.net,

    @exoteric: Agreed! I love the succint syntax of the ?? operator, but the Contract.Requires stuff, that's attributes from a feature that's not in production yet, right? Or am I not up to speed here...

  • TWC9 - Illustrator-to-Canvas, msPerformance, ExtensionMethod.net,

    Epic Dan-rant from minute 16:

    "But then I try to create... a God-damn stream - but that's an abstract class... so then I need to find... a StreamWriter...but."

    Truer words were never spoken... And I love the way it ends with a "but", that but is what every developer feels like a grunt coming from your soul every time you try to convince yourself that correct encapsulation and abstraction layers and architecture comes before productivity and ease-of-use.

    Or wait... No it doesn't! Cover the 90% use-cases first and the 10% use-cases later. In the case of symmetric encryption the 90% use-cases are with a string-in string-out. An extension method for this need to be in String - and this needs to happen now as a critical reboot-all-servers update to .NET 4.0! Heck I'll even implement the solution right here and now:

      /// <summary>
      /// Critical extension methods to make encryption and decryption easy.
      /// </summary>
      public static class CriticalStringExtensions
      {
        /// <summary>
        /// Gets a Stream containing the bytes from the given string.
        /// </summary>
        /// <param name="source">String object.</param>
        /// <param name="encoding">Encoding to use. Uses UTF8 as default.</param>
        /// <returns></returns>
        public static Stream AsStream(this string source, Encoding encoding = null)
        {
          if (encoding == null)
            encoding = Encoding.UTF8;
          
          if (source.Length > 0)
            return new MemoryStream(encoding.GetBytes(source));
          else
            return new MemoryStream(0);
        }
    
        /// <summary>
        /// Gets a string from the bytes in a stream.
        /// </summary>
        /// <param name="source">String object.</param>
        /// <param name="stream">Stream to read from.</param>
        /// <param name="encoding">Encoding to use. Uses UTF8 as default.</param>
        public static string AsString(this Stream stream, Encoding encoding = null)
        {
          if (encoding == null)
            encoding = Encoding.UTF8;
    
          using (var reader = new StreamReader(stream, encoding))
          {
            return reader.ReadToEnd();
          }
        }
      }
    

  • Cloud Cover Episode 29 - Working with CSPack

    @dunnry: Thanks, I'm looking forward to it already...

    Mmmmm... I can't wait Smiley

  • Cloud Cover Episode 29 - Working with CSPack

    Any chance of more sql azure shows? If not, can you answer how sql azure works with SELECT and the two replication servers, are they used for load-balancing read requests like SELECT at all?

    The reason for my asking is that this will greatly impact whether I must shard my DB or not since it's mostly SELECT-heavy and often with historical data not ever going to change, like how many orders where there last month by this or that customer or product blah-blah...

  • Cloud Cover Episode 29 - Working with CSPack

    , dunnry wrote

    *snip*@hansol:

    I have a habit of not knowing what I am going to say until I say it.  Hence, the emphasis on whatever words I feel like at the time.  Nothing to read between the lines there...

    Cool Smiley - Keepin it real!

  • Cloud Cover Episode 29 - Working with CSPack

    And one last thing: More SQL Azure please!