Unit 5: Building Presentation Layer Applications with ASP.NET 2.0.

Slides:



Advertisements
Similar presentations
Malek Kemmou Technology Architect, Application Platform Microsoft Middle East and Africa Overview of ASP.NET 2.0.
Advertisements

Microsoft Dynamics® AX 2012
Master Pages, User Controls, Site Maps, Localization Svetlin Nakov Telerik Corporation
Internetteknologi (ITNET2) Presentation 21: ASP.NET Advanced.
User Controls, Master Pages, GridView. Content User Controls Styles, Themes, Master Pages Working with Data GridView Muzaffer DOĞAN - Anadolu University2.
Chapter 9 Customizing Data with Web Controls. ASP.NET 2.0, Third Edition2.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Navigation Controls MacDonald Ch. 11 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Membership, Role Manager and Profile Membership, Role Manager and Profile Matt Gibbs ASP.NET Development Manager.
Best Practices for UI with ASP.NET 2.0 Jeff King Program Manager Web Platform and Tools Microsoft Corporation.
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
Microsoft Share Point 2007 Lela Castaneda. Microsoft Office SharePoint Designer 2007 top 10 benefits 1)Be more productive with next-generation Microsoft.
1 Designing & Developing Web- Based Solutions in ASP.NET Week 3 Website Navigation & Resources.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
ASP.NET Whidbey Overview  Wallace B. McClure  Scalable Development, Inc. Scalable Development, Inc. Building systems today that perform tomorrow.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
Forms Authentication, Users, Roles, Membership Svetlin Nakov Telerik Corporation
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
ASP.NET 2.0 Chapter 5 Advanced Web Controls. ASP.NET 2.0, Third Edition2 Objectives.
Web application project Advertising board web site Created by : Alon Nagar Supervisor:Victor Kulikov.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Customization Using SharePoint Designer 2007 Overview Editing look and feel –Master pages.
Meeting #6 – April 2011 – Web-Technologies Homework Assignments Svetlin Nakov Telerik Corporation
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. Data Binding in ASP.NET.
| | Tel: | | Computer Training & Personal Development Microsoft Office SharePoint Designer.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Module 11: Securing a Microsoft ASP.NET Web Application.
Slide 1 ASP Authentication There are basically three authentication modes Windows Passport Forms There are others through WCF You choose an authentication.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Adxstudio Portals Training
Marco Bellinaso Senior Trainer & Consultant Code Architects Srl Building Dynamic Navigation Systems with Visual Studio 2005 and ASP.NET 2.0.
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
1 CS 3870/CS 5870: Note07 Prog 4. Master Pages Creating a master page based on another master page MainMasterPage –For all Progs and Tests Prog4MasterPage.
1 CS 3870/CS 5870: Note07 Prog 4. Master Pages Creating a master page based on another master page MainMasterPage –For all Progs and Tests Prog4MasterPage.
A Lap Around New Enhancements for Web Developers in Visual Studio 2005 Alexander Holy Developer Evangelist, Microsoft EMEA
Module 10: Data Access in ASP.NET. Overview Overview of the ASP.NET Data Access What is Data Access List of Data Source Control What is Data Bound How.
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
Easy Site Navigation Getting organized, staying organized Creating custom site-navigation controls Using Menu, TreeView, and SiteMenuPath controls Make.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
V7 Foundation Series Vignette Education Services.
Preface IIntroduction Course Objectives I-2 Course Content I-3 1Introduction to Oracle Reports Developer Objectives 1-2 Business Intelligence 1-3 Enterprise.
Vinod Unny Enterprise InfoTech Microsoft Regional Director, North India
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Working with Data Lesson 4. Objectives DataSource Controls A requirement for most modern Web sites is that they be dynamic. –Static pages are not often.
Introduction to Database Processing with ADO.NET
Current Popular IT I Pertemuan 5
Site Maps and Navigation
Introduction to Database Processing with ADO.NET
Working in the Forms Developer Environment
Website Navigation.
Other Asp.Net Elements ASP.Net 2.0 – Visual Studio 2008
State management & Master Pages in asp.net
Introduction to Oracle Application Express
Web Development Using ASP .NET
SharePoint services Provides team collaboration through SharePoint Sites and makes it easy for communities to work together on documents, tasks, contacts,
NAVIGATION CONTROLS.
Mark Quirk Head of Technology Developer & Platform Group
Website Navigation.
Presentation transcript:

