I accidentally formatted the disk that contains my .net webforms project. I only have published one. Now I want to get c# codes from published project. Is this possible?
Asked
Active
Viewed 76 times
2
-
Yes, it is possible, unless you have not used any confuscator. You can use [this](https://www.jetbrains.com/decompiler/) for example. – L_J Jul 19 '18 at 12:12
-
You can also refer the below URL https://stackoverflow.com/questions/4706377/how-do-you-extract-classes-source-code-from-a-dll-file – Romilton Fernando Jul 19 '18 at 12:23
1 Answers
2
You can't get the exact code, but you can use some softwares that 'decompile' the dll. I call this reverse engineering.
Personally I use ILSPy, heres ILSPy GitHub Repository: https://github.com/icsharpcode/ILSpy
Hope this works for you! Thx

sathoril
- 96
- 2
- 8