One of the stakeholders I was working for has pulled the plug on their project. They wanted to be established for Christmas and wanted the software ready by the end of the August to give time for search engines and advertising, which was a deadline I couldn't promise to meet.
So now I have some spare time to port my homepage (currently offline) from ASP.NET 1.1 to ASP.NET v2.0.
Previously my homepage implemented it's own Url Rewriting through a custom HTTP Module, it was adequate but involved a lot of superfical assemblies to get working. ASP.NET v2.0 now supports Url Rewriting... so here's how to use it.
The process simply involves adding a section to the Web.Config file that maps one Url to another.
<system.web>
<urlMappings enabled ="true">
<add url="~/london.aspx" mappedUrl="slideshow.aspx?display=london"/>
</urlMappings>
</system.web>
The example there shows how to add a url mapping between a virtual web page 'london.aspx' and the actual web page, used to display a slideshow of London pictures, 'slideshow.aspx?display=london"
How easy is that!!