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

How would you get ASP.NET running in Apache web servers - why would you even do this?

1 Answers   Siebel Systems,


What is owin authentication?

0 Answers  


Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

0 Answers  


Explain the flow of processing of the request? : asp.net mvc

0 Answers  


how to increase performance of web site? if there is a page with high load. the content is high then what should we do to increase performance?

3 Answers   Emphasis, Mphasis, TCS,






What is Web Application?

2 Answers   HCL,


Where on the Internet would you look for Web services?

5 Answers   IBM, MNC, Siebel Systems,


What is wrong with a line like this? DateTime.Parse(myString)

5 Answers   Metasys,


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


What are the Application_Start and Session_Start subroutines used for?

5 Answers   Siebel Systems,


What is the differances between a abstract calss and interface

2 Answers   Patni,


Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

2 Answers   Siebel Systems,


Categories