codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



 


Previous Page  Page 1 Page 2 Page 3 Page 4 Page 5 Page 6  Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Next Page  

ASP.NET Languages are Truly Object-oriented

As was demonstrated earlier in this chapter, an obvious benefit of the ASP.NET programming model is that it (unlike its scripted counterpart) is truly object-oriented. Given that the code-behind pages or server-side script blocks are written entirely in compiled languages that have full access to all objects in the framework, the assumption can be made that ASPX pages contain the tools necessary to exploit all conventions utilized in any OOP programming environment. ASPX pages themselves can be considered reusable objects that any .NET application can reuse by simply importing the web application's namespace.

 

Additionally, it is important to note that all ASP.NET pages inherit from the System.Web.UI.Page object, thus exposing all inheritable attributes of that base object for use. Methods such as Page_Load, Construct, and Dispose are all readily accessible programmatically both in code blocks in ASPX pages, or in code that has been separated out into code-behind pages to augment your programming needs.


Previous Page  Page 1 Page 2 Page 3 Page 4 Page 5 Page 6  Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Next Page  




Click here to Buy!

Buy Fast Track ASP.NET here

© Copyright 2002 Wrox Press These chapter is written by Brady Gaster, Marco Bellinaso & Kevin Hoffman and taken from "Fast Track ASP.NET" published by Wrox Press Limited in June 2002; ISBN 1861007191; copyright © Wrox Press Limited 2002; all rights reserved.

No part of these chapters may be reproduced, stored in a retrieval system or transmitted in any form or by any means -- electronic, electrostatic, mechanical, photocopying, recording or otherwise -- without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.











Recent Forum Threads
• mkdirs
• Re: Web Development Project
• ** Site Hacked ** javascript inserted...
• Losing background/text color when converting HTML to PDF
• hidden div block when displayed, displays at an offset of 200px only in IE 6..
• help - sketch
• Re: Perl Script - File Handling.
• Open a file from website
• Re: to open 5 terminals from one and also execute different commands on each terminal


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008