What is server objects in asp.net?

Answers were Sorted based on User's Feedback



What is server objects in asp.net?..

Answer / arpita malviya

The Server object is used to access properties and methods
on the server.

These are its methods and properties;
CreateObject: Creates an instance of an object
Execute :Executes an ASP file from inside another ASP file
GetLastError() :Returns an ASPError object that describes
the error condition that occurred
HTMLEncode: Applies HTML encoding to a specified string
MapPath :Maps a specified path to a physical path
Transfer :Sends (transfers) all the information created in
one ASP file to a second ASP file
URLEncode: Applies URL encoding rules to a specified string

Is This Answer Correct ?    22 Yes 4 No

What is server objects in asp.net?..

Answer / vikas semra

Server Object bascially used to know about server.

Let's take an example

We just write server.transer("SomePage");

This What ever server is doing just stop processing
immediately and redirect to somePage.

Is This Answer Correct ?    15 Yes 3 No

What is server objects in asp.net?..

Answer / rakesh

Server.transfer is like method callback
but the url name can't be changed
it will create annonymous actions while postback

Is This Answer Correct ?    3 Yes 4 No

What is server objects in asp.net?..

Answer / jesse

data set and data reader

Is This Answer Correct ?    6 Yes 17 No

What is server objects in asp.net?..

Answer / dennis

Asp is one of the most interesting concepts of ASP.Net.
ASP is derived from the Greek word ''which also means ASP.
A server means the person who serves food during dinner time or during lunch, but not during breakfast because breakfast is usually served by mothers.
Hence the server objects point to those objects or the food-items that are served by a waiter/server in Greece....

Is This Answer Correct ?    1 Yes 13 No

Post New Answer

More ASP.NET Interview Questions

What methods are fired during the page load?

2 Answers  


WSDL means?

0 Answers   Siebel,


How can we call webservices in Banking Applications? and where we are using it?

0 Answers   FCG,


Which namespace is used by ado.net?

0 Answers  


What is the difference between sealed vs static class?

0 Answers  


What is the purpose of using MVC programming pattern in ASP.NET?

0 Answers   PUCIT,


how to create bin folder in asp.net2.0

8 Answers  


What is HTTPContext and HTTPModule. What is the use of them?

1 Answers  


Are cookies stored on server or client?

0 Answers  


What is the maximum number of classes that can be contained in one dll file?

0 Answers  


You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel

2 Answers   Syntax Softtech,


What is difference between asp.net and asp?

0 Answers  


Categories