SlideShare a Scribd company logo
VS2010 & .NET 4.0Capgemini BAS / CapgeminiTechnology ServicesMicrosoft Professionals Meet & Greet29 september 2009
Agenda2
Wat is nieuw in 4.0?3Data ServicesASP.NETWorkflow FoundationEntity FrameworkWPFCommunication FoundationLINQ to SQLWinForms“Velocity”ADO.NETCoreLINQMEFParallel ExtensionsLanguagesDLRBase Class Library.NET CLR
Framework Verbeteringen: WF/WCF4
Wat is nieuw in C# 4.05
Optional parameters6
Namedarguments7
GenericVarianceCo-variance (specific to generic):List<string> strings = new 	List<string>(); strings.Add( "hello" ); strings.Add( "goodbye" ); List<object> objects = new 	List<object>(); objects.AddRange( strings );Contra-variance (generic to specific)Action<Student> submitLetter = (Person p) => {     SendMailTo(p.HomeAddress); };8
Dynamicobjectsobject obj = tdse.GetObject(tcmUri, EnumOpenMode.OpenModeView,              null,XMLReadFilter.XMLReadAll );stringtitle = null;if (objisComponent){Componentcomponent = (Component) obj; title = component.Title;}…elseif (objisPage){Pagepage = (Page) obj;title = page.Title;}Display(title); dynamictridionItem =   tdse.GetObject(tcmUri,                EnumOpenMode.OpenModeView);stringtitle = tridionItem.Title;Display(title);9
Dynamicobjects10
DynamicObjectsDemo
Parallel Extensions12
Parallel Extensions13Parallel class static (overloaded) methods
helper methods to create/work with Tasks
encapsulates common patternsParallel ExtensionsSimpele parallelefor loop:int steps = 10;Parallel.For(0, steps, (i) =>             {Console.WriteLine(i);             });14
Parallel ExtensionsDit kan ook met PLINQ:var q = from p in people.AsParallel()        where p.Name == queryInfo.Name && p.State == queryInfo.State &&p.Year >= yearStart &&p.Year <= yearEnd        orderbyp.Year ascending        select p;15
Parallel ExtensionsDemo
Visual Studio 201017
TDD met VS201018Write TestFailYNCodePassYTechnique based on test-first approach
Write test first
Write code to pass testBenefitsKeeps focus on functionality of code
Full code coverage

More Related Content

PDF
A tutorial on C++ Programming
PDF
Debugging and Profiling C++ Template Metaprograms
PPTX
Two scoops of django version one
DOC
Cis 170 c ilab 5 of 7 arrays and strings
PPTX
What's new in C# 8.0 (beta)
PDF
Two C++ Tools: Compiler Explorer and Cpp Insights
PPTX
Python Functions 1
PDF
Golang dot-testing-lite
A tutorial on C++ Programming
Debugging and Profiling C++ Template Metaprograms
Two scoops of django version one
Cis 170 c ilab 5 of 7 arrays and strings
What's new in C# 8.0 (beta)
Two C++ Tools: Compiler Explorer and Cpp Insights
Python Functions 1
Golang dot-testing-lite

What's hot (20)

PDF
Categories for the Working C++ Programmer
PPTX
Boolean and conditional logic in Python
DOC
Devry cis 170 c i lab 5 of 7 arrays and strings
PDF
JS Fest 2018. Никита Галкин. Микросервисная архитектура с переиспользуемыми к...
PDF
Devry cis 170 c i lab 5 of 7 arrays and strings
PPT
OOP in C++
PPTX
Александр Куцан: "Static Code Analysis in C++"
PPT
Csc1100 lecture05 ch05
PPT
Csc1100 lecture06 ch06_pt2
PPT
C++ Programming Course
PPTX
Java 8 features
PDF
Metaprogramming
PPTX
Python Programming Essentials - M28 - Debugging with pdb
PDF
Angular Vienna - Use React tools for better Angular apps
TXT
CORE JAVA
PPTX
Sub Signatures: Next Steps
PPT
Csc1100 lecture03 ch03-pt2-s14
PPT
Csc1100 lecture03 ch03-pt2-s14
PDF
Thinking functional-in-scala
PPTX
Interpreter Design Pattern in Javascript
Categories for the Working C++ Programmer
Boolean and conditional logic in Python
Devry cis 170 c i lab 5 of 7 arrays and strings
JS Fest 2018. Никита Галкин. Микросервисная архитектура с переиспользуемыми к...
Devry cis 170 c i lab 5 of 7 arrays and strings
OOP in C++
Александр Куцан: "Static Code Analysis in C++"
Csc1100 lecture05 ch05
Csc1100 lecture06 ch06_pt2
C++ Programming Course
Java 8 features
Metaprogramming
Python Programming Essentials - M28 - Debugging with pdb
Angular Vienna - Use React tools for better Angular apps
CORE JAVA
Sub Signatures: Next Steps
Csc1100 lecture03 ch03-pt2-s14
Csc1100 lecture03 ch03-pt2-s14
Thinking functional-in-scala
Interpreter Design Pattern in Javascript
Ad

Similar to Presentatie .NET 4/VS2010 (20)

PPTX
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
PPT
Groovy Introduction - JAX Germany - 2008
PPT
Visual Studio .NET2010
PPTX
Visual Studio 2010 and .NET 4.0 Overview
PDF
Introduction to Go language
PPT
Stopping the Rot - Putting Legacy C++ Under Test
PPT
Pragmatic Parallels: Java and JavaScript
PPTX
Toub parallelism tour_oct2009
PPTX
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
ODP
Incredible Machine with Pipelines and Generators
PPTX
Not your fathers language c++
PPT
Overview Of Parallel Development - Ericnel
PDF
Java 8 - Lambdas and much more
PDF
The First C# Project Analyzed
PPT
Parasoft .TEST, Write better C# Code Using Data Flow Analysis
PPT
SystemVerilog OOP Ovm Features Summary
PPTX
Core .NET Framework 4.0 Enhancements
PDF
.Net passé, présent et futur
PPT
PostThis
PPTX
.NET 4 Demystified - Sandeep Joshi
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
Groovy Introduction - JAX Germany - 2008
Visual Studio .NET2010
Visual Studio 2010 and .NET 4.0 Overview
Introduction to Go language
Stopping the Rot - Putting Legacy C++ Under Test
Pragmatic Parallels: Java and JavaScript
Toub parallelism tour_oct2009
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Incredible Machine with Pipelines and Generators
Not your fathers language c++
Overview Of Parallel Development - Ericnel
Java 8 - Lambdas and much more
The First C# Project Analyzed
Parasoft .TEST, Write better C# Code Using Data Flow Analysis
SystemVerilog OOP Ovm Features Summary
Core .NET Framework 4.0 Enhancements
.Net passé, présent et futur
PostThis
.NET 4 Demystified - Sandeep Joshi
Ad

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
A Presentation on Artificial Intelligence
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PDF
Electronic commerce courselecture one. Pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
KodekX | Application Modernization Development
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The AUB Centre for AI in Media Proposal.docx
A Presentation on Artificial Intelligence
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
Electronic commerce courselecture one. Pdf
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
KodekX | Application Modernization Development
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Presentatie .NET 4/VS2010