Skip to main content
pelatihan
.org
Learn. Practice. Grow.
Category
EN
Sign in
Sign up
Menu
ASP Curriculum: 7 Chapters, 60 Lessons — pelatihan.org
Home
/
Catalog
/
ASP
/
Curriculum
Curriculum
ASP Curriculum
Learn ASP online with 60 structured lessons, code examples, and 300 quiz questions.
60 lessons
7 chapters
300 questions
Summaries and key points are free to preview. Full lessons, code examples, and quizzes require a subscription.
01
ASP Tutorials
1 lessons
01
ASP HOME
This page serves as an entry point to all ASP material, including Classic ASP based VBScript and ASP.NET Web Pages with Razor syntax. Active Server Pages (ASP) is a server-side…
02
WP Tutorial
17 lessons
01
WebPages Intro
ASP.NET Web Pages is a lightweight and simple web development model, where logic is written directly into the page file of the extended .cshtml or .vbhtml. This model uses Razor…
02
WebPages Razor
Razor is a template syntax that allows server code to be written alongside HTML naturally. The @mark is used to open expressions, block codes, or directories such as @page and…
03
WebPages Layout
Layouts allow shared layouts such as header, navigation, and footer to be written once and then used by multiple pages. On Web Pages, layouts are created in the _Layout.cshtml…
04
WebPages Folders
Web Pages use a standard folder structure to make system files and configurations easy to manage. The App_Data folder stores the database, the App_Code stores the artificial…
05
WebPages Global
Global files like Global.asa allow you to run code at critical moments in the application lifecycle, such as when an application starts, a session is created, or an application…
06
WebPages Forms
Forms are the primary way to receive user input, and Web Pages provide a simple way to render fields and read sent values. Form data can be taken via Request.Form or…
07
WebPages Objects
Web Pages provide in-built objects that are ready to use without import, such as Request, Response, Server, Session, and Application. Request objects handle incoming data from…
08
WebPages Files
Web Pages provide File class for file operations such as reading, writing, deleting, and uploading files from the server side. Functions such as File.ReadAllText,…
09
WebPages Databases
Web Pages can be connected to databases such as SQL Server Compact, SQL Server, or SQLite via WebDatabase. Queries are created with db.Query for SELECT and db.Execute for INSERT,…
10
WebPages Helpers
Helper is a function that packs the logic of a display or business so that it can be used repeatedly on many pages. On Web Pages, a helper can be created as a @helper function in…
11
WebPages WebGrid
WebGrid is a built-in helper for displaying tabular data from a database quickly without writing a manual HTML table. Just enter a collection of query result rows, and then…
12
WebPages Charts
Helper Chart allows you to create a direct graph of the bar, circle, line, and area from a data collection without an external library. You just set up the category and the value…
13
WebPages Email
Web Pages provides WebMail helpers to send email from the server side via SMTP servers. You need to configure SMTPs like hosts, ports, and credentials on App_Start, and then just…
14
WebPages Security
Web application security includes secure password storage, protection against CSRF, page access restrictions, and the use of HTTPS. The password should be stored as a hash with…
15
WebPages Publish
Publish means uploading the results of a Web Page project from a developer's computer to a web server so that it can be publicly accessible. The process can be done via Web…
16
WebPages Examples
Page example helps beginners see how different concepts are combined into a small functioning application, such as a guestbook, picture gallery, or registration form. From this…
17
WebPages Classes
Web Pages allows you to create your own class in the App_Code folder to pack data and logic so that it doesn't pile up inside the page. A class contains a property as a data…
03
ASP.NET Razor
8 lessons
01
Razor Intro
Razor is the template syntax that is the core of ASP.NET Web Pages, allowing C# or VB.NET server code to be written alongside HTML in a single .cshtml file. Razor is designed to…
02
Razor Syntax
The Razor syntax is very concise: the block of code opens with @{and closes with}, whereas the expression is written directly with the sign @. To display the @ sign literally use…
03
Razor C# Variables
This section discusses the writing of C# variables within a Razor page, ranging from the var keyword and explicit type to string manipulation as well as DateTime. The variable is…
04
Razor C# Loops
Razor supports C# repetitions such as foreach, for, and while to repeat the appearance of data from a particular collection or count. Loops are written in the @{} block or…
05
Razor C# Logic
C# branch logic such as if, else, and switch can be written directly into a Razor page to display content according to the condition. Writing conditions using operators such as…
06
Razor VB Variables
Razor pages can also be written with VB.NET using the .vbhtml extension. The declaration of variables uses the Dim keyword, the data type is written explicitly after the as, and…
07
Razor VB Loops
Repetitions in VB-language Razor use classic syntax such as For Each, For, and Do While. Each loop block can directly generate HTML elements so that the list of data can be…
08
Razor VB Logic
Branching in Razor VB uses the If syntax closed with the End If, as well as Select Case to select multiple branches based on a single value. Logical operators use the words And,…
04
ASP Classic
15 lessons
01
ASP Intro
Classic ASP is a Microsoft server-side technology that runs scripts in files .asp on an IIS server before a page is sent to a browser. Its primary scripting language is VBScript…
02
ASP Syntax
Classic ASP syntax separates server code and HTML with <% %> blocks placed between the page tags. The <%= %> mark is an abbreviation for printing value, whereas comments in…
03
ASP Variables
The Classic ASP variable is declared with the Dim keyword and can store text, numbers, dates, or objects. By default VBScript uses a Variant type that adjusts the type of data…
04
ASP Procedures
The procedure in Classic ASP is written with Sub for the action without return value and Function for the function that returns the value. The parameter is sent via ByVal to use…
05
ASP Conditionals
Branching in Classic ASP is written with If or Select Case to select multiple branches based on a single value. Conditions use comparison operators such as =, <>, >, < and the…
06
ASP Looping
Classic ASP iterations use For for constant counting, For Each for collection, as well as Do While and Do Until for condition-based iterations. Loops are very useful for reading…
07
ASP Forms
HTML forms become the primary input source for Classic ASP pages, with values sent via the GET or POST method and then read by the Request object. The POST method is chosen for…
08
ASP Cookies
A cookie is a small piece of data that is stored in a browser and sent back to the server at each request. Classic ASP makes cookies via Response.Cookies and reads them via…
09
ASP Session
The session stores the dedicated data for a visitor on the server side while he or she browses the site. The browser only carries a Session ID in the form of a cookie, while the…
10
ASP Application
The Application object stores data that is applicable to all visitors to the site, such as a visitor count or shared configuration. This data is stored in the server's memory so…
11
ASP #include
The #include directive allows one file to be inserted into many Classic ASP pages so that common sections such as header, footer, and menu are written once enough. Include is…
12
ASP Global.asa
Global.asa is a dedicated file that hosts application lifecycle events and sessions, such as Application_OnStart, Application_OnEnd, Session_OnStart, and Session_OnEnd. This file…
13
ASP AJAX
AJAX allows web pages to send or load data to the server without refreshing the entire page, making the user experience more responsive. In Classic ASP, this technology is run…
14
ASP e-mail
Classic ASPs can send emails via CDO.Message components that utilize SMTP servers on or around web machines. You need to set up SMTP configurations like servers, ports,…
15
ASP Examples
Classic ASP page example shows how basic concepts are combined into small functional applications, such as a database, calculator, or guestbook list. From this example, a…
05
ADO Tutorial
9 lessons
01
ADO Intro
ADO (ActiveX Data Objects) is a collection of COM objects used by scripts such as Classic ASP to access and manage data from a variety of sources. The main models are Connection…
02
ADO Connect
Opening a database connection with ADO starts by creating an object ADODB.Connection and then calling the Open method with a connection string. Connection strings contain…
03
ADO Recordset
The recordset stores the query results in a row that can be scrolled one by one from start to finish. The current row position is accessed via rs("column"), then moved to…
04
ADO Display
Displaying Recordset data is usually done by building an HTML table within a loop, so that each row of the database becomes one row of the table. Use the Do While Not construct…
05
ADO Query
The SELECT query with ADO is run through conn.Execute and the result is stored in the Recordset object. The WHERE clause filters the relevant row, ORDER BY sets the order, and…
06
ADO Sort
Data sequencing is performed by an ORDER BY clause that can raise (ASC) or lower (DESC) the order based on one or more columns. For record sets that support indexed cursors,…
07
ADO Add
Adding new data is done by using the INSERT INTO query that lists the column and its value, or by using the AddNew method on the Recordset. The value of the text should be quoted…
08
ADO Update
The data changes are done with the UPDATE query... SET ... WHERE specifies the new column and the row to be changed. Through the Recordset, active line changes are saved by…
09
ADO Delete
Deleting lines using the DELETE query... WHERE must always be accompanied by a condition not to delete the entire table. Before running a large DELETE, do a data verification and…
06
ADO Objects
10 lessons
01
ADO Command
The ADODB.Command object represents a single SQL command or stored procedure that can be run repeatedly with parameters. The command text is stored on the CommandText property,…
02
ADO Connection
The Connection object becomes the main gateway of the ADO to the database, containing the connection string, the connection time limit, and the cursor settings. Important…
03
ADO Error
The Error object represents an error generated by the provider or database during the ADO operation. Each Connection has a collection of Errors that accommodates all errors from…
04
ADO Field
Field objects represent one column on the Recordset, including the name, data type, size, and value on the active row. The most common access is rs("nama") or…
05
ADO Parameter
The object parameter is used to send values from scripts into queries securely without combining SQL strings. The parameter has the name, data type, direction (input/output),…
06
ADO Property
Each ADO object has a collection of Properties that contains the ADO's built-in static property and additional dynamic property of the provider. Static properties are always…
07
ADO Record
ADO Record objects represent a single data line and can also be used for hierarchical data sources such as folder, file, or XML structures. Record can open the Recordset from the…
08
ADO Recordset
The Recordset is the central ADO object that accommodates the query results and provides control over the cursor as well as line locking. The CursorType and LockType options…
09
ADO Stream
Stream objects provide a way to read and write sequential data sets such as text, XML, or binary upload data. The stream has the Type property that determines the type of content…
10
ADO DataTypes
ADO provides data type constants such as adVarChar, adInteger, adDate, and adLongVarWChar that reflect the column type in the database. Selecting the right type is important when…