Académique Documents
Professionnel Documents
Culture Documents
Introduction to Visual Studio 2008 .NET Framework Multi-Targeting Support MultiC# and VB.NET Language Enhancements Introduction to Language Integrated Query (LINQ) Major HTML / CSS Designer Enhancements Rich AJAX and JavaScript Support And much more
http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
System, service, application, data center designers Code editors, visual designers, debugging, unit tests, code metrics Create, edit, manage and run tests Database project templates, rename refactoring, visual diff/merge, test data generation
Visual Studio 2008 Standard Edition Visual Studio 2008 Professional Edition Visual Studio 2008 Team Suite (Architect, Developer, Test and Database)
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
Framework Multitargeting
Visual Studio 2008 supports targeting multiple versions of the .NET Framework Choose which Framework version to target when opening or creating an application
.NET Framework 2.0 (Whidbey) .NET Framework 3.0 (Vista) .NET Framework 3.5 (Orcas)
HTML split view designer LINQ to SQL Designer JavaScript Intellisense CSS property viewer WPF designer Office designer support .NET framework multi-targeting support
Visual Studio IDE only shows feature appropriate for your selected target version
Toolbox, Add New Item, Add Reference, Add Web Reference, Intellisense, etc Intellisense,
http:// ecastrom.blogspot.com http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Framework Multitargeting
Version = Assembly references + compilers No new CLR runtime
.NET Fx 3.5 .NET Fx 3.0 Update .NET Fx 2.0 Update 2008
.NET Fx 2.0
Whidbey
time
http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
HTML Designer
Massively improved HTML designer
Same WYSIWYG designer as in Expression
Demo
MultiMulti-Targeting
New features:
Rich CSS editing support Split view editor Fast designer/source switching Nested master pages
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
Object Initializers
Object initializers allow accessible field or property values to be initialized with values without explicit constructor calls
[Visual C#]
Anonymous Types
Anonymous types allow read-only readproperties to be defined for an object without an explicit type definition
[Visual C#]
[Visual Basic] [Visual Basic] Dim p As New Person With {.FirstName = "John", .LastName = "Doe", _ .State="AZ"} Dim p = New With {.FirstName = "John", .LastName = "Doe"}
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
Extension Methods
Extension methods allow existing types to be extended without creating a derived type Extension method guidelines:
Cannot be used to override existing methods Extension method with the same name and signature as an instance method will not be called The concept of extension methods cannot be applied to fields, properties or events Use extension methods sparingly
http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Lambda Expressions
A lambda expression is a function without a name that evaluates a single expression and returns its value
[Visual C#] List<string> names = new List<string> { "John", "Jim", "Michelle" }; IEnumerable<string> filter = names.Where(p => p.StartsWith("J")); ("J")); [Visual Basic] Dim names As New List(Of String) names.Add("John") names.Add("Jim") names.Add("Michelle") Dim filter As IEnumerable(Of String) = _ names.Where(Function(p) p.StartsWith("J"))
http://ecastrom.spaces.live.com/ http://ecastrom.spaces.live.com/
Demo
Language Enhanments
http:// ecastrom.blogspot.com
http:// ecastrom.blogspot.com
Introduction to LINQ
What is LINQ? LINQ Operators LINQ Syntax Fundamentals LINQ to SQL Designer
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
Introducing LINQ
(Language Integrated Query)
Query, Set and Transform Operations for .NET Makes querying data a core programming concept Works with all types and shapes of data
Relational database XML Objects
What is LINQ?
LINQ = Language Integrated Query Native C# and VB.NET language feature Comprehensive query technology:
Query Objects Query Databases Query XML Query custom data stores
Reduces complexities associated with accessing data that isn't defined using OO technology Provides static typing and compile-time syntax compilechecking
http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
LINQ Operators
LINQ supports several different operations:
Filter Sort Select Group Join
LINQ operators are expressed declaratively using C# or VB.NET Visual Studio 2008 provides Intellisense support for operators
http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
Demo
LINQ
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
ASP.NET AJAX
Works on top of ASP.NET 2.0 and VS 2005
Fully supported V1.0 shipped last week on the web
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
JavaScript Debugging
Improved discoverability Breakpoints in .aspx documents .aspx New visualization features for variables
http://ecastrom.spaces.live.com/
Demo
LINQ
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
Testing Features
VSTS Unit Testing Moving to VS Professional
Improved performance and workflow
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
El Libro Introducing Microsoft LINQ por asistir al menos a una charla. Introducing
Restricciones: Restricciones: 1 libro de estos mximo por persona por todo el evento. Los libros sern entregados entre finales de Enero y Febrero.
Adquiere ya Visual Studio 2005 con suscripcin MSDN y recibe inmediatamente Visual Studio 2008. 2008. Adems participa durante el mes de Diciembre ganando puntos por tu compra de Visual Studio y cmbialos por productos, libros o entrenamiento de productos, .NET, Expression, Silverlight y mucho ms: Expression, ms:
Para ms informacin escribe a srojas@microsoft.co.cr
Un juego de la siguiente lista por asistir a todas las charlas del evento:
Zoo Tycoon2: Marine Mania (para PC) (para Halo 2 PC 32-Bit Vista (para PC) 32 Flight Simulator X (para PC) (para Fable The Lost Chapters (para PC) (para Combat Flight Sim 3 (para PC) (para Age of Empires III (para PC) (para Restricciones: Restricciones: Mximo 1 juego por persona por todo el evento. Los juegos sern entregados entre finales de Enero y Febrero.
Para estos premios se validar la asistencia contra hoja de evaluacin entregada sin excepciones. http:// ecastrom.blogspot.com http://ecastrom.spaces.live.com/ http:// ecastrom.blogspot.com
http://ecastrom.spaces.live.com/
http://ecastrom.spaces.live.com/
http:// ecastrom.blogspot.com
2001 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.