I have some custom ASPX developed in VS2008 which have C# code. They are currently deployed at the moment to the LAYOUTS folder, although I believe they ought to be copied down to the site collection this feature is going to be used on.
Should these pages instead be kept in a FEATURES folder and copied down as part of the Feature Activation to the site collection? What else might need to be done in terms of allowing the custom code behind the pages to run?