简体   繁体   中英

Recover ASP.NET MVC Project From Files Stored On IIS

Ok so I did the idiot thing and I think I deleted my folder that had a visual studio mvc project. One good thing is I already published it to an IIS site.

Now my question is, how can I recover the project using the files on the IIS server? I can see the views, etc. but I don't appear to see any controller files, etc.

I've seen some other answers for older versions of asp.net where you could decompile to get your code behind back. MVC doesn't have code behind so how can I do this?

Please help me.

Your controller classes are compiled into binaries when you build and publish into IIS. You can go to your IIS bin folder, find the compiled web .ddl and then use some tools to view the source (try ILspy)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM