Look, the asp.net site is deployed as the following:
- The 'bin' folder: contains one or more assemblies(.dll files) of code-behind classes.
- The content files: .js and .css files distributed in folders just as your project.
- The .master, .aspx and .ascx files: in the @Master @Page and @Control perspectives(in the top of the file) the attribute inherits determines which assembly in 'bin' folder contains the code-behind class(in the form of "class, assembly name").
you should do the following:
- disassemble the code-behind class in a .vb or .cs file and save it in the same folder as the page.
- remove assembly name from the inherits attribute.
- add a 'codeBehind' attribute with the name of the code-behind file.
To disassemble the classes you can use
Reflector.Net[
^]
wish you luck.