Hi!
You've done it right - using relative links is much better than absolute ones. But all reusable pieces, like user controls, need to have URLs relative to application's root, becasue these controls may be embedded in pages at different nesting levels. For that in ASP.NET 2.0 you could use '~' as a prefix for URLs on your ASPX pages, like "~/Images/image.jpg". At runtime tilda gets replaced with application's root. Under IIS it would be "/ddd", and under Cassini it would be just "/". In ASP.NET 1.1 you may want to use Request.ApplicationPath property as a base for all your URLs, becasue it too returns either "/ddd" if application is in virtual folder, or "/" if it's a root folder.
This all, however, is not something specific to Cassini. The same issues arise if you publish your web application to IIS root folder.
Regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.