HTTP Status Codes in .Net

When users try to access content on a server that is running Internet Information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS returns a numeric code that indicates the status of the request. This status code is recorded in the IIS log, and it may also be displayed in the Web browser or FTP client. The status code can indicate whether a particular request is successful or unsuccessful and can also reveal the exact reason why a request is unsuccessful. There are 5 groups ranging from 1xx - 5xx of http status codes exists.

There are some Http Status Codes in .net and its meaning

101 - Switching protocols.

200 - OK. The client request has succeeded

302 - Object moved.

400 - Bad request.

403- Page Not Found Exception.

500.13 - Web server is too busy.

Leave Comment