473,327 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Seeing the source code created for an ASPX page...

What is the easiest way to see the code created by ASP.NET for an ASPX page
?
In 1.1, I use i/i to get a compile time error so that ASP.NET shows the
code. In 2.0, it runs fine showing NaN (Not a Number).

The code seems temporary and I guess the file is deleted almost as soon as
compiled.

TIA.

Patrice
--

Nov 19 '05 #1
3 1027
Do you mean you want to examine the code for a page on a live site?

If so, consider looking at the IBuySpy code (may also be in the starter
kits), which had a code viewer included. You can set up the same
implementation for your code.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Patrice" wrote:
What is the easiest way to see the code created by ASP.NET for an ASPX page
?
In 1.1, I use i/i to get a compile time error so that ASP.NET shows the
code. In 2.0, it runs fine showing NaN (Not a Number).

The code seems temporary and I guess the file is deleted almost as soon as
compiled.

TIA.

Patrice
--

Nov 19 '05 #2
Nope was to see the source code created automatically from an ASPX page not
mine.

I finally found it in the user profile temp directory (when using Web
Developer Express). It's is likely similar in 1.1 with dev tools I guess.

Patrice

--

"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> a
écrit dans le message de
news:EE**********************************@microsof t.com...
Do you mean you want to examine the code for a page on a live site?

If so, consider looking at the IBuySpy code (may also be in the starter
kits), which had a code viewer included. You can set up the same
implementation for your code.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Patrice" wrote:
What is the easiest way to see the code created by ASP.NET for an ASPX page ?
In 1.1, I use i/i to get a compile time error so that ASP.NET shows the
code. In 2.0, it runs fine showing NaN (Not a Number).

The code seems temporary and I guess the file is deleted almost as soon as compiled.

TIA.

Patrice
--

Nov 19 '05 #3
Nope was to see the source code created automatically from an ASPX page not
mine.

I finally found it in the user profile temp directory (when using Web
Developer Express). It's is likely similar in 1.1 with dev tools I guess.

Patrice

--

"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> a
écrit dans le message de
news:EE**********************************@microsof t.com...
Do you mean you want to examine the code for a page on a live site?

If so, consider looking at the IBuySpy code (may also be in the starter
kits), which had a code viewer included. You can set up the same
implementation for your code.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Patrice" wrote:
What is the easiest way to see the code created by ASP.NET for an ASPX page ?
In 1.1, I use i/i to get a compile time error so that ASP.NET shows the
code. In 2.0, it runs fine showing NaN (Not a Number).

The code seems temporary and I guess the file is deleted almost as soon as compiled.

TIA.

Patrice
--

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can...
0
by: arasu | last post by:
Good day. I have created a "data access page". No problem in seeing through my pc's web browser. However, if I wanted to view this data in web (homepage)how to go about it? I tried to view by...
15
by: Chad A. Beckner | last post by:
Ok, here's the situation: I want to read the currently executing .aspx page "source code" from memory as it is executing so I can grab certain values from within the page (for example, say the...
6
by: William Parker | last post by:
I have a web control I made called header.ascx. It has its own properties and methods I defined. But I cannot figure out how to access this control from my code behind page. I can create the...
6
by: Tee | last post by:
in ASP.NET 1.1, I created a Class, and the class Inherits System.Web.UI.Page ... I write my common error handling code there, under Protected Overrides Sub OnError(ByVal e As System.EventArgs)...
2
by: Booker Washington | last post by:
ORIGINAL POST BELOW.. this is an addendum.... read from THE ORIGINAL POST first and below... andthen come back up to this section now upon further reading, i can provide some more...
2
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
13
by: frk.won | last post by:
I am interested in learning how to use the VS 2005 code snippets. However, I wish to know what are the best ways to source control the code snippets? Are there any source safe/subversion...
13
by: Seb | last post by:
With php I can simply append a s to the file extension, eg. .phps and if the user request the file the source will be shown in the browser. Is there a semilar functionality for aspx pages? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.