Session 01-overview & Introduction

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Session 01-overview & Introduction as PDF for free.

More details

  • Words: 455
  • Pages: 17
b @ srbas i

OVERVIEW & INTRODUCTION

WEB DEVELOPMENT USING ASP.NET

.Net Framework Structure VB.Ne C++.N C#.Ne J#.Net …… t et t Common Language Specification (CLS) Service Web FormForm-Web XML Windows Data ADO.Net & XML Base-Class Library (BCL) Common Language Runtime (CLR) Manajemen memori suatu aplikasi Mengolah kode program saat loading dan run keamanan kode Mengolah

akses Melakukan konversi dari Intermediate Language ke kode asli

b @ srbas i

Kelebihan ASP.Net Code behind pages True OOP True user control Simply XML Web Services Implementation Ado.Net 2.0 Mobile devices capabilities Rich Built-in Control Community Support Multi Language Support

b @ srbas i

Pre-requirement ALGORITHM & BASIC PROGRAMMING HTML SCRIPTS VISUAL C#

b @ srbas i

b @ srbas i

Back to ASP Page <%@ language=“VBScript” %> <% option explicit dim connection set connection = server.CreateObject(“ADODB.Connection”) connection.open “DSN=Employees” dim resultset set resultset=Connection.Execute(statement) %> Employee

Employee Information

<% do while not resultset.eof %>

<% resultset.MoveNext loop %>
Employee Name Salary
<%= resultset.Fields(“Name”) %> <%= resultset.Fields(“Salary”) %>
<% connection.close %>

Back to ASP Page HASI L

DATABAS E

b @ srbas i

b @ srbas i

Web Server Concept

DATABASE

SITE CATEGORY LOCAL IIS FILE SYSTEM FTP

WEB SERVER

APPLICATION

Create an ASP.Net with Visual Studio

b @ srbas i

LET’S BEGIN….

Select default language

Create an ASP.Net with Visual Studio New Web Site…. Site Category Locatio n

Select Language

b @ srbas i

Create an ASP.Net with Visual Studio VISUAL STUDIO.NET LAYOUT

b @ srbas i

Create an ASP.Net with Visual Studio FILE EXTENSION EXTENSION .aspx EXTENSION .aspx.cs CONFIGURATI ONKONFIGURASI LEVEL MESIN (Machine.Config) KONFIGURASI LEVEL APLIKASI (Web.Config)

Format Dasar XML

b @ srbas i

Create an ASP.Net with Visual Studio Default.as px

Default.aspx .cs

Place for code

b @ srbas i

Create an ASP.Net with Visual Studio

b @ srbas i





Adding Control to a Web Page

b @ srbas i

General web control Data Control Validasi input, validasi jarak, validasi pembanding

Practice 1.1

b @ srbas i

1. Tampilkan tiga kontrol yang disusun secara vertikal terdiri dari Label, TextBox, Button dan Label. 2. Beri nama masing-masing kontrol sesuai dengan standar penamaan .

9. Buatlah kode bila tombol click me ditekan maka hasil input akan ditampilkan pada label hasil.

Practice 1.2 1. Buatlah tampilan dengan menggunakan HTML Control seperti dibawah ini:

10.Buatlah kode dengan hasil input ditampilkan pada label hasil

b @ srbas i

Practice 1.3

b @ srbas i

1. Buatlah tampilan yang sama pada Practice 1.2. Bedanya, gunakan web control untuk masing-masing control yang digunakan

10.Buatlah kode dengan hasil input ditampilkan pada label hasil

Related Documents

Session
July 2020 19
Session
October 2019 57
Session
November 2019 44
Session
November 2019 42