July 31, 2008

ASP.NET File Upload with *Real-Time* Progress Bar - redux

So, guess who just got the memo ...   Dear Matt, Uploading large files with ASP.NET is difficult.   Sincerely, Every ASP.NET Developer and their Mother   After sufficiently embarrassing myself with my earlier post, I decided it was high time I spend a little bit more time understanding this problem.  And lo and behold Jon Galloway has already written up a nice survey on the topic.  So to bone up on the issues I followed all of the links Jon provided as well the ones provided by all of the one-off emails I received in response to my previous post (thanks everyone). Of all the upload components I checked-out (SWFUpload, FileUp, Flajaxian FileUploader, RadUpload, NeatUpload, ASP.Net File Upload/Download Module, etc...) I was the most interested in the last 2 (NeatUpload and ASP.Net File Upload/Download Module).  They are both free, have my kind of licensing and come with the full...

Topics: ASP.NET , ASP.NET AJAX

July 27, 2008

A Bloggers Worst Nightmare ...

Four tables in the database that drives my blog was corrupted sometime on Wednesday of last week.  And I did not have a backup.  This is my THS ...   Some Background I use Yahoo! Small Business to host my Moveable Type (MT) blog.  For the past year and a half I have not had any problems at all.  In fact, it worked so well that I did not even know that Moveable Type was storing my entries in a MySQL database.  Looking back, clearly I should have taken the time to understand how MT works, but I didn't really think it was all that important.  I am paying Yahoo! to keep an eye on that stuff - or that's what I thought I was paying for.  I mean check out the second bullet point under Reliable and secure hosting ...    Wednesday, July 23rd I get an email from...

Topics: Other

July 26, 2008

ASP.NET File Upload with *Real-Time* Progress Bar

I had a number of people email me asking how the ProgressBar Toolkit control I blogged about last month could be used to provide progress for file uploads.  So I thought I would spend some time and see how this could be done.  Thankfully, there are a ton of resources available on the internet that discuss this in pretty good detail.  But I didn't see any good examples of how to include the real-time count of the number of bytes that have been transferred.  So I thought I would try to tackle that problem while building my example.   Update 7/27/2008: This post is bogus - I have over simplified the problem.  My goal was to display the number of bytes that have been transferred to the web server, not the number that have been saved to disk.  As atashbahar pointed out, this will require a little bit more work that...

July 17, 2008

My Feedback: ASP.NET AJAX Roadmap

Dave Ward had another great post this past week.  He took the time to not only read the ASP.NET Ajax Road Map document, but he also wrote up a post outlining what he thought about it.  So I thought I would join Dave's efforts and throw in my 2 cents as well.  Of course, most of this post will not make too much sense if you aren't familiar with the Road Map document.  So if that's you, here is what I recommend reading (in order) ... ASP.NET Ajax Road Map The feedback forum Dave's Post: The Future of ASP.NET AJAX (make sure you include the comments) Bertrand Le Roy's post (really only the comments are important)   My Comments ... My goal is to be direct without being rude, lets see if I can do it.    $query Any plans on providing an extensible selector engine?  If you have to...

July 15, 2008

jQuery.UI ProgressBar Widget

I don't know squat about building widgets with jQuery, so I thought I would fix this by rearranging my trusty progress bar code once more and see how it would look as a jQuery.ui widget.  The jQuery.ui documentation is still a work in progress so it was a bit of an adventure, but once again the elegance of jQuery kept my frustrations to a minimum and I think I ended up with something pretty useful.  Read on if you are interested in the details and don't forget to check out the demo page (progress bar's don't show so well as static images). Live Demo | Download | ui.progressbar.js   What is jQuery.ui? Assuming you aren't real familiar with jQuery.ui (I certainly wasn't until yesterday), here is a quick overview ... jQuery UI provides abstractions for low-level interaction and high-level, themeable widgets, built on top of the jQuery JavaScript Library, that...

Topics: jQuery

July 10, 2008

On Candor

"Thanks for being so candid" Ughh - I hate that phrase more than any other.  I hate it because it means the discussion is over and the other person has taken the easy way out of the conversation.  In case you are unfamiliar with the phrase, here are some sample usages ... Me: We need a dedicated QA staff. They: Thanks for being so candid, but blah blah blah.   Me: We need something that at least resembles requirements. They: Thanks for being so candid, but blah blah blah.   Me: Defect-free software is an unrealistic goal. They: Thanks for being so candid, but blah blah blah.   And I think its funny that people think it is a compliment.  Of course I am going to provide candid opinions - its much harder to try and lie....

Topics: Other

July 09, 2008

How I Got Started in Programming

Dave tagged me in Michael Eaton's software development meme that's being floating around.  So here we go ...    How old were you when you started programming? About 20.  I know most folks started at a much younger age but I didn't get into programming until I went off to college.  Before that I just used computers to play video games.  Choplifter for the Apple II is the first one that I can remember, but id software's Doom is the one I obsessed over.  With a weapons like the BFG and Chainsaw what's not to love?   How did you get started in programming? My wife Katie (girlfriend at the time) made me.  I was just entering my third year in college and my major was university studies.  At that point college really wasn't going too well for me.  I failed an entry level Trig class (no joke, I went the...

Topics: Other


Consulting Services

Yep - I also offer consulting services. And heck, I'll do just about anything. If you enjoy my blog just drop me an email describing the work you need done.

Recent Comments

  • TimothyP wrote: I work with tons of developers who haven't even got a clue what Twitter of Facebook is. In fact, it'...
  • Janko wrote: Yes it's strange that people think it's ok to blog at work but consider unethical to use facebook. P...
  • Kam Lagan wrote: Hi Matt, The numbers do seem a little "off" to what you perceived the community would be like. But...
  • Siderite wrote: You're kidding me! So the people that don't blog think it is ok to blog at work (maybe because they ...
  • Guy Harwood wrote: Good to see the results. one typo.... 'What best describes your current job title?' appears twice,...
  • sirrocco wrote: One problem with : DEV I DEV II DEV III was that I didn't know what it meant :( .(is it common ...
  • Jack wrote: How many person fill the survery? Blog is very common, so I don't think 71.5% is high. Maybe our bos...
  • Andy wrote: Done. The developer1, developer2 question - not sure how meaningful the results are going to be for ...