Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Patrice
Guest
 
Posts: n/a
#1: Nov 19 '05
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
--




Cowboy (Gregory A. Beamer) - MVP
Guest
 
Posts: n/a
#2: Nov 19 '05

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


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:
[color=blue]
> 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
> --
>
>
>
>[/color]
Patrice
Guest
 
Posts: n/a
#3: Nov 19 '05

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


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" <NoSpamMgbworld@comcast.netNoSpamM> a
écrit dans le message de
news:EECED6AE-579B-4F70-8EA1-7F5F04C4B7EC@microsoft.com...[color=blue]
> 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:
>[color=green]
> > What is the easiest way to see the code created by ASP.NET for an ASPX[/color][/color]
page[color=blue][color=green]
> > ?
> > 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[/color][/color]
as[color=blue][color=green]
> > compiled.
> >
> > TIA.
> >
> > Patrice
> > --
> >
> >
> >
> >[/color][/color]


Patrice
Guest
 
Posts: n/a
#4: Nov 19 '05

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


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" <NoSpamMgbworld@comcast.netNoSpamM> a
écrit dans le message de
news:EECED6AE-579B-4F70-8EA1-7F5F04C4B7EC@microsoft.com...[color=blue]
> 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:
>[color=green]
> > What is the easiest way to see the code created by ASP.NET for an ASPX[/color][/color]
page[color=blue][color=green]
> > ?
> > 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[/color][/color]
as[color=blue][color=green]
> > compiled.
> >
> > TIA.
> >
> > Patrice
> > --
> >
> >
> >
> >[/color][/color]


Closed Thread