ASP.NET

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentASP.NET

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old March 21st, 2013, 05:15 PM
xarzu xarzu is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 23 xarzu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 39 m 29 sec
Reputation Power: 0
How do you debug a single ASPX file?

How do you debug a single ASPX file?

I am somewhat new to ASPX files, but I am not new to C#.

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.

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?

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?

How do I run the code?

My point is that there is no project to load. There is only a file.

After setting a break point, there is nothing to run.

http://i67.photobucket.com/albums/h292/Athono/for_you_zps92477be0.png

I have tried attaching to the browser that has the aspx code loaded but then the breakpoints become inactive.

the file is https://www.seattleu.edu/admission/nonMatricLander.aspx

and out on the server there is just the aspx file and the accompanying .cs file

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.

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

I think I need to do the following. I need to run the code locally through "localhost" and attach the process through the debugger. How do I run the localhost?

Reply With Quote
  #2  
Old May 4th, 2013, 07:56 AM
annaharris annaharris is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Posts: 22 annaharris User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 21 m 28 sec
Reputation Power: 0
You can debug a single or multiple aspx files within your project window itself.

Reply With Quote
  #3  
Old December 14th, 2016, 12:20 AM
dishagandhi dishagandhi is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2016
Location: Ahmedabad
Posts: 52 dishagandhi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 40 m 42 sec
Reputation Power: 1
For debug a single page or a project You should press F5 key.

Reply With Quote
  #4  
Old September 14th, 2017, 07:23 AM
ericdebby ericdebby is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2017
Posts: 0 ericdebby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 48 m 32 sec
Reputation Power: 0
Open debugger page from your localhost you will see the w3wp and then attach to it. Then you will see the ASPX then connect to it and set breakpoints.

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentASP.NET > How do you debug a single ASPX file?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap