Technical Tips

Site Map and Security (ASP.NET 3.5)

To apply roles to a site map and have those options not appear in the site map you need to add an entry to the web.config file:

 <siteMap defaultProvider=AspNetXmlSiteMapProvider enabled=true>
   <
providers>
     <
remove name=AspNetXmlSiteMapProvider/>
     <
add name=AspNetXmlSiteMapProvider description=SiteMap provider which reads in .sitemap XML files. type=System.Web.XmlSiteMapProvider securityTrimmingEnabled=true siteMapFile=“web.sitemap/>
    </
providers>
</
siteMap>

App_Themes (ASP.NET 3.5)

Use App_Themes to apply css and skins to the website.  To add – use the Add ASP.NET folder to the website so that you have App_Themes, and then add a Theme directory under that.

MSDN Overview: http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx

CSS Control Adapters (ASP.NET 3.5)

You can use adapters to overwrite the output of controls so that they are more css friendly (and avoid the output of tables to render particular controls).

http://weblogs.asp.net/scottgu/archive/2006/05/02/444850.aspx

http://weblogs.asp.net/scottgu/archive/2006/11/29/tip-trick-use-the-asp-net-2-0-css-control-adapters-for-css-friendly-html-output.aspx

URL Rewriting (ASP.NET)

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx