Visual Studio 2010 and ASP.Net 4

  • 2,885 views
Uploaded on

A short presentation on some of the new features in Visual Studio 2010 and .NET 4

A short presentation on some of the new features in Visual Studio 2010 and .NET 4

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,885
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
14
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Visual Studio 2010 and ASP.NET 4
    Lee Englestone presents..
    www.manchesterdeveloper.com
  • 2. The Evolution of .NET
    In the beginning (2002) there was..
    From January 2006 there was..
    By late 2007 we also had..
    And on April 12th the world will know..
    .NET 1.0 & 1.1
    .NET 2.0
    .NET 3.0 & 3.5
    .NET 4 & VS2010
  • 3. Agenda
    Overview
    VS2010
    .NET 4
  • 4. Overview
    2 Years in development
    VS2010 ships with .NET 4
    VS2010 ships with MVC 2
    VS2010 ships with Silverlight 4
    Launch worldwide April 12th
  • 5. VS2010 General
    Built using WPF (Windows Presentation Foundation)
    Can undock windows
    Allows for multiple monitor development
    Add reference improved
    No longer stalls Visual Studio
  • 6. .NET 4
    .NET 1.0 Runtime & class library
    .NET 1.1 Runtime & class library
    .NET 2.0 Runtime & class library
    .NET 3.0 Class library
    .NET 3.5 Class library
    .NET 4.0 Runtime & class library
    4.0 Runtime runs side by side with 2.0
  • 7. VS2010 Intellisense
    Code behind auto complete (.cs)
    Code Navigation ‘Navigate To’
    Ctrl + comma
    Highlight multiple instances (.cs)
    Box selection
    Snippet auto complete (aspx)
    Javascript inference
  • 8. Web.config
    Minimised by default
    (No need for additional 3.5 references)
    Multiple deployment configurations
    Web.Debug.config
    Web.Release.config
    Web.XXX.config
  • 9. c# Optional and Named Parameters
    Optional parameters
    Public ShowProduct(intproductId = 0, int count=10){ …}
    Named parameters
    ShowProduct(productId:10);
  • 10. VS2010 Debugging
    Pin variables!!!
    View call hierarchy
    Step backwards
  • 11. Routing / SEO improvements
    products.aspx?category=bikes
    products/bikes
    Code sample
    Page.MetaKeywords
    Page.MetaDescription
    Response.RedirectPermanent
    Response.RedirectToRoute
    IIS 7 SEO Toolkit Plugin
  • 12. ASP.NET WebForms 4
    Markup emitted from Server controls tidied up
    No inline styles by default
    Improved css designer support
    Smaller viewstate by default
    Automatic Html Encoding
    <%=Heading%>
    <%: Heading%>
  • 13. Charting Controls
    Included with ASP.NET 4
    (Previously separate download)
  • 14. Modelling (Ultimate version only?)
    Create sequence diagram
    Dependency graphs
    Code gen from UML diagrams
    Dgml (xml) so can create own diagrams
  • 15. Other features
    Web deployment packages
    Can deploy entire site
    Including running sql scripts and creating databases
  • 16. Summary
    VS2010 / .NET 4 an exciting release
    Only covered some of the new features for web development
    More information
    http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx