Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I have a pre-compiled website code in asp.net c#.I want to get the code in it's normal form like it was before it was put on to compiled code.If it's not possible then is there any other way to get it into the working form?
Posted
Comments
[no name] 29-Apr-14 12:54pm    
You would need to decompile it using Reflector or similar but it may not be exactly the same. Of course the easiest thing to do would be to just reopen your website project in visual studio.
Sergey Alexandrovich Kryukov 29-Apr-14 12:56pm    
Decompilation is not a problem, but where to get the assemblies? From the client side it is not possible.
—SA
[no name] 29-Apr-14 14:11pm    
No he said that he already has the assemblies. I suspect that he is trying to reverse engineer someone else's code.
Sergey Alexandrovich Kryukov 29-Apr-14 15:35pm    
This is hard to imagine (OP may not know exactly what he really has.) Normally, a stranger is not given the access to the assemblies; and they are harder to get then to decompile them.
—SA
Sergey Alexandrovich Kryukov 29-Apr-14 15:59pm    
Anyway, I answered, please see Solution 1. However, I cannot see the reason for such situation which could be both reasonable and legitimate.
—SA

Please see the comments to the question. I cannot see the legitimate purpose for reverse engineering. Nevertheless, assuming that it is somehow legitimate: my advice is: use the open-source product ILSpy, which performs decompilation of very good quality:
http://en.wikipedia.org/wiki/.NET_Reflector[^] (see the reference at the end of "History" section),
http://www.ilspy.net/[^].

—SA
 
Share this answer
 
you can use decompiler, for example dotPeek (is a free-of-charge .NET decompiler)
http://www.jetbrains.com/decompiler/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900