Unit 5: Building Presentation Layer Applications with ASP.NET 2.0

Overview Data Source Controls Retrieving Relational Data Data Binding with Relational Data Retrieving XML Data Demonstration: RAD Data Binding in ASP.NET 2.0 Master Pages Site Navigation Themes Membership and Role Management ASP.NET Web Site Administration Tool Lab 5A: RAD Data Binding in ASP.NET 2.0 Lab 5B: Programming Master Pages, Site Navigation, and Themes Lab 5C: Membership and Role Management in ASP.NET 2.0 Lab Discussion

Data Source Controls ASP.NET Page SqlDataSource XmlDataSource Data Bound Control RDBMS XML File SiteMapDataSource AccessDataSource ObjectDataSource Business Object Site Map Access Database

Retrieving Relational Data To use a SqlDataSource control: Add a SqlDataSource control to a page 1 1 Specify the return type 3 3 Configure caching 4 4 Configure the SqlDataSource control 2 2

Data Binding with Relational Data Binding a GridView Control Sorting and Paging Enabling Data Modifications Displaying Master-Details Data

Retrieving XML Data Retrieving XML Data with an XmlDataSource Control: DataFile: The XML file containing the data SchemaFile: An XML schema for the data TransformFile: An XSLT stylesheet XPath: An XPath expression to filter the data DataFile: The XML file containing the data SchemaFile: An XML schema for the data TransformFile: An XSLT stylesheet XPath: An XPath expression to filter the data Binding XML Data to a TreeView Control: Create explicit node bindings Set TextField and ValueField properties Create explicit node bindings Set TextField and ValueField properties

Demonstration: RAD Data Binding in ASP.NET 2.0 In this demonstration, you will see how to: Use the SqlDataSource and GridView controls Use the XmlDataSource control

Master Pages Master pages:  Use the directive  Specify standard page layout and content for a set of content pages  Contain named regions (content placeholders) where content pages can display custom content Content pages:  Identify a single master page using the MasterPageFile attribute of directive  Implement content to fill content placeholders specified in master  Provide programmatic access to the controls and public members of their master page Nested master pages enable the creation of page hierarchies to modularize standard layout and content Visual Studio 2005 supports the creation and graphical editing of master and content pages

Site Navigation Site Map  Describes logical site structure  Stored in any type of data store for which a site map provider exists Site Map Provider  Follows “Provider Pattern” (must extend SiteMapProvider class)  Provides link between Site Map and SiteMap object model  XML provider uses Web.sitemap file (standard/default SiteMapDataProvider) SiteMap object model (SiteMap and SiteMapNode classes)  Uses replaceable provider to access Site Map data  Provides run-time access to navigation data for SiteMapPath and SiteMapDataSource controls, as well as custom controls and programs SiteMapDataSource control provides bridge between SiteMap and standard data-bindable controls  Tree controls – TreeView (new), Menu (new), …  Flat controls – ListBox, BulletedListBox (new), …

Themes Skin Collection of property values that define the visual appearance of a specific type of control e.g. Button, Calendar, or GridView Defined using standard ASP.NET control syntax but with a reduced property set Theme Named collection of skins, images, and style sheets Specified at the page level directive to apply appropriate skins and styles to all controls on the page Specified at site or folder level using Web.config to affect all pages within scope Programmable at run time to offer enhanced customization and personalization capabilities

Membership and Role Management Membership system  Solves common credential storage problem  Replaces complex authentication code  Functionality packaged in server controls User Management  Validate credentials  Create, Delete, Update Role Management  Create, Delete, Update  IsUserInRole / Roles for User

ASP.NET Web Site Administration Tool

Lab 5A: RAD Data Binding with ASP.NET 2.0 Exercise 1: Creating a Stock Monitoring Web Application Exercise 2: Adding Interactivity to the Web Application Exercise 3: Creating a Details View Exercise 4: Enabling Data Updates Exercise 5: Creating a Contacts List

Lab 5B: Programming Master Pages, Site Navigation, and Themes Exercise 1: Creating Master and Content Pages Exercise 2: Creating Departmental Master Pages Exercise 3: Implementing Site Navigation Exercise 4: Implementing Themes and Skins

Lab 5C: Membership and Role Management in ASP.NET 2.0 Exercise 1: Manage User Accounts for Forms Authentication Exercise 2: Display Alternate Content to Logged-On Users Exercise 3: Add Registration and Password Management Forms to the Web Site Exercise 4: Control Access to Content by Using Roles