Lap Around Visual Studio 2008 &.NET 3.5 Enhancements
Agenda.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements
.NET 3.5 SP1 – What’s New? ADO.NET Entity Framework ADO.NET Data Services ASP.NET Dynamic Data ASP.NET Routing
ADO.NET Entity Framework Entity Data Model Define your application model Map it to a persistence store Comprised of three layers (files): Conceptual (CSDL) Mapping (MSL) Storage (SSDL) Entity Framework Provides services for consuming an EDM: Object Services Entity Client Entity SQL LINQ To Entities
Demo ADO.NET Entity Framework
ADO.NET Data Services Data feed and publishing service with a standard RESTful interface Exposes an object model (not a database) over the web: Entity Data Model LINQ To SQL model Custom IQueryable provider Feature-rich/secure data platform Flexible extensibility model Broad consumption options
Demo ADO.NET Data Services
ASP.NET Routing Define your application’s URL entry points Static (/Products/Edit/23) Parameterized (/Products/{action}/{id}) Map these URL patterns to route handlers Generate URLs based off your defined route table Can be leveraged by ASP.NET… WebForms MVC (using) Dynamic Data (using)
ASP.NET Dynamic Data Data-driven web application scaffolding Full CRUD operations AJAX-enabled Based on top of object model LINQ To SQL Entity Data Model Extend your model Metadata Validation Modify base UI and add new templates Add dynamic behavior to existing apps
Demo ASP.NET Dynamic Data
.NET 3.5 SP1 – What’s Been Enhanced? ASP.NET AJAX WCF WPF WinForms
ASP.NET AJAX History Creates custom history points Server & client-side Enable back/forward browser buttons Allow users to bookmark state Script combining Combine multiple JavaScript files into one Saves server requests and bandwidth
WCF Scalability improvements DataContractSerializer improvements APP support added to the syndication library Enhanced UriTemplate syntax Compoud segments ({filename}.{ext}) Default values (/Products/{id=23})
WPF Performance improvements Up to 40% coldstart improvement! Shader effects Improved Direct3D Interop Images Textures
WinForms Five New controls Vector Shapes Line Rectangle Oval PrintForm DataRepeater
Visual Studio 2008 SP1 – What’s New? Entity Data Model designer JavaScript formatting and code preferences ASP Intellisense/Debugging.NET Framework Client Profile 26mb download
Demo.NET Framework Client Profile
Visual Studio 2008 SP1 – What’s Improved? SQL Server 2008 Improved JavaScript Intellisense jQuery Prototype Scriptaculous Web designer performance improvements WCF refactoring support (svc/config files)
Languages VB XML To Schema XSD Browser C# Improved on-the-fly compiler checking Improved LINQ debugging
Additional New Features ASP.NET MVC Silverlight 2 ASP.NET Silverlight controls