Ehsan Ghanbari

Experience, DotNet, Solutions

ASP.NET Intrinsic Objects

When I heard about Intrinsic objects I thought that it’s a collection of objects and something newly added in .Net framework! And that's because I have no experience working with asp classic. in classic ASP, the framework would take care of instantiating a number of objects such as RequestResponseServer and Application. In asp.net, the framework creates all of these objects as well But they are not simply global variables named "Request" or "Response". Rather, they are properties exposed by classes. as All web forms in asp.net are basically instances of the ASP.Net Page class, it exposes all of this intrinsic objects for you. So naturally when you create a pure class in your asp.net application you don't have these intrinsic objects unless you go through HttpContext.Current. So the asp.net framework define all of these objects (Request, Response, Server, Session, Application , User, cache, Trace) in System.Web namespace for you and  They are the core objects neccesary for working in the asp.net.

 

 For more information take a look at these articles:

  1. http://www.pearsonitcertification.com/articles/article.aspx?p=31275&seqNum=3
  2. http://www.tutorialspoint.com/asp.net/asp.net_server_side.htm

About Me

Ehsan Ghanbari

Hi! my name is Ehsan. I'm a developer, passionate technologist, and fan of clean code. I'm interested in enterprise and large-scale applications architecture and design patterns. I spend a lot of time on software architecture. Since 2008, I've been as a developer for different companies and organizations and I've been focusing on Microsoft ecosystem all the time. During the past years, Read More

Post Tags
Pending Blog Posts
using Elmah in asp.net MVC4
Using FluentSecurity in MVC
Strategic design
Factory Pattern
time out pattern in ajax
Redis as a cache server
How to use PagedList In asp.net MVC
Multiple submit buttons in asp.net MVC
Domain driven design VS model driven architecture
What's the DDD-lite?
comments powered by Disqus