C# / ASP.net

All things web server related
  • Hannah Montana: ASP.net Web Forms & MVC in 3D

    At my current day job at Getty Images, we're currently developing a new web application in ASP.net MVC. On the whole, it's pretty cool and it allows one to avoid many of the shortcomings of poorly designed web forms apps. Unfortunately, my real estate web app code base isn't new (and I think its design improves every time I check something in). The dilemma I'm facing is should I rewrite my decent & improving ASP.net web forms app as an ASP.net MVC app? Sure, ASP.net MVC better supports TDD and custom view engines, but I'm not quite sure that's enough...

  • Is Flanagan’s “Rhino book”, the Petzold of the web era?

    10 or so years ago, when one wanted to write a Windows application, you had a choice to make. Does one take the easy way, or the hard way? Were you a real Windows Software Engineer or a wanna be? Did you use Visual Basic, or did you take the time master all the nuances of HWNDs, HDCs, and SendMessage? Was Charles Petzold's seminal Programming Windows book on your bookshelf or not? Did you enjoy the Get a Mac - Gift Exchange ad in which PC gives Mac a copy of the "C++ GUI Programming Guide"? Today, it...

  • Return of a Jedi

    It was a long, long time ago… It was a time of a great civil war between the Outlook/Office and the Exchange teams… It was a time of great browser wars and much uncertainty... It was an era in which ancient languages such as C++ ruled the galaxy and web browsers weren't considered application development platforms. It was during this time, I had the opportunity to work on a product that would help redefine web based e-mail and more importantly define what web applications were capable of. I was one of the first developers on the Outlook Web Access...

  • Best ASP.net Interview Question Ever (Part 2)

    Last time, I whined about ASP.net byte bloat. As long as I'm bitching about Microsoft's internet platform, I might as well hold nothing back. Microsoft doesn't care enough about Internet Explorer. It is the red headed step child of Microsoft's internet platform. MS seriously lost a lot of client side credibility and goodwill by disbanding the Windows IE team for 3+ years after Windows XP / IE 6 shipped and letting the Mozilla / Firefox team catch up and surpass it. I'm sure killing Mac IE & killing Unix IE didn't help matters either (not that anybody ever used them). Shipping...

  • Best ASP.net Interview Question Ever (Part 1)

    I recently I had a job interview w/ Costco Wholesale in the e-Commerce group. I thought the most interesting question they asked was "If you could change one thing about ASP.net, what would it be". It was a hard question, because on the whole, I'm pretty happy with it. Furthermore, on the whole, I'm pretty happy with the direction that Microsoft is going. However, it got me thinking about what I don't like about Microsoft's internet platform and I figured it would make a great blog post (or two), so here I go. Viewstate + ClientID = HTML Bloat +...

  • Toy with Sploggers w/ Dynamic Images

    Over at my second home, I talked about how to annoy sploggers w/ a dynamic image. A dynamic image is merely any image generated programmatically at request time. So with a dynamic image, you have total control of the content that will get displayed when the url gets requested. Typically, when a splogger copies a blog post, they often times leave all the original hyperlinks and images links intact. Sploggers are lazy folks. If they are too lazy to write their own blog post, they are usually too lazy to edit yours. So if they do hotlink to an image...

  • Is there a better way to compute a Median in SQL?

    I'm currently playing with random ideas I have for Nimitz (aka the next version of my NWMLS search tool), and one of the things I'm thinking about is displaying the Median value of properties that match an arbitrary search criteria. I already do something similar to this now on Zearch (the current version of my NWMLS search tool). with MIN, MAX, and AVG. So I wrote a Stored Proc (using MS SQL 2005 features), and came up with the following. (FYI - I was inspired by this blog post). 1: CREATE PROC [dbo].[GetMedian] 2:...