visual studio2010
DESCRIPTION
WebDevelopement enhancements in Visual Studion 2010.TRANSCRIPT
A web development enhancements in VS2010
Hima Bindu Vejella Team Lead .NET | Prokarma Softechhttp://himabinduvejella.blogpsot.comhttp://Twitter.com/himanet
Our Agenda
• Evolution of ASP.NET• What’s there in Visual Studio 2010
Beta 2• ASP.NET Enhancements Features
Overview• Chart Control Demo• More Ajax demos+ ASP.NET demos in
UG meets
Core
Services
.NET Framework 4.0 Beta 2
Base Class Library
Common Language Runtime
Windows Workflow
Foundation
Managed Extensibility Framework
Data Services
Windows Communicati
on Foundation
“Velocity”
User Interface
Windows Presentation Foundation
ASP.NET(WebForms,
MVC, Dynamic
Data)
Data Access
Entity Framework
LINQ
ADO.NET
Parallel Extensions
WinForms LINQ to SQL
LanguagesDynamic Language Runtime
ASP.NET Evolution
ASP.NET 1.x
ASP.NET 2.0
ASP.NET AJAX
ASP.NET 3.5
ASP.NET MVCDynamic
DataASP.NET 4.0 Beta 2
Visual Studio .NET 2003
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010 Beta 2
5
Key focus areas•Minimized web.config• SEO Techniques ,Url Routing •Multi monitoring, Side by side • Tier architecture• Rich Ajax , Increased Productivity and Extensibility• JavaScript Intellisense • J-query Integration• ASP.NET Code snippets
Visual Studio 2010
Start Page, Code IntelliSense, ASP.NET Snippets, Dynamic IntelliSense ,VS2010
7
More…
• Extensible OutPutcaching• AutoStart Web Applications• Permanently Redirecting a page • Setting Client IDs• ViewStateMode• ASP.NET Chart control
8
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
9
Auto Start Web applications
• Earlier versions you have to go for custom approaches
• New scalability feature named autostart ASP.NET4 runs on IIS7.5 on Winserver 2008
• Application Host.config<applicationpools><add name =“myapp-pool” startmode
=“alwaysrunning”/></applicationpools>
ListView Improvements
<asp:ListView ID="Listview1" runat="server"> <LayoutTemplate> <div id="itemContainer" runat="server" /> </LayoutTemplate> <ItemTemplate><%# Eval("Title") %> </ItemTemplate></asp:ListView>
No Place holder required.
FormView Improvements
<asp:FormView ID="Formview1"
RenderTable="false" runat="server">
12
Control Your View State
Control.ViewStateMode–Enabled–Disabled–Inherit (default)
13
Control Your Client IDs
<system.web> <pages clientIdMode="Predictable">
</pages></system.web>
Auto, Static, Predictable, Inherit
14
Filtering Data with QueryExtender
• Filters data from IQuerable DataSource• Added to Entity DataSource or Linq
DataSource controls to filter• Handy in implementing Search/Filtering• No code• Can be combined with AJAX to provide rich
user experience• TargetControlID <DataSourceID>
15
ASP.NET Routing for Search Engine OptimizationInstead of:
http://YourSite.com/Search.aspx?query=cats
You can use:http://YourSite.com/Search/cats
PageRouteHanldeSpecify RouteUrl
16
Other Search Engine Optimization Improvements
• Page.Description• Page.Keywords• Response.RedirectPermanent(new url)
17
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.• 3-D support for most chart types.• Smart data labels that can automatically fit around data points.• Strip lines, scale breaks, and logarithmic scaling.• More than 50 financial and statistical formulas for data analysis and
transformation.• Simple binding and manipulation of chart data.• Support for common data formats, such as dates, times, and
currency.• Support for interactivity and event-driven customization, including
client click events using AJAX.
Visual Studio 2010 Beta 2Chart Control
demo
New Browser definition files ,Browser Capability Object
Blackberry.browserChrome.browserDefault.browserFirefox.browserGateway.browserGeneric.browserIE.browserIEmobile.browserIphonene.browserOpera.browserSafari.browser
http://dotnetslackers.com/articles/net/Visual-Studio-2010-and-NET-Framework-4-IDE-Enhancements-Part1.aspx http://dotnetslackers.com/articles/net/Visual-Studio-2010-and-NET-Framework-4-IDE-Enhancements-Part2.aspx http://dotnetslackers.com/articles/net/Visual-Studio-2010-and-NET-Framework-4-IDE-Enhancements-Part3.aspx
Referenceshttp://www.asp.net/LEARN/whitepapers/aspnet4/default.aspx
Contact
• Blog Addresshttp://HimaBinduVejella.blogspot.com
http://syntaxhelp.com/asp.net
• Email [email protected]
http://www.asp.net/learn/aspnet-4-quick-hit-videos/
© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the
accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.