I always struggle to find out that how to know what site definition or site template a "Web" or a "Site" is using. We do have a lot of custom site definitions and site templates, we are using in our portal, so If there is any freeware tool or way to find out, would be great.
We keep records of Site Templates in Database, but I want to know if there is any way, I find it out using a C# script or simply any app.
Cheers