MBL 390: Developing Mobile Web Application with ASP.NET Mobile Controls Gökşin Bakir CSA Yage Ltd.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Mobile Web Development with Thom Robbins Microsoft Corporation.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
1 Chapter 12 Working With Access 2000 on the Internet.
Tutorial 6 Working with Web Forms
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Developing International Applications for Mobile Devices with.NET Achim Ruopp International Program Manager Microsoft Corporation.
Punit Shah Technical Lead | Microsoft
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
ASP.NET Programming with C# and SQL Server First Edition
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Web Forms. Agenda Web forms Web controls Code separation Dynamic compilation System.Web.UI.Page User controls.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
INTRODUCTION TO WEB DATABASE PROGRAMMING
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
1 Presented by Bikash Shrestha. 2 What is ASP.NET or ASP+? ASP.NET/ASP+ is a programming framework built on the common language runtime that can be used.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Object-Oriented Application Development Using VB.NET 1 Chapter 12 Web Forms, HTML, and ASP.NET.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
By Amisha Pardasani. Contents Introduction to Wireless Application Protocol Introduction to Wireless Markup Language WML Formatting Links and Images Input.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 4-1 of…
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
ASP.Net, Web Forms and Web Controls 1 Outline Web Controls Text and Graphics Controls AdRotator Control Validation Controls.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
ASP.NET Web Server Controls Basic Web Server Controls.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Microsoft Office InfoPath 2007 Development, Deployment, And Hosting For Rich And Browser Forms Jessica Gruber Consultant Microsoft Corporation.
DAT305 Boost Your Data-Driven Application Development Using SQL Server Centric.NET Code Generator Pascal Belaud Microsoft France.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
Lesson 2 What is ASP.NET? What is ASP.NET? What is Web Matrix? What is Web Matrix? What are the features of Web Matrix? What are the features of Web Matrix?
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
Week Developing Web Applications 12. Programming for the Web A Web Application Runs on a Web Server and Presents Its Content to the User Across a Network,
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
MBL 305 ASP.NET Mobile Controls: Best Practices Gökşin Bakir CSA Yage Ltd. Microsoft Regional Director.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Mobile Service with.NET By – Sharad Varshney. Agenda What is it supposed to do? Goals Applications System Design Future Work / Enhancements.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
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.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
Developing Mobile Web Applications With ASP.NET Mobile Controls
Section 10.1 YOU WILL LEARN TO… Define scripting
Web Development Using ASP .NET
Tutorial 7 – Integrating Access With the Web and With Other Programs
Programming with Microsoft Visual Basic 2008 Fourth Edition
Presentation transcript:

MBL 390: Developing Mobile Web Application with ASP.NET Mobile Controls Gökşin Bakir CSA Yage Ltd.

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

Mobile Web Applications Types of Applications Access legacy data (CRM, ERP, Sales, etc.) Mobile Commerce (tickets, flowers, travel) Mobile Content (sports, weather) Quick Access to information (phone book) Monitoring (servers, medical, distribution) Reach cell phones, PDAs and pagers

Mobile Web Challenges Web Site

Mobile Web Challenges Different Markup Languages Different Form Factors Different Device Capabilities New device support State management Content Management Custom Tools and Solutions Site Maintenance

The Solution: ASP.NET Mobile Controls Adaptively render to devices based on browser, device and gateway combination Extend ASP.NET to empower web developers to build mobile web applications Integrates with the Visual Studio.NET development environment for ease of use. Formerly known as Microsoft Mobile Internet Toolkit.

The Solution: ASP.NET Mobile Controls Single mobile Web page that adapts to multiple devices Support multiple mark-up languages WML1.1 (WAP), cHTML 1.0, xHTML Mobile and Basic profile, and HTML 3.2 Support for a variety of devices Web enabled Cell Phones, PDAs, and Pagers Customizable and extensible framework Add new controls and devices Support for new devices with out having to rewrite or recompile your application

Adaptive Rendering Calendar Control Render to multiple devices

IIS.NET Framework Mobile Internet Toolkit Development Environment Production Environment Create ASP.NET Pages Integrate Business Logic Wire-up events Add User Interface Element ASP.NET Mobile control Post/Save to Web Servers HTTP Request Detect Device Capabilities Generate output (markup language) Based on device, browser and gateway combination HTTP Response Load and execute ASP.NET Pages How MMIT Works…

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

Extending.NET Framework Extends the ASP.NET Web Forms Page to add support for mobile devices ASP.NET Mobile Controls are Server side controls that encapsulate common functionality for mobile devices Programming Model Control/object/event model State management Desktop and mobile applications can share code Web Services Platform Services Framework ASP.NET Common Language Runtime System Services Win Forms BaseDataDebug … Web Forms Mobile Web Forms Web Services

Page language=“VB" Inherits="System.Web.UI.MobileControls.MobilePage" %> Register TagPrefix=“mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%> Hello, Mobile World Page language=“VB" Inherits="System.Web.UI.MobileControls.MobilePage" %> Register TagPrefix=“mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%> Hello, Mobile World Hello, Mobile World

