0

I've published my ASP.NET website to my Hosting Server via Visual Studio.

But things happened, and I lost all of my sources. I had a backup but it is not recent enough. I could re-code everything that is missing but I don't remember all of it.

I recovered some of my source code using JustDecompile tool but failed to recover the .aspx html markup code, When I open the aspx files, I can only see "This is a marker file generated by the precompilation tool, and should not be deleted!"

I was wondering if it's possible to get the aspnet markup code from the server where I published my website ? I have a full access on it.

Thanks,

abdikadir
  • 1
  • 6
  • Possible duplicate of [Decompile Precompiled Source Code ASP.NET](https://stackoverflow.com/questions/4608587/decompile-precompiled-source-code-asp-net) – EdSF Mar 10 '18 at 17:29
  • Looking ASPNET HTML Markup not the source code. – abdikadir Mar 11 '18 at 06:50
  • You _could_ either (a) go to each page with a browser to see the _rendered_ html (view source) and save, or, (b) automate by writing a console app or use `curl`, `postman`, etc. to make `GET` requests - and save the HTML, etc. response. – EdSF Mar 11 '18 at 17:47
  • Thanks EdSF, I did it. – abdikadir Apr 12 '18 at 08:44

0 Answers0