Developing an ASP.NET Application and using the Mobile Internet Toolkit Bart Vande Ghinste Developer Consultant Microsoft Belux.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to Freeware/Shareware Chapter Four Essential Tools for Web Page Authors.
Advertisements

Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
ASP.NET and AJAX. Agenda What is ASP.NET? ASP.NET Versions Difference Between ASP and ASP.NET ASP.NET Architecture Overview ASP.NET IIS life cycle Overview.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Microsoft ASP.NET Security Venkat Chilakala Support Professional Microsoft Corporation.
Punit Shah Technical Lead | Microsoft
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. ASP.NET Authentication.
1 ASP.NET SECURITY Presenter: Van Nguyen. 2 Introduction Security is an integral part of any Web-based application. Understanding ASP.NET security will.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
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.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
ASP.Net Web Applications. Characteristics of a typical data driven web application Web Server HTML Graphics Active-X Java Applets HTTP Request ADO / JDBC.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Chapter 9 Programming with Web Forms Programming In Visual Basic.NET.
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.
Introduction to ASP.NET 1www.tech.findforinfo.com.
The.NET Runtime and IIS Presented by Chris Dickey – cdickey.net consulting
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Module 11: Securing a Microsoft ASP.NET Web Application.
Reset and Recycle IIS Reset Application Pool Management Error Codes New HTTP Sub-status codes Custom/Detailed Errors Tracing in IIS7 and.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
GUDURU PRAVEEN REDDY.NET IMPERSONATION. Contents Introduction Impersonation Enabled Impersonation Disabled Impersonation Class Libraries Impersonation.
Data and Middle Tier in an E2E Bart Vande Ghinste Developer Consultant Microsoft Belux.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Web Content Management with MOSS 2007 Patrick Tisseghem
Module 4: Creating a Web Application with Web Forms
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Security E-Learning Chapter 08. Security Control access to your web site –3 Techinques for Identifying users Giving users access to your site Securing.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Mobile Service with.NET By – Sharad Varshney. Agenda What is it supposed to do? Goals Applications System Design Future Work / Enhancements.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Agenda Introduction Security flow for a request Authentication
Developing Mobile Web Applications With ASP.NET Mobile Controls
Web Application Web Application are programs that can be executed either on a Web server or in a Web browser. An Online store accessed through a browser.
ASP.NET Web Forms and Web Services
Social Media And Global Computing Introduction to Visual Studio
Module 10: Creating a Web Application with Web Forms
ASP.NET Module Subtitle.
Database Applications
Microsoft Dynamics.
Presentation transcript:

Developing an ASP.NET Application and using the Mobile Internet Toolkit Bart Vande Ghinste Developer Consultant Microsoft Belux

2 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

3 Presentation Data Architectural Overview WS Façade (asmx) WS Façade (asmx) WIN Service WIN Service Business WS Façade WS Façade ES Façade ES Façade Biz Services Biz Services DALDAL DALDAL SPSP SPSP or browser admin reporter ASP.NET UI (aspx) ASP.NET UI (aspx)

4 Football247.net Football247.Presentation User Tier Business Tier Data Tier System Architecture Solution Structure Application Architecture.Administrator,.Reporter.WebSite.WebControls.WinControls.Facades Football247.Business.Facades.Host.Services Football247.Data.DataAccess Football247.Common.Core.Datasets

5 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

6 Data Binding Support in ASP.NET Binding controls to a data source Based on the fact that most data access is read only Search Pages Displaying Team or player data Several data sources can be used Datasets Collections IBindingList Interface You can assign data to any run-time accessible property Display Text TextBox, Button etc. Target Page of link controls Also Width, Height, BgColor, Class…

7 Data Binding Support in VS.NET Different types of data binding Multi Record Controls Repeater DataList DataGrid … Single Value Controls Label TextBox … HTML Server Controls Data Binding Expressions Design Time versus Run Time Binding Use the DataBinding Event to bind during Run Time Combine Design Time and Run Time

8 Data Binding Support in ASP.NET

9 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

