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

# re: My Own Blog Engine Software 11/24/2009 5:53 AM Paul Gough

I have written a simple Blog engine as well. Its free to all.
It’s developed in Microsoft Visual Web Developer 2008 Express Edition using VB.aspx pages.
Here is the link
http://www.goughit.com/ReadBlog.aspx?File=A+Simple+Blog+engine+developed+with+.NET.HTM

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.
<March 2010>
SMTWTFS
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Comment Stats

DayTotal% of Total
Sunday 2056.8%
Monday 42514.1%
Tuesday 51917.2%
Wednesday 55518.4%
Thursday 58019.2%
Friday 54718.1%
Saturday 1886.2%
Total 3019100.0%

Hour1Total% of Total
12:00 AM 782.6%
1:00 AM 812.7%
2:00 AM 682.3%
3:00 AM 822.7%
4:00 AM 692.3%
5:00 AM 1264.2%
6:00 AM 1183.9%
7:00 AM 1816.0%
8:00 AM 1926.4%
9:00 AM 1585.2%
10:00 AM 1886.2%
11:00 AM 1936.4%
12:00 PM 2016.7%
1:00 PM 1846.1%
2:00 PM 1695.6%
3:00 PM 1354.5%
4:00 PM 1153.8%
5:00 PM 1073.5%
6:00 PM 1013.3%
7:00 PM 1073.5%
8:00 PM 923.0%
9:00 PM 882.9%
10:00 PM 913.0%
11:00 PM 953.1%
Total 3019100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 4.97159
Monday 4.80384
Tuesday 4.04477
Wednesday 7.39680
Thursday 6.26676
Friday 5.07466
Saturday 4.78177
Total 5.403019

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 3.8550
8:00 AM 3.72134
9:00 AM 6.06297
10:00 AM 5.63276
11:00 AM 4.22194
12:00 PM 6.16351
1:00 PM 3.09133
2:00 PM 4.89230
3:00 PM 7.64321
4:00 PM 4.00108
5:00 PM 6.07170
6:00 PM 4.64116
7:00 PM 8.95188
8:00 PM 8.63164
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.403019

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


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles