473,395 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Intrinsic objects of ASP.Net

What are intrinsic objects of asp.net?
thx
Nov 19 '05 #1
5 3155
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

"Alan Ho" <gt*********@yahoo.com.hk> wrote in message
news:OM**************@TK2MSFTNGP15.phx.gbl...
What are intrinsic objects of asp.net?
thx

Nov 19 '05 #2
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!)
"Alan Ho" <gt*********@yahoo.com.hk> wrote in message
news:OM**************@TK2MSFTNGP15.phx.gbl...
What are intrinsic objects of asp.net?
thx

Nov 19 '05 #3
The same intrinsic objects ASP had.

The Request, Response, Server, Application, and Session objects are
part of ASP.NET and are used in much the same way as they are in ASP.

However, in ASP.NET these objects are defined
in new classes in the System.Web namespace.

See :
http://msdn.microsoft.com/library/de...sicobjects.asp

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Alan Ho" <gt*********@yahoo.com.hk> wrote in message
news:OM**************@TK2MSFTNGP15.phx.gbl...
What are intrinsic objects of asp.net?
thx

Nov 19 '05 #4
I believe the term refers to legacy COM objects that are still being used by
using wrapper classes two intrinsic objects of many being the Response and
Request objects.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"Alan Ho" <gt*********@yahoo.com.hk> wrote in message
news:OM**************@TK2MSFTNGP15.phx.gbl...
What are intrinsic objects of asp.net?
thx

Nov 19 '05 #5
In ASP.NET those objects are defined
as classes in the System.Web namespace.

They are not legacy objects in ASP.NET.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I believe the term refers to legacy COM objects that are still being used by using
wrapper classes two intrinsic objects of many being the Response and Request objects.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"Alan Ho" <gt*********@yahoo.com.hk> wrote in message
news:OM**************@TK2MSFTNGP15.phx.gbl...
What are intrinsic objects of asp.net?
thx


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Glenn Venzke | last post by:
I'm trying to write/compile a class that (1) accesses all the intrinsic ASP.NET objects (2) Uses Server.Transfer to redirect a user back to a log in page if a session has expired. I've gotten...
5
by: Jeremy Cowles | last post by:
I have been reading a book that focuses on understanding the intrinsic types of C++ in depth. The author's mentality is this: "Understand the intrinsic types, then learn the std types as needed...
13
by: Alek Davis | last post by:
Hi, Is it possible to access intrinsic ASP objects, such as Request, from a .NET class. Say, I have a .NET library exposed via a COM or COM+ wrapper. Can this library retrieve the request info...
7
by: A Traveler | last post by:
Hello all, i was just curious if anyone whos been playing with VS2005 could tell me... In javascript (and java??) you can alter the prototypes for an object in your project. I dont remember...
0
by: albean | last post by:
I I have a number of VB COM components used in ASP pages that access some intrinsic ASP objects. Basically we would get the context from COMSVCSLib and from there get the ASP Request and Response...
2
by: jason | last post by:
hello everyone, i have had a suppot ticket open with microsoft for some time to investigate a memory leak issue we are experiencing on our production web servers. the web servers host both ASP...
8
by: Thelma Lubkin | last post by:
I have finally nagged more work out of the non-profit organization that I'm trying to do volunteer work for. The following code begins a tiny form that is part of the project that I'll be...
3
by: Pexi | last post by:
Hi, we have a component developed with VB6 (compiled as a single threaded dll), which we have used as Application level object for several years in classic asp without problems. Yet now, when we...
0
by: =?Utf-8?B?RmFicml6aW8gQ2lwcmlhbmk=?= | last post by:
I need to access classic ASP intrinsic objects and their properties from a ..net assembly wrapped to COM. The COM .net assembly is then instanciated from a classic ASP page with...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.