Zire
Zire

Reputation: 35

Is it possible to run inside visual studio .net published web site?

Hello I need one confirmation from you guys. I have one client who have published web site (asp.net 2.0) and site is live online. Client doesn't have solution or original source code of this web site project. My question is : Is it possible to download this code localy and successively run it inside visual studio ?

Upvotes: 1

Views: 304

Answers (3)

Leniel Maccaferri
Leniel Maccaferri

Reputation: 102418

Simple answer is Nope.

You do need the source code to build and run the web site within Visual Studio. Visual Studio purpose is to help the developer build the website or even extend a website (looks like what you want to do) and to do so it requires source code files.

What you can do is to try to set up IIS (Internet Information Services) and run a copy of the web site locally but it isn't Visual Studio as you stated in the question.

Upvotes: 2

PeteGO
PeteGO

Reputation: 5791

Sometimes you may find the source code files on the live server, or a backup of them. If not you could use the dlls and some software to view the code using reflection.

Some of these also regenerate the Visual Studio projects for you - I know the paid version of .Net Reflector does.

If you do it that way, depending on what you use, some of the code may not come out exactly as it was written but it should work the same way.

Upvotes: 1

Jeff LaFay
Jeff LaFay

Reputation: 13350

You can run it in cassini, iis, or iis express but you can't step through the code if that's what you're after.

If you want to simply inspect the code I recommend IL spy. That's what I use.

http://ilspy.net/

Upvotes: 0

Related Questions