---
title: "Is it possible to see the code that ASP.NET generates from an ASPX file?"  
description: "Is it possible to see the code that ASP.NET generates from an ASPX file?"  
author: "Manasavi Rajpoot"  
published: 2010-11-16  
updated: 2010-11-16  
canonical: https://www.mindstick.com/forum/108/is-it-possible-to-see-the-code-that-asp-dot-net-generates-from-an-aspx-file  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Is it possible to see the code that ASP.NET generates from an ASPX file?

how it can do? please give the [right](https://www.mindstick.com/articles/12766/check-whether-you-are-doing-digital-transformation-right-or-not) answer![Is it possible to see the code that ASP.NET generates from an ASPX file?](https://www.mindstick.com/app_images/htmleditor.icons/eusa_naughty.gif)\

## Replies

### Reply by Amit Singh

By enabling debugging using a <%@ Page Debug="true" %> directive in the ASPX file or a <compilation debug="true"> statement in Web.config, the generated code can be viewed. The code is stored in a CS or VB file (usually in the \%SystemRoot%\Microsoft.NET\Framework\v1.0.nnnn\Temporary ASP.NET Files).


---

Original Source: https://www.mindstick.com/forum/108/is-it-possible-to-see-the-code-that-asp-dot-net-generates-from-an-aspx-file

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
