programming in c for the web
Download
Skip this Video
Download Presentation
Programming In C# for the Web

Loading in 2 Seconds...

play fullscreen
1 / 16

Programming In C# for the Web - PowerPoint PPT Presentation


  • 128 Views
  • Uploaded on

Programming In C# for the Web. By Andrew Cumming, Edinburgh Napier University, UK. Lecture Plan. Web programming with C# Lecture 1: C# in context Introducing C#, .Net , Hello World Using the editor, Layout, CSS Lecture 2: Generating Content

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Programming In C# for the Web' - ashanti


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
programming in c for the web

Programming In C# for the Web

By Andrew Cumming, Edinburgh Napier University, UK

lecture plan
Lecture Plan
  • Web programming with C#
    • Lecture 1: C# in context
      • Introducing C#, .Net, Hello World
      • Using the editor, Layout, CSS
    • Lecture 2: Generating Content
      • Creating components with code, tables, applying style
    • Lecture 3: Handling User Interaction
      • Callback mechanisms, OnClick, OnLoad
    • Lecture 4: Handling Data
      • Reading text files, converting types, formatting output
    • Lecture 5: Review

Lecture 1: Introduction

lecture plan1
Lecture Plan
  • Lecture 6: Introducing the Coursework
    • The requirements, possible approaches
  • Lecture 7: Handling data
    • Reading from a database. Writing to a database.
  • Lecture 8: JavaScript
    • Client-side processing
  • Lecture 9: Review
  • Lecture 10: May Day Holiday

Lecture 1

tutorial plan
Tutorial Plan
  • Tutorial 1: Hello World
  • Tutorial 2: Currency Calculator
  • Tutorial 3: Style
  • Tutorial 4: World Tables
  • Tutorial 5: Multiple Choice Quiz
  • Tutorial 6-8: Coursework, Airport Departures
  • Tutorials 9: Assessment

Lecture 1

c and visual studio
C# and Visual Studio
  • C# is the programming language
  • .Net is the “framework” of routines used by C#
    • Visual Basic also uses the .Net framework
  • Visual Studio is the development environment
  • IIS is the web server that executes the code
  • HTML is the target output, any browser may be used.

Lecture 1

the c language
The C# Language
  • The C# language is a mainstream programming language.
  • Similar to Java.
  • It is currently the number one language for employment in the UK.
  • C# is compiled into an intermediate language which is executed by a virtual machine.

Lecture 1

visual studio
Visual Studio

Starting a new Project with Visual Studio

Lecture 1

wysiwyg
WYSIWYG

Lecture 1

identifying items
Identifying Items
  • Solution Explorer
    • This shows the files that make up a solution
  • The Toolbox
    • You can double click or drag to add components.
  • The Properties window
    • You can change aspects of a component
  • The “Go” button
  • AutoHide “Pin”

Lecture 1

slide12
CSS
  • CSS style can be applied in code or from an external file.
  • A typical CSS rule includes a pattern to match and an instruction

Lecture 1

tutorial one
Tutorial One

Lecture 1

tomorrow
Tomorrow
  • We will look at generating page elements.
  • We will see how we can build complicated structures and create a whole page.
  • We will see how elements in a predefined layout may be built in the editor then updated dynamically.

Lecture 1

summary
Summary
  • C# is a popular language.
  • C# is a general purpose language.
  • Visual Studio is an IDE
  • You can design web pages using Visual Studio
  • CSS may be used to apply styles to html

Lecture 1

ad