Scott Hanselman

dasMonthView - dasBlog now includes a complete Year View...and I'm spent.

May 22, '04 Comments [3] Posted in ASP.NET | DasBlog
Sponsored By

I'm sitting here in the WS Interop Day tinkering with this dasBlog MonthView I was doing.  I've added a view that displays your blog (item titles) in a calendar for a year. 

Do check it out.  I'll give it to Omar this week and we'll get it into the source tree ASAP if folks dig it.

Updates since yesterday ;) :

  • If an entry doesn't have a Title, then I'll strip all HTML tags and take the first 50 characters of the content and add an ellipsis.  Many of my old Radio Userland posts from 2002 that I imported into dasBlog have this problem.
  • Should work but not tested: This page adds no new Resource strings and uses Invariant dates in the QueryString so the Calendar(s) should render in multiple languages (and possibly other calendar systems, such as Thai Bhuddist, as I make no assumptions as to how many months are in a year, etc.) Perhaps some attention to VaryByHeaders="Accept-Language" may be needed.
  • This is a ridiculously expensive page, second only to Search, so it includes Poorman's caching for 15 minutes.  <%@ OutputCache Duration="900" VaryByParam="*" %>  Certainly change this value to taste.  Arguably it should STAY cached until the cache is explicitly invalidated.  I think there's some stuff in dasBlog to do that, I just didn't going looking for it. 
  • I output the time the page was rendered at the TOP of the page (rather than the standard dasBlog rendered footer) just cause it's nice to know when these things get built.
  • Clicking on the Weblog Calendar view takes you to MonthView.aspx without any QueryString parameters.  This shows you the entries for the current month.  From here you can go forward and backward with the Next/Prev buttons.  This will be MonthView.aspx?month=YYYY-MM.
  • Clicking on a Year number at the top of the page will take you to a page with all the months filled out.  This is MonthView?year=YYYY.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

TechEd 2004: UCSD - Web Services Day

May 22, '04 Comments [0] Posted in TechEd | Web Services | Speaking
Sponsored By

A picture of Michele presenting on Web ServicesWe're here at the Institute of the Americas at the UCSD Web Services Interoperability Education DayMichele is currently speaking on WS-Security and WS-Trust.

If you're in town for TechEd, but you're just hanging out, come by UCSD - it' s an easy cab ride.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Abbreviations and you...

May 21, '04 Comments [7] Posted in Programming
Sponsored By

If I see one more variable with a name like "VoyAcctReqTrxTransOpLPCSTR" I'm going to shoot someone, or myself. 

People, if it's an "Account" call it one.  If it's a MortgageAccount, well, you get the idea.

Sorry, I'm about to go postal here, but it's Friday.  Sigh.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

RipDigital - another idea I should have thought of.

May 21, '04 Comments [0] Posted in ASP.NET | DasBlog | TechEd | Speaking
Sponsored By

Sorry there's not a lot of ASP.NET related stuff going on for me lately, otherwise I'd post more.  I will tell you this, I've got an idea I've run by Clemens for a very cool new view for dasBlog.  I'll write it at TechEd.

Now, that said, check this out:  I have at least 25 gigs of painfully ripped MP3s from my personal CD collection, but I've still got a few hundred CDs I haven't gotten around to.

  

But, I can go to RipDigital.com and they will send me a spindle that I fill with 100 CDs.  Then for $129 they send back my CDs and a number of DVDs with my MP3 ripped at 224Kbps.  What a great idea.

I may have to check that out...

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.