Hello Mobile World

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary AdRotatorAdRotator CalendarCalendar PagedControlPagedControl SelectionListSelectionList PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator

MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary AdRotatorAdRotator CalendarCalendar PagedControlPagedControl SelectionListSelectionList PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Containers

Container Controls Form Control Multiple forms per page Multiple forms per page Separately addressable set of controls that can be navigated Separately addressable set of controls that can be navigated Container for other controls Container for other controls Rendered as one or more “screens” based on target device Rendered as one or more “screens” based on target device Only one active form at a time Only one active form at a time By default – first form active when page accessed By default – first form active when page accessed  Set via ActiveForm

Container Controls Panel Controls Provides grouping for multiple controls Single control for displaying, hiding enabling or disabling a set of controls Applying styles to panel that are inherited by child controls Empty panel placeholder container for dynamically created controls

Northwind Phone Book Create the main screen for the navigation by using the container controls

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Text Display

Text Display Controls Label Control Small amount of content – read only text TextBox Control Single-line input text boxes TextView Control Exclusive to MMIT Large fields of text Small set of mark-up: bold, italics, page break, paragraph, anchor tag Support pagination

Northwind Phone Book Create the about us section

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand CallCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator List and Selection

List And Selection List Control Declared or databound list of items Decorations: None | Bulleted | Numbered Items can be set to act as links Static or interactive mode Support pagination Similar to DataList control in ASP.NET

List Controls SelectionList Control Static or databound list Provides UI selection capability Can display in different modes: Dropdown | ListBox | Radio Button | CheckBox | MultiSelect List Selection doesn’t trigger server event – requires Command control to submit form Similar to ASP.NET Controls: ListBox, CheckBox, CheckBoxList, RadioButton, RadioButtonList, and DropDownList

List Controls ObjectList Control Strictly databound Use to show list or table of data objects Can view multiple fields for each data object Can associate multiple commands with each object Support pagination Similar to DataGrid in ASP.NET

Northwind Phone Book Connect to the Database to display the exiting employees

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Control Transfer

Control Transfer Controls Link Control Text-based hyperlink to another form on the mobile page or any URL Softkey Property Similar HyperLink Control in ASP.NET PhoneCall Control Exclusive to MMIT Generates mark-up for automatically calling or displaying phone numbers

Control Transfer Controls Command Control Like Button Control in ASP.NET Way to invoke ASP.NET event handlers from UI elements SoftkeyLabel Property Specify text for Softkey on supporting mobile phones

Northwind Phone Book Creating navigation screen Improve existing AboutUs section

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Image Display

Image Display Image Control Displays image file (i.e. winpro.gif) Can have associated URL If images are not supported on requesting device, the alternate text is shown AdRotator Control Displays random ad Requires XML file Similar to AdRotator control in ASP.NET

Northwind Phone Book Providing an image to the site Image override

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Validation

Validation Controls CompareValidator Control CustomValidator Control RangeValidator Control RegularExpressionValidator Control RequiredFIeldValidator Control ValidationSummary Control

ASP.NET Mobile Controls OM MobileControlMobileControl StyleSheetStyleSheet TextControlTextControl TextViewTextView ValidationSummaryValidationSummary Ad Rotator CalendarCalendar PagedControlPagedControl Selection List PanelPanel ImageImage LinkLink LabelLabel CommandCommand PhoneCallPhoneCall BaseValidatorBaseValidator FormForm ObjectListObjectList ListList TextBoxTextBox RequiredFieldValidatorRequiredFieldValidator RegularExpressionValidatorRegularExpressionValidator RangeValidatorRangeValidator CustomValidatorCustomValidator CompareValidatorCompareValidator Calendar

Calendar Control Supplies date-picking functionality Device-specific rendering of control Similar to Calendar control in ASP.NET

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

Rendering Customization Why do it? Improve Look and fell of a site Ability to override default behavior Control the exact display Optimize rendering

Customization How does it work? StyleSheet Group style information Specify Control behavior/rendering Property Override Generic template (e.g. ObjectList item)

Northwind Phone Book Providing an image to the site Image override

Extensibility Mobile Server Control Encapsulate or reuse application functionality Extend existing control or create controls Create a consistent site appearance Add device support ASP.NET Mobile Controls supports 200+ devices Support new device Customize the output generated by a Mobile Control

Agenda Mobile Development Situation Extending.NET Framework ASP.NET Mobile Control Object Model Customization and Extensibility Getting Started

Download.NET Framework 1.1 ASP.NET controls are part of the redist Read the QuickStart Tutorial Review existing sample application 5 ASP.NET Starter Kits Available Get your question answered Participate in Peer to peer forums Apply the latest device support Download the latest Device Update Let us know what you think Send Feedback to:

Summary The ASP.NET Mobile Controls… Makes it easy to build mobile web applications for cell phones, PDAs and pagers Leverage current investment in the.NET Framework and Visual Studio.NET Is 3 rd party extensible

Questions?

Community Resources Most Valuable Professional (MVP) Newsgroups Converse online with Microsoft Newsgroups, including Worldwide User Groups Meet and learn with your peers

evaluations evaluations

© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.