Feb 26 2010

Updated Neovolve BE support in CodePlex

Category: .Net | My SoftwareRory Primrose @ 15:37

I have released the new versions of my BE related projects in CodePlex.

Neovolve.BlogEngine.Web 1.1

Neovolve.BlogEngine.Net.Web 1.1 contains a redirector module that translates Community Server url formats into BlogEngine.Net urls. This module will redirect Community Server pages, posts, month post lists, day post lists, tags, syndication and tagged syndication urls to the most appropriate location in BlogEngine.Net. BlogEngine.Net relies on its own friendly written urls when the urls are processed. This module cannot rewrite Community Server urls as BlogEngine.Net will not be able to understand what the requested resource is. The module must redirect requests to the equivalent BlogEngine.Net friendly url so that BlogEngine.Net url writing can occur such that resources are resolved correctly.

In Community Server, tags and categories are the same thing and it supports tag filtering by allowing multiple tags to be defined. BlogEngine.Net supports both tags and categories as separate entities and has a concept of a category hierarchy, but doesn't support tag filtering. When a Community Server url is encountered where multiple tags are defined, the first Community Server tag in the url that can be matched to either a BlogEngine.Net category or tag will be the resource used to response to the client request. Preference is given to categories over tags.

Neovolve.BlogEngine.Extensions 1.2

Contains updated CatTagLink, Snippets and SyntaxHighlighter extensions.

Tags:

Feb 17 2010

Recommended reading for developers

I was reminded this morning of an email that I sent to the junior developers on my team when they joined us. It is an overview of some of the development practices, patterns and products that they would get exposed to on our project. I have included it here as a reference collection for others.

Principles and Patterns

These are things that I often use and are still learning to use.

Jeremy Miller also writes a series called Patterns in Practice for MSDN Magazine (see list at http://msdn.microsoft.com/en-au/magazine/cc720886.aspx). They are all a good read, especially:

Tools

These are tools that are good to get experience using. Most of them relate to the patterns above. There are other tools used like ReSharper, dotTrace, StyleCop, WinMerge etc, but they don’t have the up skill requirement that the following tools do.

Probably the most important tool to start using is Rhino Mocks. The only way to get experience with it is to start writing unit tests in VS. See the documentation at http://ayende.com/wiki/Rhino+Mocks+Documentation.ashx.

Tags: , , , , , , , ,

Feb 11 2010

SyntaxHighlighter 2.1 extension released for BlogEngine

Category: .NetRory Primrose @ 10:05

I have created a new version of my SyntaxHighlighter extension for BlogEngine.Net that works with SyntaxHighlighter 2.1. It will work with earlier PRE tag formats from version 1.5 by enabling the Legacy Support option.

This version allows you to define the following options. The default values for the extension are indicated.

SyntaxHighlighter options

Brushes are automatically determined by finding script files that are in the format shBrush*.js. If I don’t want a brush to be included, I just rename its extension from .js to .js.ignored.

SyntaxHighlighter.cs (8.59 kb)

Tags:

Feb 11 2010

Snippets 1.2 extension released for BlogEngine

Category: .NetRory Primrose @ 09:35

I have updated my snippets extension for BlogEngine.Net. There are minor bug fixes to a regex that finds html tags and PRE tags are now skipped.

Snippets.cs (12.18 kb)

Tags:

Feb 11 2010

Upgrading to BlogEngine.Net 1.6

Category: .NetRory Primrose @ 09:13

Like Dave, I was keen to upgrade my site to the latest BlogEngine.Net release (download here). I did find a few issues with the upgrade though as I was also migrating from ASP.Net user/roles management to the BlogEngine.Net implementation. To help with this process, I wrote a SQL script that did the following:

  1. Enabled error logging (useful for troubleshooting)
  2. Removed the Commentor extension configuration (new comment support is in this release)
  3. Upgraded post contents to migrate from SyntaxHighlighter 1.5 to 2.1
  4. Migrated my permissions for the site from ASP.Net to BlogEngine.Net user/roles (Note: This resets the admin password to blank which will default it to "admin")
  5. Removed all the ASP.Net user/roles objects from the database.

Script is attached.

BE Upgrade 1.5 - 1.6.sql (19.67 kb)

Tags: ,