Is it in any way possible to go from a pre-compiled asp.net site and back to something resembling the original code (with markup that I can update in aspx and ascx files). I have lost the original code and is left with the precompiled version of the pages. It is possible to disassemble the dlls but the code is very hard to figure out and I get many different error messages, when I try to update and rebuild the dlls that contains the precompiled aspx and ascx pages.
Asked
Active
Viewed 1,367 times
1 Answers
4
Reflector is your friend, or ildasm.exe if you know how to read MSIL. And next time use a VCS to put this code under source control to avoid uncomfortable situations like this.

Darin Dimitrov
- 1,023,142
- 271
- 3,287
- 2,928
-
It also won't be free for much longer :( For an alternative, try ILSpy or keep your eyes open for Jetbrains' standalone decompiler. – Sir Crispalot Apr 04 '11 at 21:25
-
@Sir Crispalot, yeah Red Gate will start charging for Reflector. 35 worthy bucks. I mean, I don't defend Red Gate at all for their decision but its their product and they have the right to do whatever they want with it. Personally I would spend the bucks as I can't breathe without Reflector (and without beer). – Darin Dimitrov Apr 04 '11 at 21:26