Subtext 2.0 Released

personal 0 comments suggest edit

It’s been a long time coming, but we are finally ready to release Subtext 2.0. As I mentioned in April (was it that long ago!?), this is scaled down a bit from our original 2.0 plans. But even so, we have a lot of new goodness in here. It’s not just a bug fix release, though there are plenty of those too.


With this release, Subtext has top notch support for Windows Live Writer thanks to some check-ins from Tim Heuer.

  • Enhanced MetaWeblog API implementation to support providing a “slug” URL name for the post.  This gives the user the option to use the default URL naming, the “auto-friendly” or now to override that with your own slug name.
  • Fixed a bug in the SiteMap handler for blogs not hosted at root domains.  Would love people to test this out.
  • Added support for WordPress API functions of: newPage, editPage, getPages, newCategory
  • Simple modification to the Windows Live Writer manifest to prevent those who think they can future post :-)
  • Tag-based RSS syndicator

Other highlights

  • New CSS-Based Admin Design That Makes Better Use of Space
  • Ability to set a separate skin for mobile devices
  • Streamlined Installation Process. I tried to remove unnecessary steps and make this more robust.
  • Support for Enclosures (See Simo’s great post on this for more details)
  • CSS and JS optimizations (Simo has more interesting details on this).
  • Setting a date in the future for publishing posts (again, Simo has more details).
  • Login to your blog using OpenID, as well as use your blog as an OpenId Delegate

Notes for new installations

The install package includes a default Subtext2.0.mdf file for SQL

  1. If you plan to run your blog off of SQL Express, installation is as easy as copying the install files to your webroot. If you’re not using SQL Express, but plan to use SQL Server 2005, you can attach to the supplied .mdf file and use it as your database.

Notes for upgrading

In the app_data folder of the install package, feel free to delete the database files there. They only apply to new installs.

We also include a zip file with just the SQL upgrade scripts. This is sometimes useful for those who run into problems with the upgrade procedure.

Full upgrade notes are on the Subtext project website.

So what’s next for Subtext?

The Subtext team is fired up to get their feet wet using ASP.NET MVC, and I can’t blame them. So at this point, we’re starting preliminary planning work for Subtext 3.0, the next major version of Subtext which will be a ground-up rewrite pulling in as much code from 2.0 along the way of course.

But that doesn’t mean we’re abandoning the 2.0 line immediately. I would expect to see several small incremental releases of the 2.* line even as we start on 3.0 with fires lit under our butts. Subtext 3.0 is in the very early stages of planning taking a long term look into the future.

After all, there’s still a lot of infrastructure decisions to be made, as well as requirements gathering. In what ways do we want to be just like Subtext 2.0? In what ways do we want to completely change the architecture?

Some of the decisions we need to make, just as a start:

  1. Where do we host? Do we stick with SourceForge or go elsewhere?
  2. What data access layer/ORM tooling should we use?
  3. What DI framework do we choose?
  4. What do we use for communication and documentation?
  5. What should our database design look like?
  6. Should we change how we handle multi-tenancy?

In any case, it’s been a fun ride so far, and I hope we can keep our momentum going in producing a great blogging platform for ASP.NET.

And before I forget, here’s the download page link.

Tags: subtext

Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.



