Santomania

Addy Santo's occasional braindumps

September, 2003

  • Santomania

    Never trust GetEntryAssembly

    • 2 Comments
    One quick tip- I was using Assembly.GetEntryAssembly().FullName in my logging infrastructure to get the name of the application assembly. It turns out that the call throws an exception when called in any appdomain other than the default - GetEntyAssembly...
  • Santomania

    Enhancing winforms databinding to support fields as well as properties

    • 4 Comments
    Yes! It's 3am and my databound grid just came up. I'm very happy with the results, here's why: The databinding mechanism in winforms does not support binding to fields. Meaning the following class will not work with any of the .NET databound controls...
  • Santomania

    [OT] Matrix trailer

    • 3 Comments
    Following Julia 's post - for those of you who can't wait until tonight, here is an extremely detailed description of what you will see in the trailer: It starts off with a long tracking shot, the camera flying along 3 huge powerlines in the desert...
  • Santomania

    Getting EIF to work on Win98 / NT4

    • 6 Comments
    I recently added a much needed instrumentation layer to a client's winforms app.  After checking out various logging frameworks, we decided to go with the MS “Enterprise Instrumentation Framework” (EIF) for several reasons- it is extremely easy to integrate...
  • Santomania

    What is .NET ?

    • 1 Comments
    Martin asks how would you define .Net to a customer? Well, a sizeable percentage of my time in `00-`01 was spent doing just that. At the time I was CTO of a consulting firm (~100 people) which began offering .NET solutions based on beta2. From my experience...
  • Santomania

    Hey, who stole the internet?

    • 1 Comments
    Err... It seems that every since yesterday all unknown DNS queries have been resolving to an address belonging to Verisign... They are in charge of maintaining the DNS system (for .COM and .NET domains) so it was simple for them to add a wildcard ...
  • Santomania

    [OT] RIAA satire

    • 2 Comments
    I saw this somewhere : "Just because someone appears to be 'innocent,' or 'harmless', or 'physically incapable of using a computer,' doesn't mean that they're not guilty of intellectual property theft," said RIAA President George Shubb. "For example...
  • Santomania

    GOTO still alive and kicking in .NET

    • 3 Comments
    Yep. In a VB.NET project, select a number (any number- they all give equally bad results), type it in on an empty line inside a method and see what happens. <rant> Will MS please lay this horrible programming practice to rest? Back in the...
  • Santomania

    SyncRoots virtually useless, may change /w generics?

    • 0 Comments
    I never found much use for SyncRoots, especially in data structures. Their usefulness always had a direct inverse ratio to the complexity of the concurrency/locking requirements. Wasn't worth mentioning because I always assumed that it was just me who...
  • Santomania

    Avalon hype

    • 1 Comments
    Wesner Moise hypes Avalon , the new UI subsystem coming soon to a Longhorn near you: If you go to PDC, and have to choose between X, Y, and Avalon, you should choose Avalon, unless you have a livelihood completely depends on X and Y. As excited as I am...
  • Santomania

    Gadget Time [OT]

    • 3 Comments
    Over the weekend I found myself at the J&R in Manhattan, so indulged myself with some new gadgets. The first was a Sony DVD burner. I have had my eye on these suckers for a while, and at 200$ they are starting to settle in a sweet price-performance...
  • Santomania

    Every time I try to use Reflector to do something useful....

    • 2 Comments
    ... I find myself sidetracked exploring the incredible wealth of information it exposes about the framework internals. From databinding to reflection, interop to the String object- everywhere you look there is something to learn, something which will...
  • Santomania

    EIF - continued

    • 0 Comments
    Given the interest in my previous EIF post, I will definitely be posting an article and a code library. The bad news is that the ETA is roughly two weeks - I have a bad case of  “Real Work ©“ to get through first :)
  • Santomania

    Yet Another Cool VS Shortcut

    • 0 Comments
    I wasn't aware of this one: “ If you didn't know already, if you're programming in C# you can quickly find the opening or closing braces in your C# code files by hitting CTRL-] on the opening brace to go to the closing brace, and CTRL-] again...
  • Santomania

    Is it Just Me, Or Is Our Mainframe Missing?

    • 0 Comments
    This isn't your typical mom-n-pop shop security hole.... The Australian Customs had two of their mainframes literally wheeled out of the building :) Ouch... This is a bit OT, but the title (from /. ) was just too tempting :)  More details here .
  • Santomania

    intro to Code Access Security slides

    • 0 Comments
    Neat, the slides from my “Introduction to Code Access Security” presentation are available on the New Jersey Microsoft Developer's Group site. The presentation was a 30 min, high-level introduction to Code Access Security. Very newbie-friendly...
  • Santomania

    New Jersey Microsoft Developer's Group meeting tomorrow

    • 1 Comments
    If you are in the NY/NJ community you might want to come to the NJ DevGroup meeting tomorrow.  I will be giving a KISS overview of Code Access Security in .NET, wish me luck ;) More info at http://www.njmsdev.org/
Page 1 of 1 (17 items)