Intrinsic objects of ASP.Net

K

Karl Seguin

The concept of intrinsic objects doesn't really exist as it does in the
classic asp sense.

in classic ASP, the framework would take care of instantiating a number of
objects for you, such as Request, Response, Server, Session, Application and
a couple more depending on your version.

in ASP.Net, the framework creates these objects as well, but how they are
made available is quite different. Since everything is OO, they aren't
simply global variables named "Request" and "Response". Rather, they are
properties exposed by classes. For example, the Control class exposes all
the common 'intrisic objects' of classic ASP...so when you are writing your
page, user control or custom server control it feels a lot like classic asp
(with respect to those objects). However, when you step outside of those
classes (for example, you are building a class called "User"), there are no
intrisic objects...instead you need to go through the HttpContext.Current
which, like the control, holds references as properties to those classes.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
 
J

John Timney \(ASP.NET MVP\)

They are the core objects neccesary for the working in the asp.net part of
the .NET framework ( Request, Response, Server, Application, and Session )

-
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
J

Juan T. Llibre

In ASP.NET those objects are defined
as classes in the System.Web namespace.

They are not legacy objects in ASP.NET.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top