Sideway
output.to from Sideway

ASP.Net


ASP.Net


Draft for Information Only

What is ASP.NET?

ASP.NET is .........

  • ASP stands for Active Server Pages
  • ASP.NET is a server side technology that built on the .NET technology from Microsoft.com
  • ASP.NET files use the extension ".aspx" to activate the supported web server to compile the ASP.NET files
  • ASP.NET also uses delimiters "<%" and "%>" as markup tags to specify the beginning and end of the enclosed script commands.
  • ASP.NET also supports Embedded code blocks in Web Forms pages for providing backward compatibility with ASP technology.

Examples

Examples of ASP.NET code

ASP.NET Code Input:
<% Response.Write ("<h1>This is a Sample ASP.NET Code</h1>") %>
HTML Web Page Embedded Output:

ASP.Net Technology

Unlike ASP technolgy, ASP.NET compile the ASP.NET document and return a HTTP document. In other words, ASP.NET technology adds an abstraction layer on top of HTTP to handle ASP.NET files and the web server becomes operating in a two-tiered way.

image

ASP.NET Document

Basic Features of ASP.NET files.........

  • ASP.NET file is a HTML script with extension ".aspx" to describe web page
  • ASP.NET file is just a HTML script containing ASP.NET scripts.
  • ASP.NET technology is just an additional script compiling engine to compile the ASP.NET file and return a HTML document.
  • HTML document contains HTML tags and plain text without script command can also be an ASP.NET file by renaming the extension to ".aspx"
  • ASP.NET technology also enables both ActiveX scripts and ActiveX server components running on the server through the .NET technology.

Examples

Examples of ASP.NET page

HTML Document Input:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Sample Page</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> 
    </head>
    <body>
        <% Response.Write ("<h1>This is a Sample ASP.NET Page</h1>") %>
    </body>
</html>
HTML Web Page Embedded Output:

ASP.NET Element

Unlike ASP document, code and page layout are seperated into two sections. In general, ASP.NET document can be divided into three parts.

  •  Directive block: used by ASP.NET engine as settings for the compilers to process ASP.NET document.
  • Script block: used by ASP.NET engine as programming code for generating the HTML document.
  • Form; used by ASP.NET engine as document layout for generating the HTML document.

ASP.NET Mechanism

In general, the mechanism of ASP.NET engine in the IIS is similar to a HTML compiler for ASP.NET file.

ASP.NET Additional Information

ASP.NET additional information ..........

  • https://docs.microsoft.com/en-us/aspnet/#pivot=aspnet (last updated on 17Mar2018)

┬ęsideway
close

References

  1. Active Server Pages, http://msdn.microsoft.com/en-us/library/aa286483.aspx, updated 20Dec2012
  2. ASP Overview, http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx, updated 21Dec2012
  3. ASP Best Practices, http://technet.microsoft.com/en-us/library/cc939157.aspx, updated 15Apr2013
  4. ASP Built-in Objects, http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx, updated 20Dec2012
  5. Response Object, http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx, updated 20Dec2012
  6. Request Object, http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx, updated 20Dec2012
  7. Server Object (IIS), http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx, updated 20Dec2012
  8. Application Object (IIS), http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx, updated 20Dec2012
  9. Session Object (IIS), http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx, updated 20Dec2012
  10. ASPError Object, http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx, updated 20Dec2012
  11. ObjectContext Object (IIS), http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx, updated 20Dec2012
  12. Debugging Global.asa Files, http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx, updated 15Apr2013
  13. How to: Debug Global.asa files, http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx, updated 15Apr2013
  14. Calling COM Components from ASP Pages, http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx, updated 15Apr2013
  15. IIS ASP Scripting Reference, http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx, updated 15Apr2013
  16. ASP Keywords, http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx, updated 15Apr2013
  17. Creating Simple ASP Pages, http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx, updated 15Apr2013
  18. Including Files in ASP Applications, http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx, updated 15Apr2013
  19. ASP Overview, http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx, updated 15Apr2013
  20. FileSystemObject Object, http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx, updated 14Mayr2013
  21. http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, ADO Object Model, updated 15Apr2013
  22. ADO Fundamentals, http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx, updated 14Mayr2013
close

ID: 180900010 Last Updated: 2018/9/10 Revision: Ref:

IMAGE

Home (1)

Business

Management

HBR (3)

Information

Recreation

Hobbies (7)

Culture

Chinese (1097)

English (330)

Reference (60)

Computer

Hardware (148)

Software

Application (187)

Digitization (24)

Numeric (19)

Programming

Web (530)

HTML

Knowledge Base

Common Color (1)

Html Entity (Unicode) (1)

Html 401 Special (1)

OS (366)

MS Windows

Windows10 (1)

DeskTop (5)

Knowledge

Mathematics

Formulas (8)

Number Theory (97)new

Algebra (14)

Trigonometry (18)

Geometry (18)

Calculus (66)

Engineering

Tables (8)

Mechanical

Control

Process Control (1)

Mechanics (1)

Rigid Bodies

Statics & Dynamics (128)

Fluid (5)

Fluid Kinematics (5)

Acoustics (19)

FiniteElement (2)

Biology (1)

Geography (1)


facebook
Latest Updated Links

Copyright © 2000-2018 Sideway . All rights reserved Disclaimersfacebook last modified on 08 Mar 2018