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...

# Geek Smatterings: A Blog Engine, ScottW Couldn't Wait, BodyNet, a Booklist, iTunesLib 7/13/2008 9:14 PM Dave Burke

Geek Smatterings: A Blog Engine, ScottW Couldn't Wait, BodyNet, a Booklist, iTunesLib

# How to develop a blog or personalized site with ASP.NET 2.0 | keyongtech 1/21/2009 7:08 PM Pingback/TrackBack

How to develop a blog or personalized site with ASP.NET 2.0 | keyongtech

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

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<July 2009>
SMTWTFS
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Comment Stats

DayTotal% of Total
Sunday 2046.9%
Monday 42314.3%
Tuesday 50116.9%
Wednesday 54518.4%
Thursday 57219.3%
Friday 53618.1%
Saturday 1856.2%
Total 2966100.0%

Hour1Total% of Total
12:00 AM 752.5%
1:00 AM 802.7%
2:00 AM 672.3%
3:00 AM 812.7%
4:00 AM 642.2%
5:00 AM 1234.1%
6:00 AM 1153.9%
7:00 AM 1755.9%
8:00 AM 1876.3%
9:00 AM 1565.3%
10:00 AM 1866.3%
11:00 AM 1926.5%
12:00 PM 1996.7%
1:00 PM 1846.2%
2:00 PM 1675.6%
3:00 PM 1344.5%
4:00 PM 1153.9%
5:00 PM 1063.6%
6:00 PM 993.3%
7:00 PM 1063.6%
8:00 PM 903.0%
9:00 PM 842.8%
10:00 PM 893.0%
11:00 PM 923.1%
Total 2966100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 4.91157
Monday 4.92379
Tuesday 4.21471
Wednesday 7.42668
Thursday 6.53666
Friday 5.17450
Saturday 4.73175
Total 5.522966

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 4.0048
8:00 AM 4.29133
9:00 AM 6.04290
10:00 AM 5.83274
11:00 AM 4.36192
12:00 PM 6.44348
1:00 PM 3.14132
2:00 PM 5.04227
3:00 PM 7.97303
4:00 PM 3.8199
5:00 PM 6.00168
6:00 PM 4.56114
7:00 PM 8.95188
8:00 PM 8.58163
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.522966

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


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles