W3C Designer

what is asp technology - introduction

5/14/2021
Hacker

The ASP Technology

ASP and ASP.NET are server side technologies. Both technologies enable code to be executed by an online server.

When a web browser requests an ASP file, the ASP engine read the file, executes code inside the file, and returns the result to the web browser.

What is ASP


What Is ASP

ASP stands for Active Server Pages

Active Server Pages (ASP) is an HTML page consisting of 1 or more scripts (small embedded programs) that are processed on the Microsoft web server before the page is shipped to the user.

ASP supports several programming languages such as JavaScript and C #. It is similar to other scripting languages such as PHP, and JSP. When your browser URL shows the suffix ".asp" or ".aspx", you are going to the ASP page.

ASP is a feature of Microsoft Internet Information Server, but it handles HTML pages, so it is supported by all web browsers. You'll create an ASP file by including Jscript or VBScript in an HTML file.


Important Points Of ASP

  • ASP stands for Active Server Pages
  • ASP is a development framework for creating web pages.
  • ASP was developed by Microsoft to permit programmers to create a dynamic website.
  • It is the first server side script engine which has now been superseded by ASP.NET.
  • ASP is an HTML page consisting of one or more scripts.
  • ASP is a technique (like PHP) for executing scripts on a web server. ASP is a program that runs inside a web server.
  • The script is processed by an ASP interpreter on the web server, which uses the requested input for a page to access data from the database before it is passed to the receiver.

What is an ASP File?

  • An ASP file has the file extension ".asp".
  • An ASP file is simply an equivalent as an HTML file.
  • An ASP file can contain server scripts additionally to HTML
  • Server scripts in an ASP file are executed on server.

ASP Supports

ASP supports many different development models:

  • Classic ASP
  • ASP.NET Web Forms
  • ASP.NET MVC
  • ASP.NET Web Pages
  • ASP.NET API
  • ASP.NET Core

ASP.NET Web Pages

  • The ASP.NET web page is a SPA application model (single page application).
  • The SPA model is largely similar to PHP and classic ASP.
  • ASP.NET web pages are being merged into the new ASP.NET core.
  • Web pages are programming models for creating ASP.NET sites and web applications.
Web pages provide an easy way to combine HTML, CSS and server code:

  1. Easy to learn, understand and use
  2. Uses an SPA application model (single page application)
  3. PHP and Classic ASP Similar.
  4. VB (Visual Basic) or C # (C Sharp) Scripting Language.
  5. In addition, web pages can be easily extended with programmable helpers for application databases, videos, graphics, social networking, and more.

    It is used to create dynamic web pages. It provides a fast and lightweight way of combining server code with HTML. It helps in adding videos, linking to social sites. It also gives another features such as we can create a beautiful website to conform to the latest web standards.

    These are all stable and well-equipped structures. We can build web applications with any of them. These are also based on the .NET Framework and share the core functionalities of .NET and ASP.NET.

    We can use any development style to create applications. The choice of style depends on the skill and experience of the programmer.

    Although every framework is independent of another, we can insert and use any of them at any stage of our application. For example, to create a client interaction module, we can use MVC and we can use a web form for data control.


    ASP.NET MVC

    • ASP.NET MVC is an MVC application model (model-view-controller).
    • ASP.NET MVC is being merged into the new ASP.NET core.
    • ASP.NET MVC is not included in this tutorial.
    • This gives us an MVC (Model View Controller), a pattern-based way to create dynamic websites.
    • It enables clear separation of concerns and it gives you complete control over the markup for enjoyable, agile development.
    • It also provides many features that enable rapid development to create excellent applications.

    ASP.NET Web API

    • ASP.NET API is an API (Application Programming Interfaceapplication model.
    • ASP.NET API is being merged into new ASP.NET Core.

    ASP.NET Core

    • ASP.NET Core was released in 2016.
    • ASP.NET MVC, ASP.NET Web API and ASP.NET Web Pages were merged into 1 application framework by ASP.NET Core.

    What ASP Can Do

    • It responds to user requests submitted from HTML forms.
    • It is simple and provides more speed than Perl and CGI.
    • This is safe because the ASP code is hidden in the browser and cannot be seen.
    • It can add or change the contents of a web page.
    • It can access any type of data and returns the result to the browser.
    • Edit, modify, add content, or customize any web page.
    • Answer user queries or data submitted from HTML forms.
    • Access database or other server data and return results to browser.
    • Provide web security because ASP code cannot be viewed in the browser.
    • Offer simplicity and speed.

    How Does it Work?

    When a web browser requests a normal HTML file, the server just returns the file.

    When a web browser requests for an ASP page, the server sends a request to an ASP engine which reads the ASP file or document and executes the server script in the file.

    Finally ASP file is returned to browser as plain HTML.


    ASP.NET

    ASP.NET is a web framework designed & developed by Microsoft.

    ASP.NET is a web development platform, that gives a programming model, a comprehensive s/w infrastructure and several services needed to create robust web applications for PCs as well as mobile devices.

    ASP.NET is used to develop website, web application and web services. It provides great integration of HTML, CSS and JavaScript. It was first released in January 2002.

    It is created on the Common Language Runtime (CLR) and allows programmers to write code using any supported .NET language.

    • It is the successor to ASP.
    • ASP.NET pages have the extension .aspx and are commonly written in C # (C Sharp).
    • ASP stands for Active Server Pages, and .NET Network Enabled Technologies.
    • ASP.NET is an open-source, [2] server-side web-application framework designed to create dynamic web pages for web development.
    • It allows programmers to create dynamic web sites, applications, and services.
    • ASP.NET 4.6 is latest official version of ASP.NET.

    ASP.NET 5 was expected to be an important recreate of ASP.NET. However, development of ASP.NET 5 was stopped in favor of ASP.NET Core. It is used to create web-based applications.

    ASP.Net is designed to work with HTTP protocol. It is the standard protocol used in all web applications. ASP.NET expands the .NET platform with tools and libraries specifically for building web apps.

    ASP.NET applications are compiled code.

    These codes can use the entire hierarchy of classes in the net framework.

    ASP.NET is used to develop interactive, data driven web applications over the Internet. It includes a large number of controls such as text boxes, buttons, labels to assemble, configure, and manipulate code to develop HTML pages.

    ASP.NET application Program code can be written in any of the following languages:

    • C#
    • Visual Basic.Net
    • Jscript
    • J#

    Prerequisites

    Before proceeding with this tutorial, you should have a general understanding of .NET programming language. Since we are going to build web-based applications using ASP.NET web application framework, it would be good if we have understanding of other web technologies such as HTML, CSS, JS, AJAX. etc



    No comments:

    Post a Comment