Scott on Writing

Musings on technical writing...

My Own Blog Engine Software

Today I spoke at a one-day class at UCSD Extension titled .NET 2.0 University, giving a 90 minute presentation on new features in ASP.NET 2.0. My presentation focused on:

  • The provider model
  • Membership
  • Site Navigation
  • Master Pages
  • Data binding / Data Source controls
  • The Login and Navigation Web controls

I had a slew of demos showing each of these neat features in their own right, but no single, unifying, semi-real-world demo to illustrate the use of many of the above concepts in one fell swoop. This lack of a unified demo nagged at me a bit during the week, but I had a full plate. Today, though, after the lunch break, still 90 minutes away from my talk, I decided to see if I couldn't create such an encompassing demo in the hour and a half I had before I was slated to speak. Being able to create such an app, I figured, would not only be a fun race against the clock, but would highlight the developer productivity improvements baked into 2.0.

So I set out to create a very, very simple blogging engine, a website that used master pages, would allow visitors to create accounts / login, add entires to their blogs, view the 10 most recent blog entires on the homepage, provide site navigation using a menu with a list of the bloggers and their three most recent posts, and a page to see a list of all of the site's bloggers, when they started blogging, their last login date, and so on. It uses a custom site map provider to base the navigation structure on the bloggers and their three most recent posts. (To be fair, the custom provider involved a little cutting and pasting from another example I had done a few months back, although I still had to write a sproc and change the meat of the code in the BuildSiteMap() method.) As a testament to ASP.NET 2.0, I was able to create such a site in a little under 75 minutes. I contemplated adding some additional features - a page to view all of the posts for a particular user, or an aggregate RSS feed for the site (or by user, perhaps), but figured such demos were tangential to the features I was presenting in 15 minutes (that and my batteries were nearly zapped and I wasn't near an outlet).

If interested, you can grab the Visual Studio 2005 project here. If you've yet to explore 2.0, I think you'll be heartily impressed with what is accomplishable in such a short window of time. Of course this application is very trivial and not even close to being ready for prime time, but I still think it's impressive to have gone from literally ziltch to what I had in 75 minutes, to which the ASP.NET team deserves the credit.

posted on Saturday, January 28, 2006 6:08 PM

Feedback

# re: My Own Blog Engine Software 1/28/2006 10:59 PM pradeep_tp

hi scott,

Can I know which version of the visual studio did you use for creating this web application. I have downloaded Visual web developer 2005 express edition and sometimes I feel I am not exposed to all the goodies provided by team suite version. What is your opinion about the different verions.

# re: My Own Blog Engine Software 1/29/2006 10:15 AM Scott Mitchell

Pradeep, I believe the version on my laptop is the Professional edition of VS 2005, but everything I did could have been done on Visual Web Developer as well.

# re: My Own Blog Engine Software 1/31/2006 8:34 PM Robert H.

Hi Scott,

Thought you might want to know that Joel Thoms http://www.joel.net/code/weblogs.aspx appears to be working on a similar project (a weblog user control).

By the way, your RssFeed is excellent!

Thanks!

# Geek Smatterings: Blog Engines, ScottW Couldn't Wait, Wearable, Books, Referencing iTunesLib 7/7/2006 10:46 PM Dave Burke

I'm cleaning out a Firefox Bookmarks folder, so some of these smatterings will go back a ways...BLOG...

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

Add To Your Reader

My Links

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<May 2008>
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Comment Stats

DayTotal% of Total
Sunday 1866.8%
Monday 37913.9%
Tuesday 45316.7%
Wednesday 50418.5%
Thursday 53519.7%
Friday 49418.2%
Saturday 1666.1%
Total 2717100.0%

Hour1Total% of Total
12:00 AM 652.4%
1:00 AM 682.5%
2:00 AM 622.3%
3:00 AM 742.7%
4:00 AM 572.1%
5:00 AM 1033.8%
6:00 AM 1084.0%
7:00 AM 1585.8%
8:00 AM 1716.3%
9:00 AM 1475.4%
10:00 AM 1716.3%
11:00 AM 1816.7%
12:00 PM 1886.9%
1:00 PM 1696.2%
2:00 PM 1605.9%
3:00 PM 1324.9%
4:00 PM 1073.9%
5:00 PM 923.4%
6:00 PM 913.3%
7:00 PM 963.5%
8:00 PM 833.1%
9:00 PM 782.9%
10:00 PM 792.9%
11:00 PM 772.8%
Total 2717100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.54144
Monday 5.22339
Tuesday 4.28419
Wednesday 7.67637
Thursday 6.90607
Friday 5.48411
Saturday 5.33160
Total 5.842717

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.35107
9:00 AM 6.32278
10:00 AM 6.47246
11:00 AM 4.41181
12:00 PM 6.88330
1:00 PM 3.00111
2:00 PM 5.41222
3:00 PM 8.64285
4:00 PM 4.0589
5:00 PM 5.92154
6:00 PM 4.52113
7:00 PM 9.67174
8:00 PM 9.80147
9:00 PM 5.05111
10:00 PM 5.4265
11:00 PM 4.5732
Total 5.842717

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles