title: How do you debug a single ASPX file?
body: <p>How do you debug a single ASPX file?</p>
  
  <p>I am somewhat new to ASPX files, but I am not new to C#.</p>
  
  <p>I figured that all asp.net c# projects were run on the server as compiled code.  And so there was some sort of binary file somewhere somehow or maybe a XAP file like they have with silverlight.</p>
  
  <p>But it seems that this is not the case. it seems that, sometimes, you can have an ASPX file along with the code-behing C Sharp file and it runs just like a PHP file.  For starters, is that right?  Am I right so far?</p>
  
  <p>Now, if I was the owner of both the ASPX file and the CSHARP code-behind file, how would I go about debugging it in Visual Studio?</p>
  
  <p>How do I run the code?</p>
  
  <p>My point is that there is no project to load.  There is only a file.</p>
  
  <p>After setting a break point, there is nothing to run.  I have tried attaching to the browser that has the aspx code loaded but then the breakpoints become inactive.</p>
  
  <p>the file is <a href="https://www.seattleu.edu/admission/nonMatricLander.aspx" rel="nofollow">https://www.seattleu.edu/admission/nonMatricLander.aspx</a></p>
  
  <p>and out on the server there is just the aspx file and the accompanying .cs file </p>
  
  <p>That is all there is.  There is no solution file, there is no default.aspx file there is nothing else in the that directory apart from other .aspx files and aspx.cs files.</p>
  
  <p>If it was a web form, there would be a project file and and or a solution file.  There would be something compiled, right?  There is nothing like that.  there are no dll files</p>