Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Daniel Egan Msdn Tech Days Oc

2,830 views

Published on

Daniel Egan TechDays 08 Presentation ASP.Net 4.0

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Daniel Egan Msdn Tech Days Oc

  1. 1. Daniel N. Egan Microsoft – Developer Evangelist http://www.DotNetDoc.com http://Twitter.com/DanielEgan What’s New in ASP.Net 4.0 Reaching Tomorrow Today
  2. 2. <ul><li>Daniel Egan –Developer Evangelist Microsoft MCSD, </li></ul><ul><li>Former Microsoft Regional Director Microsoft MVP – ASP.Net, MCSD, MCT </li></ul><ul><li>Former INETA President </li></ul><ul><li>INETA Speakers Bureau </li></ul><ul><li>Author : Building Websites with VB.Net and DotNetNuke 3.0 Packt Publishing </li></ul><ul><li>.Net Certificate Instructor California State University Fullerton </li></ul><ul><li>CSUF .Net Advisory Board Member </li></ul><ul><li>Run DotNetDoc.com </li></ul><ul><li>Co-Founder – SoCalDotNet </li></ul><ul><li>TwitterID : DanielEgan </li></ul>Daniel Egan
  3. 3. <ul><li>INETA – International .Net Association </li></ul><ul><ul><li>www.Ineta.org </li></ul></ul><ul><li>User groups in this Area. </li></ul><ul><li>OCDotNet – www.OCDotNet.org </li></ul><ul><li>SoCalDotNet –www.SoCalDotNet.org </li></ul><ul><li>South Bay .Net - southbaynet.org/ </li></ul><ul><li>LADotNet –www.LADotNet.org </li></ul><ul><li>LA C# - www.LACSharp.org </li></ul><ul><li>Inland Empire – www.IEDotNetUG.org </li></ul>User Groups
  4. 4. <ul><li>m.Twitter.Com </li></ul><ul><li>#TechDays </li></ul><ul><li>http://www.Twitter.com/DanielEgan </li></ul>Twitter Your questions…
  5. 5. Session Objectives And Agenda Walk the ASP.NET 4.0 ‘features’ roadmap Code Plex – Where and Why ASP.Net AJAX Templates ASP.Net AJAX and jQuery Demos, Demos, Demos…
  6. 6. Releases: What, When And Where? Formal releases Interim drops on codeplex ASP.NET Futures July ’07 ASP.NET 3.5 Extensions Preview Dec ‘07 ASP.NET 3.5 SP1 Beta 1 ASP.NET MVC Preview ASP.NET Server Controls for Silverlight Beta Mar ‘08 VS10 FX4.0 Ajax, Dynamic Data, MVC, .. www.codeplex.com/aspnet www.asp.net Started ~Mar ’08 .. On-going ASP.NET MVC 1.0 ~End ‘08
  7. 7. <ul><li>www.asp.net: </li></ul><ul><ul><li>Formal: CTPs and documentation, levels of integration, forums .. </li></ul></ul><ul><li>www.codeplex.com/aspnet: </li></ul><ul><ul><li>Cutting edge: Sneak peek, informal releases </li></ul></ul><ul><ul><li>Broad-reach community-driven feedback </li></ul></ul><ul><ul><li>Source-code drops, roadmaps describe thoughts and priorities </li></ul></ul><ul><ul><li>Currently ~1,100 downloads/day </li></ul></ul><ul><ul><li>61,000 downloads: 216,000 PVs </li></ul></ul>ASP.NET 'sites'
  8. 8. CodePlex http://www.CodePlex.com/aspnet
  9. 9. ASP.NET 4.0 'themes' Best platform for standards Web dev: HTML, CSS, Ajax (address top customer pain-points) Support ‘pattern-based’ development models: MVC,TDD ASP.NET is a great LOB platform: Easy to develop and extend data-driven Web applications Re-invest in the core: (address top customer pain-points) Web forms MVC Data and Dynamic Data Ajax Core Infrastructure Future of Languages : Anders Hejlsberg, Herb Sutter, Erik Meijer, Brian Beckman http://tinyurl.com/ 513778
  10. 10. ASP.Net Webforms
  11. 11. <ul><li>Client IDs: </li></ul><ul><ul><li>Developers can manage control IDs that affect rendered client ID </li></ul></ul><ul><ul><li>Remove ID bloat, and ‘mangling’ </li></ul></ul><ul><li>URL routing for web-forms: </li></ul><ul><ul><li>Friendly-URL handling for web-forms </li></ul></ul><ul><ul><li>Configuration model for URL routing </li></ul></ul><ul><li>View-state: </li></ul><ul><ul><li>Disable on page, enable on specific controls </li></ul></ul><ul><ul><li>Disable on control, enable on child controls </li></ul></ul><ul><ul><li>GridView/ListView work better without view-state </li></ul></ul>ASP.NET Web-Forms
  12. 12. ASP.Net AJAX
  13. 13. What Is AJAX All About? Server AJAX versus &quot;pure&quot; AJAX Initial request: HTML HTML Form POST HTML + JSON JSON JSON Server AJAX “ Pure” AJAX Rendering Rendering
  14. 14. <ul><li>Ajax higher-level components: </li></ul><ul><ul><li>Ajax Control Toolkit is a part of the strategy </li></ul></ul><ul><ul><li>New controls </li></ul></ul><ul><li>Centralized script libraries and break-up of libraries leads to better performance </li></ul>ASP.NET Ajax - Toolkit
  15. 15. Client Templates Simple rendering on the client <ul><li>Design goals </li></ul><ul><ul><li>Performance </li></ul></ul><ul><ul><li>Simplicity and readability </li></ul></ul><ul><ul><li>Security </li></ul></ul><ul><ul><li>XHTML (if you care about that) </li></ul></ul><ul><ul><li>Easily embed data into markup: {{ Name }} </li></ul></ul><ul><ul><li>Default data context is the current data item </li></ul></ul><ul><ul><li>Expression language is JavaScript: {{BirthDate.localeFormat(“dd/MM/yyyy”)}} </li></ul></ul><ul><ul><li>Interspersed code and markup </li></ul></ul><ul><ul><li>Declarative behavior and events </li></ul></ul>
  16. 16. ASP.NET Ajax Templates and data-binding
  17. 17. ASP.Net AJAX and jQuery
  18. 18. <ul><li>Created by John Resig </li></ul><ul><li>Open source </li></ul><ul><ul><li>MIT and GPL license </li></ul></ul><ul><li>Cross-browser compatible </li></ul><ul><ul><li>Internet Explorer 6+, Firefox 2+, Opera 9+, and Safari 2+ </li></ul></ul><ul><li>Small footprint </li></ul><ul><ul><li>15KB </li></ul></ul><ul><li>Used by many major websites </li></ul><ul><ul><li>Bank of America, Dell, Netflix, NBC …_ </li></ul></ul><ul><li>Passionate community </li></ul>jQuery Overview
  19. 19. The Microsoft AJAX Framework ASP.NET AJAX AJAX Requests Components and Controls Client Templates AJAX Control Toolkit jQuery Selectors Animations Plugins
  20. 20. <ul><li>Microsoft will not fork jQuery </li></ul><ul><ul><li>jQuery included as-is </li></ul></ul><ul><ul><li>jQuery included under MIT license </li></ul></ul><ul><ul><li>Microsoft will actively contribute to jQuery </li></ul></ul><ul><li>Microsoft will provide full product support </li></ul><ul><ul><li>7/24 Product support through PSS </li></ul></ul><ul><li>Microsoft will integrate jQuery into future versions of Visual Studio </li></ul><ul><ul><li>Shipping with ASP.NET MVC </li></ul></ul><ul><li>Microsoft will add Intellisense for jQuery </li></ul>jQuery And Microsoft
  21. 21. <ul><li>$(“#firstName”) </li></ul><ul><ul><li>Selects element with Id firstName </li></ul></ul><ul><li>$(&quot;:text&quot;) </li></ul><ul><ul><li>Selects all text boxes </li></ul></ul><ul><li>$(“.required”) </li></ul><ul><ul><li>Selects all elements with required class </li></ul></ul><ul><li>$(&quot;#grd tr:even&quot;) </li></ul><ul><ul><li>Select even rows from an element with an Id of grd </li></ul></ul>jQuery Selectors
  22. 22. <ul><li>$(…).show() </li></ul><ul><li>$(…).hide() </li></ul><ul><li>$(…).slideDown() </li></ul><ul><li>$(…).slideUp() </li></ul><ul><li>$(…).fadeIn() </li></ul><ul><li>$(…).fadeOut() </li></ul>jQuery Animation
  23. 23. <ul><li>jQuery Plugin Repository </li></ul><ul><ul><li>http://plugins.jquery.com/ </li></ul></ul>jQuery Plugins <ul><li>AJAX (85) </li></ul><ul><li>Animation and Effects (94) </li></ul><ul><li>Browser Tweaks (36) </li></ul><ul><li>Data (51) </li></ul><ul><li>DOM (58) </li></ul><ul><li>Drag-and-Drop (11) </li></ul><ul><li>Events (50) </li></ul><ul><li>Forms (123) </li></ul><ul><li>Integration (24) </li></ul><ul><li>JavaScript (53) </li></ul><ul><li>jQuery Extensions (103) </li></ul><ul><li>Layout (67) </li></ul><ul><li>Media (40) </li></ul><ul><li>Menues (39) </li></ul><ul><li>Metaplugin (15) </li></ul><ul><li>Navigation (64) </li></ul><ul><li>Tables (33) </li></ul><ul><li>User Interface (231) </li></ul><ul><li>Utilities (104) </li></ul><ul><li>Widgets (81) </li></ul><ul><li>Windows and Overlays (22) </li></ul>
  24. 24. jQuery In Web Forms Creating A Photo Gallery
  25. 25. <ul><li>ASP.Net 4.0 </li></ul><ul><ul><li>Fixing pain points </li></ul></ul><ul><li>Templates </li></ul><ul><ul><li>Making AJAXDom integration eaiser </li></ul></ul><ul><li>jQuery + ASP.NET AJAX = Powerful AJAX Framework </li></ul><ul><ul><li>jQuery will be fully supported by Microsoft </li></ul></ul>Conclusion
  26. 26. <ul><li>http://www.DotNetDoc.com </li></ul><ul><li>http://www.asp.net </li></ul><ul><li>http://www.codeplex.com/aspnet </li></ul><ul><li>http://blogs.msdn.com/davidebb/ </li></ul><ul><li>http://blogs.msdn.com/scothu/ </li></ul><ul><li>http://haacked.com </li></ul><ul><li>http://weblogs.asp.net/bleroy </li></ul><ul><li>http://weblogs.asp.net/scottgu </li></ul><ul><li>http://www.hanselman.com/blog/ </li></ul>Resources
  27. 27. TechDays Technology Pilots <ul><li>TechDays survey – informing business and technology reporters </li></ul><ul><ul><ul><li>Bluetooth opt in </li></ul></ul></ul><ul><ul><ul><li>Text “survey” to 95495 </li></ul></ul></ul><ul><ul><ul><li>Privacy policy </li></ul></ul></ul><ul><li>TechDays “Resources on Demand” </li></ul><ul><ul><ul><li>Text TuesATwo to 95495 </li></ul></ul></ul><ul><ul><ul><li>Respond with preferred email address </li></ul></ul></ul><ul><ul><ul><li>Resources/links from this session will be pushed to you via email </li></ul></ul></ul><ul><li>Wireless internet available in the lobby area </li></ul><ul><li>SSID: “TechDays”, no passcode </li></ul><ul><li>Provided by iBahn, hospitality broadband leader </li></ul><ul><li>Internet kiosks also available in the registration area after check-in </li></ul><ul><li>Text Messaging </li></ul><ul><li>Wireless Internet </li></ul>
  28. 28. Event IDs for Template Session Title Text Message Keyword (send to 95495) SQL Roadshow TuesAOne MSDN: What’s New for Developers: Highlights from PDC TuesATwo Partner: Microsoft Licensing and Solution Update TuesBOne TechNet: Windows Vista, Powershell and Group Policy WedsAOne MSDN: SQL 2008, VSTO, Silverlight 2.0 WedsATwo SB2 at TS2: Solution Building for System Builders TS2 Partner Event: SBS/EBS, Response Point VoIP, and S+S! WedsBOne WedsBtwo TechNet: Virtualization and Enterprise Search ThursAOne MSDN: The Role of the Architect: Today and in the Future ThursATwo Momentum: Solution Briefing for IT and Business Executives ThursBOne Momentum Supersize Event ThursBTwo Dynamics ERP Briefing ThursCOne Partner: BPOS Deep Dive ThursCTwo
  29. 29. Your Feedback is Important <ul><li>1 . Which technology has your organization purchased, but not yet deployed, that would have the greatest ability to create cost savings? </li></ul><ul><li>2. What technology has your organization not purchased that would have the greatest impact on cost savings? </li></ul><ul><li>3. On a scale of 1-5 rate your company’s current level of interest for using IT to make the organization more environmentally friendly. </li></ul><ul><li>4. On a scale of 1-5 how would you rate your organization’s interest in cloud-based solutions? </li></ul><ul><li>1. On a scale of 1-5 (5=High, 1=Low), how would you rate your organization’s interest in investing in IT staff or resources within the next 12 months? </li></ul><ul><li>2. What do you think is the biggest factor influencing your organization’s interest in investing in IT staff or resources within the next 12 months? </li></ul><ul><li>Microsoft Technology </li></ul><ul><li>IT Staffing and Resources </li></ul>
  30. 30. Slides and Demos Slides can be found at: Demo code can be found at: www.DotNetDoc.com

×