10 Validating User Input Validation Controls Validation Controls can validate HTML Controls Web Server Controls Validation happens when Click events are processed Page.IsValid Property Multiple conditions are tested with a Logical AND Programmatically by calling Validate Method Types of Validation TypeControl Required EntryRequiredFieldValidator Value ComparisonCompareValidator Range CheckingRangeValidator Pattern MatchingRegularExpressionValidator User DefinedCustomValidator

11 Validating User Input Validation Controls Server-Side and Client-Side Validation Always Server-Side Also Client-Side if browser supports DHTML Custom Validation Complete Control over Format and location to place output BaseValidator Control Displaying Error Information Display OptionError Output Location In PlaceNext to Validated Control SummaryIn one dedicated place In Place and SummaryShow shorter message or glyph in place, detailed message at other location CustomFull Control

12 Validating User Input

13 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

14 Authentication and Authorization Authentication is process of obtaining credentials and validating against some authority Authorization is to determine if identity is granted access to a resource File Authorization URL Authorization Impersonation is acting of behalf of the calling Identity Authentication Providers in ASP.NET Authentication ProviderDescription Forms AuthenticationUnauthenticated request are redirected to HTML Form acquiring user credentials Passport AuthenticationCentralized Authentication Service Windows AuthenticationProvided by IIS Basic Digest Integrated with NTML or Kerberos

15 Forms Authentication IIS Browser Forms Authentication Module Get Shop.aspx Redirect SignIn.aspx Post SignIn.aspx Authenticate Credentials BUSINESSFACADEBUSINESSFACADE BUSINESSFACADEBUSINESSFACADE Authentication Data Set Cookie + Redirect Get Shop.aspx Global.asax AuthenticateRequest Context.User = Principal Global.asax AuthenticateRequest Context.User = Principal web.config

16 Forms Authentication Web.config Configuration FormsAuthentication Utility Class SignOut Encrypt/Decrypt GetRedirectURL …

17 ASP.NET Authorization File Authorization Handled by the FileAuthorizationModule Active when using Windows Authentication Checks the ACL URL Authorization Handled by the URLAuthorizationModule Maps Users and Roles to URI namespace Special Identities Web.config IdentityDescription *Refers to all identities ?Refers to the anonymous identity

18 Authentication and Authorization

19 Agenda Architectural Overview Handling Business Data Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

20 User Controls Similar to Web Page User Interface Code Behind File No HTML, BODY or FORM elements Extension is.ascx Advantages Easy to create Good for static layout Same programming technique as web pages Disadvantages No UI in VS.NET Limited Visual Design Support Separate copy of control is required in each application Cannot be added to the toolbox in VS.NET

21 User Controls

22 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

23 Server Controls Compiled Component Resides in an Assembly Can be signed and versioned Can be placed in the GAC Advantages Full Visual Design Support in VS.NET UI in Design Mode Custom Editors Only a single copy is required Good for dynamic layout Can be added to the toolbox in VS.NET Disadvantages Harder to create compared to User Controls

24 Server Controls

25 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

26 client-side applications code web pages Visual Studio.NET.NET Framework Mobile Web Browser.NET Compact Framework web applications client-side applications Mobile Internet Toolkit

27 Mobile Internet Toolkit Automatically adapts display and interaction for mobile devices Web-enabled cell phones PDA Generates HTML, WML or CHTML Extends VS.NET and.NET Framework Mobile Internet Designer Mobile Internet Controls Runtime Emulators are provided by hardware manufactures

28 Mobile Internet Toolkit

29 Agenda Architectural Overview Data Binding Validating User Input Authentication and Authorization User Controls Server Controls Mobile Internet Toolkit Tips and Tricks from the Trade

30 Tips and Tricks from the Trade Dynamic Web Service Endpoints web.config Uri Property of Web Reference Several HTC’s are available WebService Behaviour ToolTip Behaviour … ASP.NET Caching with Cache Class Time based External Dependencies DataView Component Easiest way to filter data Avoids unnecessary sorting round trips

31 Tips and Tricks from the Trade

32 Resources Football247.Net Workspace on haviors_node_entry.asp?frame=true haviors_node_entry.asp?frame=true

33 © 2002 Microsoft Corporation. All rights reserved.