Click here to Skip to main content
15,913,610 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Kornfeld Eliyahu Peter20-Feb-18 20:37
professionalKornfeld Eliyahu Peter20-Feb-18 20:37 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
lmoelleb20-Feb-18 20:45
lmoelleb20-Feb-18 20:45 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel20-Feb-18 21:51
professionalSander Rossel20-Feb-18 21:51 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
lmoelleb20-Feb-18 21:57
lmoelleb20-Feb-18 21:57 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
GuyThiebaut20-Feb-18 21:07
professionalGuyThiebaut20-Feb-18 21:07 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
GKP199220-Feb-18 21:11
professionalGKP199220-Feb-18 21:11 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Jörgen Andersson20-Feb-18 22:03
professionalJörgen Andersson20-Feb-18 22:03 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
F-ES Sitecore20-Feb-18 22:45
professionalF-ES Sitecore20-Feb-18 22:45 
When you are asking a server for a resource you issue a GET with the URI of the resource. If you're looking for a file called home.html you would issue

GET /home.html

If that resource can't be found the server will respond 404 to let you know.

When you are asking a web service for a resource you issue a GET with the URI of the resource. If you're looking for a Product with id of 123 you would issue

GET /product/123

If that resource can't be found the server will respond 404 to let you know.

In the first case the resource is a file, in the second the resource is the product.


You're not thinking about the resource itself, you're thinking about the mechanism to deliver the resource. The fact that the /product controller exists means the mechanism to find the product exists, but the client isn't interested in that, it doesn't care if the delivery mechanism is there, it cares if its product\resource is there. When you ask for

/thisdoesnotexist.aspx

if we return 200 because the mechanism to deliver the resource exists even if the target resource doesn't then this would return 200 also as the http handler that deals with the aspx pipeline exists, even if it can't fine the relevant aspx file on the file system.
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel20-Feb-18 23:59
professionalSander Rossel20-Feb-18 23:59 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
MadMyche21-Feb-18 4:59
professionalMadMyche21-Feb-18 4:59 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 20-Feb-18 23:10
11917640 Member 20-Feb-18 23:10 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 0:00
professionalSander Rossel21-Feb-18 0:00 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 21-Feb-18 1:50
11917640 Member 21-Feb-18 1:50 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 8:37
professionalSander Rossel21-Feb-18 8:37 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
John Bevan21-Feb-18 21:25
John Bevan21-Feb-18 21:25 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
11917640 Member 24-Feb-18 19:10
11917640 Member 24-Feb-18 19:10 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Chris Maunder21-Feb-18 1:02
cofounderChris Maunder21-Feb-18 1:02 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
MadMyche21-Feb-18 4:46
professionalMadMyche21-Feb-18 4:46 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Sander Rossel21-Feb-18 8:35
professionalSander Rossel21-Feb-18 8:35 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Bajaja21-Feb-18 20:53
professionalBajaja21-Feb-18 20:53 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
John Bevan21-Feb-18 21:19
John Bevan21-Feb-18 21:19 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
maze321-Feb-18 23:27
professionalmaze321-Feb-18 23:27 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
ScottM121-Feb-18 23:58
ScottM121-Feb-18 23:58 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Peter Shaw21-Feb-18 23:58
professionalPeter Shaw21-Feb-18 23:58 
GeneralRe: Question on 404 (not technical, I just want opinions) Pin
Greg Bair22-Feb-18 2:26
professionalGreg Bair22-Feb-18 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.