Last post Apr 27, 2007 02:03 PM by Haissam
Apr 27, 2007 12:07 PM|mark4asp|LINK
Suppose I wanted to handle errors outside of Global Application_Error() and put my code in a class in App_Code.
I have a call:
But this class in App_Code clearly doesn't know what "Server" is in this context. How can I find the correct namespace to put in my using statements?
Is there a web-site where I can go to look-up namespaces? If not why not?
I seem to spend most of my time trying to figure out which using statements to include! - what a waste of time. It would be so useful to be able to narrow a search for method or class which returns the actual reference information and NOT
hordes of tutorial articles repeating themselves. In other words Google is useless and msdn was of no help either! in finding this information.
Is there a way to search msdn2 - limiting the search to the reference information and ignoring the tutorials?
Apr 27, 2007 02:03 PM|Haissam|LINK
You can get the Server object through HttpContext.Current