Project Description
Visual Studio 2008 XHTML 1.1 Templates is as set of item and project templates for ASP.NET developers using Visual Studio 2008 that provide XHTML 1.1 compliant alternatives to the standard web form and master page templates.

Project FAQ

Features
Templates are included for the following item types: These item templates are available for C# & Visual Basic Web Application Projects and Web Site Projects.

Also includes a fully pre-configured project template for C# Web Application Projects with the following features:
NewProject.png

The solution includes an installer project for easy installation and removal.

Note about XHTML 1.1 compliance and ASP.NET
In order to force ASP.NET to render its built-in controls as XHTML 1.1 compliant, you must include the following line in the system.web section of your web.config file. Note this does not guarantee compliance, but is required to at least make it possible:

<xhtmlConformance mode="Strict"/>

Sample item template for Web Form:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApp._Default"
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head runat="server">
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <title>New Page</title>
</head>
<body>
    <div id="pageContainer">
        <form id="form1" runat="server">
        <div>
            
        </div>
        </form>
    </div>
</body>
</html>

The following image shows the templates available in the Add Item dialog of Visual Studio:

AddItem.gif

Note before building
If downloading the source files you'll need the MSBuild Community Tasks installed to build the solution.