CSE686 - Internet Programming

Lecture #11 - Windows Presentation Foundation

Web Resources:

Color Lab, Color Codes, HTML tags, Everything HTML, XML, HTML, Scripting, webdeveloper.earthweb, devx..., W3Schools, Web Developer's Virtual Library, World-Wide Web Consortium, WebReference

Content:

In this lecture we discuss Windows Presentation Foundation (WPF) and Silverlight.

Links for this lecture

Declarative data sources, Accessing Database Data, Managed Controls and Policy Resolution, impersonation

Jinyu's Presentation

  1. Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. Final Project Demonstrations:

    Final Project1, Final Project2, Final Project3

    Final Project Demos Schedule

    You must demonstrate your final project at scheduled times on:

    • Friday 5/01, 8:00am - 5:30pm, CST 4-116B (My Lab)
    • Saturday 5/02, 8:00am - 5:30pm, CST 4-116B (My Lab)
    • Sunday 5/03, 8:00am - 5:30pm, CST 4-116B (My Lab)
    • Monday 5/04, 8:00am - 5:30pm, CST 4-116B (My Lab)

    Note that the choice is not up to you. You must come at the scheduled time: IP Final Proj Demos. If and only if you have a class or exam scheduled at the same time please see me and we will negotiate a different time.

    After your demonstration please upload the project code and labs, all zipped into a single archive. You will find a link to the upload script under the image on the course page.

  3. Getting Ready for Windows Presentation Foundation (WPF)

    Mvc-WebApi-FileService-Helper
    We discussed this in last week's lecture.
    • Always get session from cookie if there is a valid cookie.
    • Remove sessionId and FileStream from session when file is closed on server, so there is no need to manage session lifetime.
    • Wrapped client processing into functions upLoadFile and downLoadFile. That's easy to use and ensures that Files are closed after using.
    • Essentially the File Service is complete except for a small amount of processing in the server's Post function.

    Threads and Tasks Demos
    Here's why the File Service Client code was structured as shown in my Helper, above.

    WPF Interactive Demo
    Getting started with WPF

    WPF Console Application
    Console Application ???

    WPF Tutorial

  4. Windows Presentation Foundation (WPF):

  5. WPF and Silverlight:

  6. Ruby Programming and Ruby on Rails
  7. Lab Assignment #11