Amazon.com Widgets Brad Abrams - Site Home - MSDN Blogs

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

  • Brad Abrams

    Beep Sound in C#\.NET Framework

    • 13 Comments
    This gets asked all the time on our internal alias, so I am sure google gets asked a lot, here is my effort to provide an answer. No, the .NET Framework V1.0\V1.1 does not support Beep()… In those platforms you can (a) PInvoke to Win32: [DllImport...
  • Brad Abrams

    Common Exception Types

    • 18 Comments
    During my recently FrontLine trip I gave a talk on exception handling … One of the points I made is that if possible you should leverage one of the existing exception types in the BCL. I was asked a couple of times what the common exception types area...
  • Brad Abrams

    Mix09: Building Amazing Business Applications with Silverlight 3

    • 81 Comments
    Today at Mix09, I finished my talk on building business applications with Silverlight 3. The full video for the talk will be up shortly, but I wanted to go ahead and post the source code for the demo and a full demo walk through. Update: Check out...
  • Brad Abrams

    String.Empty vs ""

    • 17 Comments
    As David implies , there difference between String.Empty and “” are pretty small, but there is a difference. “” actually creates an object, it will likely be pulled out of the string intern pool, but still… while String.Empty creates no object… so...
  • Brad Abrams

    String Formatting FAQ

    • 7 Comments
    Largly modivated by your comments on a recent post , Kit George recently posted a FAQ on string formatting on the BCL Website . A couple of interesting items below... or suggest your own . How do I write out a curly bracket in string formats...
  • Brad Abrams

    Seconds since the Unix epoch in C#

    • 5 Comments
    A question about how to get the “C style representation” out of a DateTime came over an internal alias recently. Turns out the person needed the number of seconds since the Unix epoch . Not too bad to do with the DateTime class… ...
  • Brad Abrams

    Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 2: Rich Data Query

    • 50 Comments
    Continuing in our discussion of Silverlight 3 and  the brand new update to .NET RIA Services and the update the example from my Mix09 talk “building business applications with Silverlight 3 ”. You can watch the original  video of the full session...
  • Brad Abrams

    Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

    • 7 Comments
    Some folks have mentioned to me that they are having trouble getting some of my samples to work. And in fact, just the other day, I ran into a problem getting my own samples to work. It turns out to be a problem with the way windows treats the sample...
  • Brad Abrams

    RSS Feed with the new ASP.NET MVC Framework

    • 47 Comments
    I thought I'd add my own MVC example to the great work that ScottGu and Hanselman have already outlined... I know folks are ready to get their hands on these bits and believe me the team is working hard to get them out in a public CTP as soon as we can...
  • Brad Abrams

    Cool Free ASP.NET AJAX Rich Text Editor

    • 12 Comments
    Kannan Sundarajan has written Rich Text Editor control using ASP.NET AJAX and shared it under the MS-PL license on CodePlex. It has a very rich feature set and Kannan hopes to enhance it further in the future. Since it is a CodePlex project you can report...
  • Brad Abrams

    Poll: Allowing .NET EXEs to run off a network share

    • 155 Comments
    By default .NET applications (EXEs) that are launched from a remote file system (eg \\server\bin\SomeApp.exe ), will not be considered trusted and typically will fail (unless specifically designed to run with low trust). This is in direct contrast with...
  • Brad Abrams

    Trend of .NET Framework installations

    • 20 Comments
    Someone recently asked me for information on the trend of .NET Framework installations. Here is what I dug up… I thought you might be interested: 1. More than 120M copies of the .NET Framework were downloaded and installed (using either Microsoft downloads...
  • Brad Abrams

    Silverlight 4 + RIA Services - Ready for Business: Index

    • 11 Comments
    With Silverlight 4 and RIA Services all-but done, I thought it would be worthwhile to highlight some of the key features of the platform and tools that make Silverlight a fantastic platform for building business applications. I’ll avoid gratuitous video...
  • Brad Abrams

    The change from Hashtable to Dictionary

    • 72 Comments
    As some of you with the Whidbey preview bits have no doubt noticed, we introduced set of generic collection classes in System.Collections.Generic. Far from just making generic versions of the current collections, we took the time to revisit how we really...
  • Brad Abrams

    GAC in CLR 2.0

    • 1 Comments
    Richard does a great series of 4 posts on the Global Assembly Cache (GAC) in CLR 2.0 ..more than you need to know for sure! The Wonders of the Whidbey GAC -- Part I: Processor Architecture The Wonders of the Whidbey GAC -- Part II: Interop with...
  • Brad Abrams

    Managed Extensibility Framework

    • 4 Comments
    Krzysztof recently announced on his blog that we have begun working on an extensibility framework for .NET..   We will blog more details about MEF in the upcoming months, but here are some early details (subject to changes, of course): MEF is a set...
  • Brad Abrams

    The Pit of Success

    • 49 Comments
    The Pit of Success : in stark contrast to a summit, a peak, or a journey across a desert to find victory through many trials and surprises, we want our customers to simply fall into winning practices by using our platform and frameworks. To the extent...
  • Brad Abrams

    History around Pascal Casing and Camel Casing

    • 16 Comments
    In the initial design of the Framework we had hundreds of hours of debate about naming style. To facilitate these debates we coined a number of terms. With Anders Heilsberg (the original designer of Turbo Pascal ) a key member of the design team, it is...
  • Brad Abrams

    Brad Abrams Bio

    • 4 Comments
    Just updated my bio and I thought i'd post it here so maybe the search engines can help me find it next time i need it.... **Update: As of April 2010, Brad Abrams has left Microsoft. You can find the latest at http://bradabrams.com/ Brad Abrams was a...
  • Brad Abrams

    PM Tip #14: Great teams have members that defy roles

    • 3 Comments
    Update: See the full list of PM Tips . I was asked recently to define the roles for PMs on my team. Specifically what they should do as compared with the dev and test teams. I flatly refused. The best teams I have worked in and with are those that...
  • Brad Abrams

    Get the application exe name

    • 7 Comments
    This came up on an internal alias recently…. Nothing earth shattering here, but I figured it might help someone googling for an answer someday… Hey, if it did, drop me a comment and let me know about it… Question: I just want...
  • Brad Abrams

    Simple Example of Managed Extensibility Framework (MEF) in Silverlight

    • 13 Comments
    As you may have heard, we recently shipped MEF support of Silverlight in our CodePlex drop .. I wanted to give you a very simple introduction to MEF and how to use it in Silverlight. This example will show how to use lose coupling, dependency injection...
  • Brad Abrams

    RIA Services: A DomainService IS A WCF Service – Add Service Reference

    • 19 Comments
    I made the fairly bold statement at my PDC09 talk that a DomainService IS A WCF Service.  That is, everything you know about a WCF service should be true of a DomainService.  I didn’t have time to get into this in my talk, so I thought I’d hit...
  • Brad Abrams

    Number of Types in the .NET Framework

    • 63 Comments
    Occasionally I get asked how big the .NET Framework is in terms of surface area for developers.  As you might guess this is something we track.  As you can see, in each release we are adding new functionality that make it easier to build .NET...
  • Brad Abrams

    An example that uses List.Exists(Predicate match)

    • 6 Comments
    Over an internal alias someone asked for an example of List .Exists(Predicate match) … I thought you might find it fun and google might help me find it later when I need it ;-) List < string > l = new List < string >(); l.Add( "Red" ); l.Add...
Page 3 of 54 (1,339 items) 12345»