Sandeep
Sandeep

Reputation: 288

How to get the source code of a aspx page

I want to get the main source of an aspx page.

How can i be able to know as to which and all links been created to get that site. When I right-click on the page, I get some Html page...but cant use it for compilation. Is ther some other way to approach this.? Help me out as i'm new to asp.net 4.0.

and yea, 1 more thing, I just need to get the UI design tags which produced the page.

Thanks in advance...

Upvotes: 1

Views: 9067

Answers (2)

Darren
Darren

Reputation: 70718

Unless you have access to the server where the files are hosted you cannot see the source code.

ASP.NET is server side, so when you request the page the web server (IIS) will use the ASP.NET engine to do the processing on the server and then construct the HTML, which is the output you see in the browser.

Upvotes: 1

Rab
Rab

Reputation: 35572

You can't do it... Unless you are local on the same machine OR Have ftp access onto the server. OR when IIS is not configured to server asp.net application.

Upvotes: 4

Related Questions