57 responses

  1. Avatar for Robert G
    Robert G August 10th, 2008

    Sweet. Congrats to the team. Looks great.

  2. Avatar for Simone Chiaretta
    Simone Chiaretta August 10th, 2008

    We already discussed about that in the ML, but I should say:
    1 - Google Code?
    2 - NHibernate
    3 - Go Ninject Go!!!
    4 - Google Groups?
    5 - A real DDD, with no backward compatibility: then a bunch of TSQL statements to migrate from the old schema to the new one
    6 - We have a lot of communities using Subtext to provide blogs to their users: we cannot let them down going back to one instance-one blog

  3. Avatar for Keith Elder
    Keith Elder August 10th, 2008

    Great to hear Phil. Looking forward to getting some time to upgrade.

  4. Avatar for haacked
    haacked August 10th, 2008

    @Simo regarding #6, I didn't mean we might go "single blog", I meant would we try a different approach to multi-blogs?

  5. Avatar for Justice~!
    Justice~! August 10th, 2008

    I know the people doing some stuff with DasBlog briefly discussed the possibility of doing a rewrite in ASP.NET MVC. Would it be at all worthwhile (this is dangerous territory I'm treading in, I'm sure) to perhaps make a Subtext/Dasblog "one blog to rule them all" codebase between the two?
    Just an idle thought...

  6. Avatar for RumDood
    RumDood August 10th, 2008

    Huzzah! Thanks so much to the contributors for all their hard work on the 2.0 release.

  7. Avatar for Vern Gill
    Vern Gill August 10th, 2008

    Hey Phil! Wow, I can't tell you guys how happy I am for all of you for getting this out!
    I wish my life still allowed me the time to play around with the project.
    It may in the near future and if it does I can't wait to play with the new version!

  8. Avatar for Vesta
    Vesta August 10th, 2008

    does subtext support multiple weblog in a single installation?

  9. Avatar for haacked
    haacked August 10th, 2008

    @vesta yep.

  10. Avatar for Omer van Kloeten
    Omer van Kloeten August 10th, 2008

    Congratulations :)

  11. Avatar for Willie Roberts
    Willie Roberts August 10th, 2008

    Well done on the release. As for hosting provider, I have to ask why not move to CodePlex ?

  12. Avatar for Krzysztof Koźmic
    Krzysztof Koźmic August 10th, 2008

    Manual upgrade db scripts zip package is empty.

  13. Avatar for Mike Swaim
    Mike Swaim August 10th, 2008

    Are there release notes for 2.0? I don't see any on the download page, or in the install download.

  14. Avatar for Dugald Wilson
    Dugald Wilson August 10th, 2008

    Congratulations on the release - excited to check it out.
    For previous versions of SubText, the recommended first step for getting on board with development was submitting bugfixes or tests. With the move to MVC, what would you recommend as first steps for someone interested in helping out on that, given that not necessarily all of what's out there now will be moving forward?

  15. Avatar for bunmi
    bunmi August 10th, 2008

    hello phil - great work on this! Do you know if there is an easy upgrade path for me from the original .Text? I forget the version I'm on. just wondering.
    thanks in advance.

  16. Avatar for haacked
    haacked August 10th, 2008

    @krzysztof I updated the release. Thanks for the heads up. It may take time to propagate.
    @Mike, on the downloads page, there's a tiny icon for release notes that's easy to miss.
    @Dugald Sign up for our subtext-devs mailing list on SourceForge. that's step 1. We'll figure out the rest as we go along.
    @bunmi The manual install scripts includes a script to import .TEXT data into a subtext 1.0 database. So on your db, run Installation.01.00.00.sql and then run the ImportDotText095.sql script.
    @Willie I really like CodePlex, but we need a source control system designed for distributed OSS projects, and TFS is not it. Subversion support is key to us. I know they have the SVN bridge, but I'm not convinced it's 100% there yet.

  17. Avatar for mike dopp
    mike dopp August 10th, 2008

    Right on. been waiting on this. Even thought the project was dead. Thanks for the update and congrats.
    !mike Dopp

  18. Avatar for bahadirio
    bahadirio August 10th, 2008

    Thanks for the new release. Already installed and using happily. :)
    I think it will be a good time to ask , whether you are able to plan future roadmap(i love this words:) of subtext or not ?
    After I saw the easiness of Subtext installation , I would like to see a ASP.NET CMS in a similar way. Do you have suggestions what should I use as a CMS ?
    Thank you very much! Please let me know if anything I can help / contribute / carry . (btw my native language is Turkish , may be a language translation ? )

  19. Avatar for David Nelson
    David Nelson August 10th, 2008

    Just to comment on SvnBridge, I have used it for a number of CodePlex projects and have not had a problem yet. My only complaint is that it seems to be pretty slow, but I don't know if that is the bridge or CodePlex in general.

  20. Avatar for Braden
    Braden August 11th, 2008

    Does this release require SQL 2005? I am running 1.9.5

  21. Avatar for Braden
    Braden August 11th, 2008

    Allow me to clarify, I am running SQL 2000, does this new release require SQL 2005?
    Many thanks

  22. Avatar for Sameer Alibhai
    Sameer Alibhai August 11th, 2008

    There seems to be a problem with exporting to blogML in the previous version. Any idea if this is fixed yet? Pls see for more details.

  23. Avatar for haacked
    haacked August 11th, 2008

    @Braden I *think* you should still be able to run this on SQL 2000, but, I did not test on SQL 2000.
    @Sameer I fixed a couple of bugs with our export. Try it out. However, I do know there are a few remaining. We've filed a few bugs at the BlogML site. However, BlogML development has stalled in the past couple of years. It may pick up again, but I think we may have to fix those bugs ourselves and contribute them to BlogML. BlogML is open source after all.

  24. Avatar for Dragan Panjkov
    Dragan Panjkov August 11th, 2008

    i've tried to upgrade from 1.9.3 to 2.0.0 and got stuck with message "... is curently upgrading... if you are a host admin click here..." and when I click, I am redirected to same page again. would it be better to do a new install? in that case I need to find a way to copy all data from my old install to new one. I am on shared hosting on

  25. Avatar for haacked
    haacked August 11th, 2008

    @Dragan, you can download the manual install scripts from SourceForge and run Installation.2.0.sql and StoredProcedures.sql. You'll then need to add a row to the subtext_Version table with the version number (2.0.0). Sorry for the issues.

  26. Avatar for Dragan Panjkov
    Dragan Panjkov August 11th, 2008

    thanks, phil. Problem is, I only have user instance of my db on my hosting plan, and cannot access database using some GUI.

  27. Avatar for Braden
    Braden August 11th, 2008

    Hi Phil, I had to modify the connection string, but I got 2.0 working flawlessly with SQL 2000.

  28. Avatar for Vu Nguyen
    Vu Nguyen August 12th, 2008

    Congratulations on the release, Phill. Can't wait to check it out ;)

  29. Avatar for Sameer Alibhai
    Sameer Alibhai August 12th, 2008

    Thanks for the update :)

  30. Avatar for haacked
    haacked August 12th, 2008

    @Dragan can't you connect to your db from SQL Management Studio running locally? I'd check with your hosting provider. Usually they allow some means of running SQL Scripts. Perhaps through the web admin.

  31. Avatar for Dragan Panjkov
    Dragan Panjkov August 12th, 2008

    it's sql express 2005 db in my app_data. I tried to download and attach db locally, but no luck. i'm not persistent enough to do it now... (read: lazy)

  32. Avatar for raffaeu
    raffaeu August 16th, 2008

    I have been updated tonight but some troubles.
    You can read in my blog a detailed post about.
    I'm not able to use the new section in the web config
    <add key=".mp3" value="audio/mpeg"/>
    <add key=".mp4" value="video/mp4"/>
    <add key=".zip" value="application/octetstream"/>
    <add key=".pdf" value="application/octetstream"/>
    <add key=".wmv" value="video/wmv"/>
    <add key=".wma" value="audio/wma"/>
    And I'm running SubText with NET 3.5
    Do you know what?

  33. Avatar for Dave Sussman
    Dave Sussman August 16th, 2008

    I've a few problems upgrading too, on IIS7. Most of it's working fine (although not yet live), but some of the admin links don't work. For example, gives a 404, almost as though the default document isn't set up in IIS, but I've checked this and it definitely is. Typing in default.asx on the end of the url works. The same happens for the Articles and Feedback links.
    Any ideas?

  34. Avatar for Jim
    Jim August 16th, 2008

    Great job guys! I look forward to findigng the time ot upgrade my site.

  35. Avatar for Michael Cook
    Michael Cook August 18th, 2008

    I appreciate the hard work you guys put into this project, but I don't think this one was ready to be release just yet.
    I'm upgrading my blog(s) from the previous version, on my Crystal Tech site (shared hosting). First, I got his with the infinite "click here to upgrade" (which I got last upgrade too).
    So I resorted to the sql scripts, which weren't in a state to run and after editing still didn't catch all of the changes. So I attached to the new install db and sql diffed and worked back from there.
    After all that, I fire it up and immediately hit a Security Exception and that's where I'm currently stuck.
    I just have to wonder if anyone actually tested this on a medium trust site, which I'd imagine many of your users are trying to run it on.
    I know I'm being harsh -and once these issues are ironed out, I'm sure it will be rock solid - but the out-of-box experience is just terrible right now.

  36. Avatar for Michael Cook
    Michael Cook August 19th, 2008

    Just wanted to post an update that I was able to get past the security exceptions by checking out the latest source from svn and building it.

  37. Avatar for Michele
    Michele August 19th, 2008

    Great job! Looking for some time to upgrade and port some db customization. How can I propose them to you?

  38. Avatar for fisher
    fisher August 20th, 2008

    does subtext support multiple weblog in a single installation?
    what should i do?

  39. Avatar for haacked
    haacked August 20th, 2008

    @Michele Go to the Subtext project on SourceForge and use the issue tracker there to propose them.
    @fisher yes, log into the /HostAdmin section.

  40. Avatar for Jon Galloway
    Jon Galloway August 20th, 2008

    I wrote up a post on the OpenID features in Subtext 2.0. Please feel free to link it from the feature list above, as my website policies now allow for deep linking provided you sign a disclosure form.

  41. Avatar for Gary Davis
    Gary Davis August 30th, 2008

    I have dragon's problem:
    >> i've tried to upgrade from 1.9.3 to 2.0.0 and got stuck with message "... is curently upgrading... if you are a host admin click here..." and when I click, I am redirected to same page again.
    However, before I got to that problem, I had several element deletes I had to do to the web.config related do duplicate entries that seemed to be due to Ajax 1.0 according to the comments. After several attempts of deleteing lines, I finally got to the " currently upgrading..." page.
    I downloaded the manual scripts but am not sure how or which to run. I am upgrading from 1.9.5 to 2.0.
    I am using IIS7 and SQL 2008.
    I first tried using Installation 2.0 which got errors like this:
    The specified schema name "<dbuser,varchar,dbo>" either does not exist or you do not have permission to use it.
    I looked at some tables and the TABLE_SCHEMA column had 'dbo' and not '<dbuser,varchar,dbo>' as some of your statements are looking for.
    I had upgraded SubText a few times before up to my current 1.9.5.
    How can I fix this?
    Gary Davis

  42. Avatar for Gary Davis
    Gary Davis August 30th, 2008

    Some text from above got lost due to brackets:
    The specified schema name "<dbUser,varchar,dbo>" either does not exist or you do not have permission to use it.
    I looked at some tables and the TABLE_SCHEMA column had 'dbo' and not '<dbUser,varchar,dbo>' as some of your statements are looking for.

  43. Avatar for Cory
    Cory August 31st, 2008

    Does Subtext support VistaDB databases?

  44. Avatar for haacked
    haacked August 31st, 2008

    @Cory, we've never tested with VistaDB.

  45. Avatar for MHale
    MHale September 1st, 2008

    Wicked nice! I did notice a few issues when using the source code and doing a "Publish"... a lot of the ascx files don't get copied to the server. I still haven't figured out the why, but it results in the behavior Dave reported above (404 errors on any subdir without the default.aspx) The homepage.ascx files don't get published, which the default handler relies on. Very small issue on an otherwise smooth transition. Love it!

  46. Avatar for MHale
    MHale September 1st, 2008

    Turns out the 404 was actually because of the missing IIS custom error.... either way, it works great. :)

  47. Avatar for Gary Davis
    Gary Davis September 2nd, 2008

    Well, I got the upgrade working. Basically, it all came down to the web.config. Using the source version and VS2008, I changed the target from Framework 2.0 to 3.5, published to my Win Server 2008 and that got Subtext 2.0 to work with a temporary fresh database.
    I then changed the connection back to the old database and retried the upgrade and now the upgrade worked. The upgrade did a step that may not be in the manual zip file of sql scripts - it did a schema upgrade as the first step.

  48. Avatar for Daniel Chow
    Daniel Chow September 2nd, 2008

    Good job!

  49. Avatar for Daniel Chow
    Daniel Chow September 2nd, 2008

    I have a suggest for subtext to create static html files and to get dynamic access datas via ajax .

  50. Avatar for Wayne
    Wayne September 4th, 2008

    Great job! The feature that I most wanted when I first got on board is finally here: posting to a future date. Great job, guys!

  51. Avatar for Wayne L
    Wayne L September 4th, 2008

    I tried to upgrade from 1.9.5 to 2.0 right after launch with no success. The problem seemed to stem from my blog being hosted on a shared environment (webhost4life). Has anyone had success in upgrading on a shared environment? If so, can you provide steps in overcoming any issues? I'd appreciate any tips you have. Thanks!

  52. Avatar for Chance
    Chance September 9th, 2008

    Man you stay busy..
    Have any plans on writing out subtext for MVC? :)

  53. Avatar for Tom
    Tom October 3rd, 2008

    Codeplex would be a great home for this project I think.

  54. Avatar for Arian Kulp
    Arian Kulp October 16th, 2008

    I've just updated my site but it's just giving me SecurityPermission failed errors:
    Request for the permission of type 'System.Security.Permissions.SecurityPermission' failed.
    I'm not sure what to do now. I'm on a shared GoDaddy host. Any thoughts?

  55. Avatar for Amrit Ray
    Amrit Ray November 17th, 2008

    Can Subtext 2.0 be installed in a sub domain? I was reading through your release notes and it said you fixed some bugs for installing it in a sub domain. Does it mean it will work stable now in a sub domain?

  56. Avatar for Jayster
    Jayster March 15th, 2010

    Guys I just wanted to find out where the link is for this Subtext 2.0 I have been looking for it. And does it have roles and memeberships?

  57. Avatar for Escorts in Atlanta
    Escorts in Atlanta October 14th, 2011

    I wish more people would write sites like this that are actually interesting to read. With all the fluff floating around on the net, it is a great change of pace to read a site like yours instead.