Vs2010 Apiit Mix On Campus_Ngan Seok Chern


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Vs2010 Apiit Mix On Campus_Ngan Seok Chern

  1. 1. Ngan Seok Chern MCP | CEH | MVP – ASP / ASP.NET seokchern85@hotmail.com http://blog.scnetstudio.com
  2. 2. The Four Pillars of VS2010 “Pro” Creating Office Using The Understanding Building Web Business Power of The Code Applications Applications C++
  3. 3. New Visual Studio 2010 Features… Breakpoint Grouping Parallel Tasks Window New Look & Feel Extensible Test Runner Dynamic Data Tooling Generate From Usage WPF-based Editor Highlight References Breakpoint Labeling Click-Once Enhancements for Office Call Hierarchy Improved WPF Tooling Web Deploy Sharepoint Tooling Historical Debugging MVC Tooling Inline Call Tree Minidump Debugging Quick Search Concurrency Profiler JQueryIntellisense Breakpoint Import/Export Document Map Margin 64-bit Mixed-Mode Parallel Stacks Window HTML Snippets Improved Multi-Monitor web.config Transformation
  4. 4. The Two Faces of Visual Studio 2010 Visual Studio As An Editor Visual Studio As A Platform
  5. 5. … As An Editor An improved focus on… Writing code, Understanding code, Navigating code, Publishing code
  6. 6. … As A Platform New Extensible Editor allows editor to be easily extended to provide a rich and robust editing experience Online Visual Studio Gallery integrated directly into Visual Studio
  7. 7. Welcome to Visual Studio 2010
  8. 8. The VS2010 Roadmap  Beta 1 - Q2 CY09  Beta 2 - H2 CY10  RTM, Before Visual Studio vNext vNext Ships!
  9. 9. What's New in ASP.NET 4  Extensible Output Caching  Auto-Start Web Applications  Permanently Redirecting a Page  Setting Client IDs  ASP.NET Chart Control  And more…
  10. 10. Extensible Output Caching  Enables you to configure one or more custom output- cache providers.  Include local or remote disks, cloud storage, and distributed cache engines.  Create custom output-cache provider as a class that derives from the new System.Web.Caching.OutputCacheProvider type in the Web.config
  11. 11. Auto-Start Web Applications  Earlier versions of ASP.NET, for these situations you had to devise custom approaches to "wake up“ your apps.  New scalability feature named auto-start ASP.NET 4 runs on IIS 7.5 on Windows Server 2008 R2.  IIS Administrator  applicationHost.config <applicationPools> <add name="MyApplicationPool" startMode="AlwaysRunning" /> </applicationPools>
  12. 12. Permanently Redirecting a Page  Response.Redirect method to forward a request to the URL.  Response.Redirect ("/foroldcontent.aspx");  Redirect method issues an HTTP 302 Found (temporary redirect) response.  Extra HTTP round trip when users attempt to access the old URLs.  Search engines and other user agents that recognize permanent redirects will store the new URL.  Response.RedirectPermanent("/foroldcontent.aspx");
  13. 13. Setting Client IDs 1) Master Page (No ID) Control Hierarchy 2) User Control (“HeaderForm”) 3) Drop Down List (“States”) Resulting Client IDs: 1) ctl00 2) ctl00_HeaderForm 3) ctl00_HeaderForm_States
  14. 14. ASP.NET Chart Control  35 distinct chart types.  An unlimited number of chart areas, titles, legends, and annotations.  A wide variety of appearance settings for all chart elements.  And etc.
  15. 15. Thank you Q&A seokchern85@hotmail.com