by Johnny Nouel
5. mayo 2011 09:47
Last month I decided to upgrade my little blog here to BlogEngine.NET 2.0 from version 1.5. Since I'm running the WAP version I first needed to convert the newly released 2.0 version to WAP. You can read about the process and even download the converted application in a previous blog post here.
But in order to upgrade you may have to adjust to the new changes in 2.0. Depending on the data storage option that you selected for your blog, there's a folder for each database supported in the Setup folder that contains the necessary scripts to either setup or upgrade your current database to the new model.

If you decided to setup a new database you can use the Import/Export feature in settings to download and later upload the contents of your blog in the BlogML format. Please notice that the Custom Pages are not Exported. Only Posts, Categories and Tags.

If you upgrade your database using the scripts provided you maintain the information and don't need to use the Import/Export feature. It's your call. In my case I upgraded the database using the scripts.
Of course this only takes care of the database contents and not of the physical files that support your posts such as images, videos, etc. These you will have to move to the newly setup directory structure. Take a look at the App_Data\Files directory.
After that adjust the Web.Config file according to the configuration you will be using. There's a startup Web.Config in the Setup Folder for each data storage scenario.
You should now be ready to hit your site.
Enjoy 