• Nie Znaleziono Wyników

Introduction to server side programming

N/A
N/A
Protected

Academic year: 2021

Share "Introduction to server side programming"

Copied!
6
0
0

Pełen tekst

(1)

Introduction to server side programming

Michał Okulewicz, MSc Warsaw University of Technology

Faculty of Mathematics and Information Science M.Okulewicz@mini.pw.edu.pl

http://www.mini.pw.edu.pl/~okulewiczm

(2)

p. 2

Michał Okulewicz http://www.mini.pw.edu.pl/~okulewiczm

Server side programming tasks

• We will be using Microsoft .NET WebForms as an example of server side scripting

• In all the tasks please use Visual Studio 2012, 2013 or 2015

• DISCLAIMER: This is NOT a tutorial in WebForms progamming

• HINT: Please use enclosed HTML and CSS

sources

(3)

Web project [VS 2012 example]

• Create a new Empty web project

• Add the contents you need – HTML pages

– CSS styles – JS scripts

– WebForms (ASPX)

(4)

p. 4

Michał Okulewicz http://www.mini.pw.edu.pl/~okulewiczm

Task 1

• Enhance Register.aspx from Lab 9 with creation of the Cookie and adding it to the response

• Experiment with the cookie Expires property

• Change the registration form into a WebForm

– Do not display the form if the cookie with login is present – Add a link and a WebForm to delete the cookie

– A link displays the login from the cookie

• Is it a safe method of authentication?

(5)

Task 2

• Create 3 CSS stylesheets with 3 color schemas:

‒ black on white

‒ white on black

‒ blue on yellowish

• Create a WebForm with a control for switching between the stylesheets

• HINT: use HTTP Cookies for storing information about color schema

(6)

p. 6

Michał Okulewicz http://www.mini.pw.edu.pl/~okulewiczm

Task 3

• Create a WebForm generating a table of a given size

• Each cell of the table contains an input

• The size of the table and its contents are preserved while reloading the page

• The new content is saved when clicking Save button

Cytaty

Powiązane dokumenty

Note: If the scratchpad states “Abnormal Completion”, repeat step number 3 until a “Normal Completion” appears.. Close the Manager program and

Link do piosenki „Hello to all the children of the world”2.

You are obligated to send the answers (photos) on my Messenger.. Below is the link- Places

• Create a GeoConverter.aspx WebForm for converting the geographical coordinates between the decimal and degrees minutes seconds format. • The user enters and submits the

• The content type "multipart/form-data" should be used for submitting forms that contain files, non- ASCII data, and binary data.. • The content

W tej kwestii głos zabrał również dr Zembrzuski i wyjaśnił, że w filozofii arabskiej Bóg jest władcą, w związku z tym, jeżeli na poziomie religii Bóg jest najwyższy, to

Inhomogeneous blending with DSAs has a number of attrac- tive potential advantages: (1) the dedicated narrowband units of a blended array represent technically simple,

„Iinną częścią religii praw d ziw ej jtest nasza pow inność w obec człow ieka.. A ugustyna, zw ykło