[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Understanding .NEt

Posted on 2012-08-16
2
Medium Priority
?
322 Views
Last Modified: 2012-08-20
I'm new to .Net and understand you can tell that a website uses ASP.net becuase it has a *.asp extension but when you view the source code of the sites it's all HTML.. How can you really tell if the site was deployed using .Net?

ALso can Visual Studio .Net be used to decompile a random *.exe or *.msi file?
0
Comment
Question by:compdigit44
2 Comments
 
LVL 14

Accepted Solution

by:
EMB01 earned 1000 total points
ID: 38302430
Since it's on the server, you can't have direct access to it.  If you can illicit an uncaught exception, you can usually see what version it is running because it will say at the bottom.  For instance, if the sites URL is www.mywebsite.com/Controller/Action/Id where Id accepts an integer value, just send it a string like /Controller/Action/RandomString and an error should be thrown.
0
 

Assisted Solution

by:spekou
spekou earned 1000 total points
ID: 38304111
Hello,

If you want to decompile a C# or vb.net based *.exe or *.msi file you can use the tool "Reflector"
 > Reflector is a decompiler, it is not free but there is a free 30 day trial : here
 > Some free decompiler also exists. (like this one or this one). I have not tried this two other solutions yet.

Reflector will only allow you to see the source code, if you want to convert it to a VS solution you might have to use this

Concerning .net websites, you can't know for sure when using a website if it has been deployed using .net, only some few clues can make you guess :
 > *.asp or *.aspx extension files
 > www.mywebsite.com/Controller/Action/Id like EMB01 said, but in this case the MVC Framework for asp was used
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month20 days, 8 hours left to enroll

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question