visual studio2010

22
A web development enhancements in VS2010 Hima Bindu Vejella Team Lead .NET | Prokarma Softech http:// himabinduvejella.blogpsot.com http://Twitter.com/himanet

Upload: himavejella

Post on 10-May-2015

1.803 views

Category:

Technology


1 download

DESCRIPTION

WebDevelopement enhancements in Visual Studion 2010.

TRANSCRIPT

Page 1: Visual Studio2010

A web development enhancements in VS2010

Hima Bindu Vejella Team Lead .NET | Prokarma Softechhttp://himabinduvejella.blogpsot.comhttp://Twitter.com/himanet

Page 2: Visual Studio2010

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

Page 3: Visual Studio2010

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

Page 4: Visual Studio2010

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

Page 5: Visual Studio2010

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

Page 6: Visual Studio2010

Visual Studio 2010

Start Page, Code IntelliSense, ASP.NET Snippets, Dynamic IntelliSense ,VS2010

Page 7: Visual Studio2010

7

More…

• Extensible OutPutcaching• AutoStart Web Applications• Permanently Redirecting a page • Setting Client IDs• ViewStateMode• ASP.NET Chart control

Page 8: Visual Studio2010

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

Page 9: Visual Studio2010

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>

Page 10: Visual Studio2010

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.

Page 11: Visual Studio2010

FormView Improvements

<asp:FormView ID="Formview1"

RenderTable="false" runat="server">

Page 12: Visual Studio2010

12

Control Your View State

Control.ViewStateMode–Enabled–Disabled–Inherit (default)

Page 13: Visual Studio2010

13

Control Your Client IDs

<system.web> <pages clientIdMode="Predictable">

</pages></system.web>

Auto, Static, Predictable, Inherit

Page 14: Visual Studio2010

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>

Page 15: Visual Studio2010

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

Page 16: Visual Studio2010

16

Other Search Engine Optimization Improvements

• Page.Description• Page.Keywords• Response.RedirectPermanent(new url)

Page 17: Visual Studio2010

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.

Page 18: Visual Studio2010

Visual Studio 2010 Beta 2Chart Control

demo

Page 19: Visual Studio2010

New Browser definition files ,Browser Capability Object

Blackberry.browserChrome.browserDefault.browserFirefox.browserGateway.browserGeneric.browserIE.browserIEmobile.browserIphonene.browserOpera.browserSafari.browser

Page 20: Visual Studio2010

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

Page 21: Visual Studio2010

Contact

• Blog Addresshttp://HimaBinduVejella.blogspot.com

http://syntaxhelp.com/asp.net

• Email [email protected]

http://www.asp.net/learn/aspnet-4-quick-hit-videos/

Page 22: Visual Studio2010

© 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.