ASP.NET AJAX with Visual Studio 2008

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

  • + Freundschaft Qiong Wu 5 months ago
    I love the picture with the lemonade booth, what do you usually say when showing that slide?
  • + calebjenkins Caleb Jenkins 2 years ago
    ugh... looks like slideshare doesn’t handle animations or transparencies at all. too bad.
Post a comment
Embed Video
Edit your comment Cancel

3 Favorites

ASP.NET AJAX with Visual Studio 2008 - Presentation Transcript

  1. asp.net ajax with visual studio 2008
  2.  
  3.  
  4. email [email_address] Caleb Jenkins Senior Consultant Training Mentor blog developingUX.com twitter .com/calebjenkins
  5. www.DevelopingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
  6. asp.net ajax with visual studio 2008
  7. ? business results
  8. the ux lever offers new market opportunities differentiates product/service provides operational efficiency and business insight raises the bar
  9. ux business results
  10.  
  11. limitations of web applications
  12. Traditional Web Applications use costly Postbacks for Server operations and UI operations. No “ integrated ” way to work with client side scripting
  13.  
    • A synchronous J avaScript A nd X ML
    • Not a “new” technology – It’s a specific way of using existing technologies.
    • Used in Outlook Web Access (IE 5)
    • Transfer just the “ data ” between browser and server
    <XML DATA>
  14. <XML DATA>
  15. <XML DATA>
  16. <XML DATA> JSON DATA; REST SOAP
  17. Side Note:
    • not all AJAX uses XML
    • Another popular data transfer mechanism is JSON (Pronounced: Jason)
    • J ava S cript O bject N otation
    • JSON is much faster than XML for browser to process
    • not all XML is SOAP WebServices
    • another type of WebServices is a light weight REST service (popular with PHP and Ruby on Rails)
    • AJAX sounds better than AJAJ
  18. Difficulties with AJAX
  19. Difficulties with AJAX
    • Too “Close to the wire ”
    • Heavy DHTML plumbing required
    • Browser compatibilities with DHTML
    • AJAX can also refer to a “ web 2.0 ” site
    • Embodies not only AJAX data calls, but an over all adherence to good User Experience ( UX ) principals.
      • Usability
      • CSS/ (x)HTML Standards
      • Overall Immersive Web Experience
    • ASP.NET AJAX has features to support both : AJAX Data Calls and Rich UX
    Side Note:
  20. ASP.NET AJAX Web Server IE Firefox Safari Browser Clients JSON Bridge Support Membership & Personalization Support ASP.NET Server Control Integration ASP.NET AJAX Client JavaScript Libraries MicrosoftAjax.js MicrosoftAjax.en-us.js MicrosoftAjax.debug.js MicrosoftAjaxTimer.js MicrosoftAjaxWebForms.js IIS & ASP.NET Apache & PHP ColdFusion
    • Client Centric
    Two Basic Development Models Server Centric
    • Client Centric
    leaner on the wire smart client architecture longer development time less IDE support UI and Data on the wire keep viewstate intact better developer productivity ASP.NET type IDE support Server Centric
  21. Server-Centric Programming Model Browser Presentation (HTML/CSS) ASP.NET Application Services Page Framework, Server Controls Client Script Framework Client Application Services Component/UI Framework, Controls ASP.NET Application Pages UI Behavior (Managed Code) Input Data Updated UI + Behavior Initial Rendering (UI + Behavior)
  22. Client-Centric Programming Model Browser Presentation (HTML/CSS) AJAX Service Proxies UI Behavior (Script) ASP.NET Application Services Page Framework, Server Controls ASP.NET Application Pages Web Services Atlas Script Framework Client Application Services Component/UI Framework, Controls Initial Rendering (UI + Behavior) Data Data
  23. AJAX Application
    • Do not trust client input
    • Do not enforce business rules on the client
    • Do not think that this is for “Everything”
      • Is it bookmark-able?
      • Search Engine Spiderable ( SEO )?
      • Do I need to be able use the back button? { consider history extender }
      • Consider my API and API Security
    No-No’s and Gotchas!
  24. External Services My Application Client Bridge Proxy (Script) External Service Server Pages UI + Logic (HTML + Script) Bridge Config Initiate Request Cache Lookup Create Service Request Invoke Service Process Service Response Update Display
  25. asp.net/ajax/showcase examples
  26. asp.net/ajax/showcase examples
  27. ajax.asp.net /downloads/
  28.  
  29.  
  30.  
    • Separate download
      • Library of free ASP.NET AJAX enabled controls
      • ASP.NET 2.0 and .NET 3.5 (w / w/o source) available
      • Download from http://ajax.asp.net
    • Collaborative source model
      • All source freely available with modification license
      • Microsoft & non-Microsoft developers contribute
    • Already contains 35+ really cool controls
      • Goal is to get 50-100 great controls
    • Biggest challenge creating new controls?
      • Thinking of behaviors that aren’t already offered!
    Control Toolkit
  31. Demo
    • “ Hello World” with the UpdatePanel ScriptManager, UpdatePanel, Triggers, UpdateProgress
  32. protected void UpdatePanel1_PreRender(object sender, EventArgs e) { // This code will only be executed if the partial postback // was raised by a __doPostBack('UpdatePanel1', '') if (Request[&quot; __EVENTTARGET &quot;] == UpdatePanel1. ClientID ) { // Insert magic here. } } what about when you want to execute code only if a particular UpdatePanel is targeted? check the __EVENTTARGET: UpdatePanel Events use triggers check for !IsPostBack and !IsInAsyncPostBack
  33. UpdatePanel Events know your asp.net page life cycle UpdatePanel Button updatepanel_ load button_ click updatepanel_ prerender
  34. Demo
    • Working with Extenders ASP.NET AJAX Control Toolkit
  35. 2008
  36. Demo
    • Working with Visual Studio 2008 ASP.NET 3.5 Preview, Debug, JavaScript Intellisense
  37. custom extender controls provide framework for hooking up properties and links between server and client side components provide framework for hooking up properties and links between server and client side components
  38. custom extender controls provide framework for hooking up properties and links between server and client side components
  39. ASP.NET AJAX Components types of client components
  40. Demo
    • Building Your Own Extender Extender Walkthrough: Confirm Button Extender
  41.  
    • IE7 with Developer Toolbar
    • FireFox with Web Developer ToolBar
    • FireFox with FireBug
    • Nikhil’s Web Developer Helper http://projects.nikhilk.net/Projects/WebDevHelper.aspx
    Resources + Tools (!)
    • How Do I Videos
    • How Do I Videos
    • How Do I Videos
    • “ Official ASP.NET AJAX” - http://ajax.asp.net
    • Fiddler http://www.fiddlertool.com/fiddler/
    • JavaScript Bible
    Resources + Tools ++
  42. copyright
  43. [all images in this presentation are the property and copyright of their owners… Most of which I just found on the Internet and really have no idea who that might be.] copyright
  44. email [email_address] Caleb Jenkins Senior Consultant Training Mentor blog developingUX.com twitter .com/calebjenkins
  45. www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org www.DevelopingUX.com
  46.  
  47. http://ImprovingEnterprises.com Improving… It’s what we do!

+ Caleb JenkinsCaleb Jenkins, 2 years ago

custom

4473 views, 3 favs, 2 embeds more stats

Overview of Microsoft ASP.NET AJAX with Visual Stud more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 4473
    • 4450 on SlideShare
    • 23 from embeds
  • Comments 2
  • Favorites 3
  • Downloads 0
Most viewed embeds
  • 22 views on http://developingux.com
  • 1 views on http://www.slideshare.net

more

All embeds
  • 22 views on http://developingux.com
  • 1 views on http://www.slideshare.net

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Tags