INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Andy way of comparing live website with source code?

Andy way of comparing live website with source code?

(OP)
Our company recently inherited a website, consisting of a live website with just the compiled code on the server, and the aspx, config files etc, but no .vb files etc. We were also given separately what we think is the current source code for the site to run in Visual Studio.

Due to circumstances we are unsure if the version of the source code is the same as the compiled live site - Ive been tasked with finding out. The site is very complicated and frankly badly documented so it would be hard for me to test page by page the functionality and layout of the pages and time-consuming to ensure both do the same.

I'm wondering if anyone has a methodology for finding out if the two are the same - ie a compiled version of the source code would be the same as the live site. Basically so far Ive done a comparison of the aspx, config etc pages from the live site (ie non-compiled stuff) and source files and they seem match, but I wonder if there's a good way of determining if the compiled files (dlls exes etc) match - ie that the .vb and other files that exist compile to the same dlls etc as the live site already has. Checking file length is the same occurred to me on the dlls etc seemed to me a way of doing comparisons, but someone told me these might not necessarily match due to patches and updates in Microsoft Visual studio etc, so I dont know if that would be ok I seem to remember in my early days of programming running checksums on compiled files and wonder if there is something I can do like this to compare.

The budget, to do this testing, is as usual, practically zero so I can't buy fancy software to do this.

thanks in advance

RE: Andy way of comparing live website with source code?

It's actually possible to decompile .NET assemblies (i.e., dlls) into high-level source code. Here's a link to one such decompiler (it's free!):

http://www.devextras.com/decompiler/

You can also do a web search for ".NET decompiler" (without quotes, of course), and you will find a ton of different programs - some free, some not - to decompile .NET assemblies.

Good luck and post again if you need more assistance.

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close