views:

79

answers:

2

Hi,

I am using asp.net with C#. I have a application deployed on the server [published], now I want to see the code for that website, As far as I know I can read assembly to see the code.

please let me know how to acheive it.

Thanks in advance.

+6  A: 

You can use the RedGate .NET Reflector to decompile assemblies - it reconstructs the code as best it can. Gets pretty close.

Oded
indeed. Or use the standard .NET tool ILDasm.exe to read the assembly ...
Run CMD
@Bugz R us - ILDasm will show the IL, not reconstructed C#/VB.NET
Oded
A: 

Reflector is the best choice if you just need to see the code. If you need to write a program that can read the code, I recommend the Common Compiler Infrastructure.

Stephen Cleary