Saturday, 28 November 2009

Update - VS2010 Beta 2 – Validation ($SCHEMA$): Element is not supported

Note: This is an update to an earlier post based on feedback that I have received from various commenter's.

If you have adopted beta 2 of Visual Studio 2010 then you might have spotted a large amount of green squigglies underneath the tags in your markup. When you have over them you see a message like this:

validation-schema-not-supported

Validation ($SCHEMA$): Element 'div' is not supported

Thursday, 19 November 2009

Easily extracting links from a snippet of html with HtmlAgilityPack

The HtmlAgilityPack is a powerful library that makes screen scraping in asp.net a breeze. This is the second in a continuing series where I demonstrate a way for you to extract all the links from a snippet of html.

Thursday, 12 November 2009

VS2010 Beta 2 – Validation ($SCHEMA$): Element is not supported

Note: Updated advice is now available over in this post explaining how to get around this problem without resetting your configuration.

If you have adopted beta 2 of Visual Studio 2010 then you might have spotted a large amount of green squigglies underneath the tags in your markup. When you have over them you see a message like this:

validation-schema-not-supported

Validation ($SCHEMA$): Element 'div' is not supported

Wednesday, 11 November 2009

I bet you didn't know that adding custom attributes to your web.sitemap was this easy!

The site map file is a great place to store extra snippets of page-specific information. In this article we will explore how easy it is to add custom attributes to a site map by creating a user control to display a sitemap and adding custom attributes to filter out specific pages.

Sunday, 8 November 2009

Advanced url rewriting for the rest of us - how to create a custom transform in UrlRewriter.net

Introduction

At first glance url rewriting can be a daunting task, but today we will see that it doesn't have to be. Every developer desires clean urls for their apps but because its not built into the language in a straight forward way its usually left on the "nice to haves" list.

The .net library does come with a few classes for performing url rewriting such as HttpContext.Current.RewritePath(); but it is a simple mechanism and you are largely left to code your own features into it. Today we are going to look at turning using a 3rd party library UrlRewriter.Net.

Monday, 2 November 2009

Microsoft Team Foundation Server 2010 Beta 2 Install Error - You must install Service Pack 2 or later to complete installation

Have you have got an error when trying to install Microsoft Team Foundation Server 2010 Beta 2 which says:

"Windows Service Pack 2 Update Information"

You must install Service Pack 2 or later to complete installation. This service pack must be installed before you install this Microsoft Team Foundation product.

tfs2010beta2-installerror-sp2req