SlideShare una empresa de Scribd logo
1 de 16
What is new in .NET 4.5

Robert MacLean
10th May 2012
Agenda
Focus on the framework
  Not tooling - mostly
      Visual Studio, TFS, Unit Testing
  Nothing language specific
      C# async
  Nothing for Windows 8 development - mostly
      .NET APIs for Metro Style Apps
Requirements
Client OS
  Windows 7 and 8
  Vista & XP NOT SUPPORTED!

Server OS
  Windows Server 2008 SP 1 onwards
  Windows Server 2008 SP 2 required for core profile support
  Itanium not supported
.NET 4 and how it sits in the
ecosystem
Portable Class Libraries
Was out of band in 4.0
Allows single assembly to be used for
  .NET 4.0 (WinForms, WPF, ASP.NET)
  .NET 4.5 (WinForms, WPF, ASP.NET)
  Silverlight 4
  Silverlight 5
  Windows Phone 7
  Windows Phone 7.1
  .NET for Metro Style Apps
  Xbox 360
Portable Class Libraries Support
Feature                 Assemblies                                     .NET Framework Metro style Silverligh Windows     Xbox 360
                                                                                                  t          Phone
                        mscorlib.dll, System.dll, System.Core.dll,
Core                    System.Xml.dll, System.Xml.Serialization.dll


                        System.ComponentModel.Composition.dll
Managed Extensibility
Framework (MEF)
                        System.Net.dll
Network Class Library
(NCL)
                        System.Runtime.Serialization.dll
Serialization
                        System.ServiceModel.dll,
Windows Communication   System.ServiceModel.Web.dll
Foundation (WCF)
                        System.Windows.dll
Model-View-View Model
(MVVM)
                        System.ComponentModel.DataAnnotations.
Data annotations        dll
                        System.Xml.Linq.dll
LINQ to XML
                                                                            Fully                 Some                    Not
                                                                          Supported             restrictions           Supported
The Performance List
Arrays can be larger than 2Gb
  Opt-in config setting & 64bit only
  http://bit.ly/JaQXn8

GAC on servers is faster
ZIP is smaller
  System.IO.Compression

ProfileOptimization
  Improve JIT on n runs based on recorded data
  n>1
Async
TPL massively improved
  Up to 400% with a recompile
PLINQ gets more support for parallel
  Example: OrderBy -> Take
Concurrent classes improve
  ~ 15% with recompiles
Parallel.Foreach can disable buffering
ThreadLocal<T>.Values
Timer based cancellations
TPL Dataflow
Improvements
Regex.MatchTimeout
Global (app domain) Culture settings 
Consoles support UTF-16
String compare on Windows 8 uses the OS
compare
Sort versioning
  .NET contains internal tables to do sorting, updated each release
  .NET 2.0 SP 1 to .NET 4: Unicode 5
  .NET 4.5 on Win7: Unicode 5
  .NET 4.5 on Win8: Unicode 6
International Internet & Networking
Support for International Domain Names
  Rules different depends on OS
  Windows 8: RFC 5891
  Windows 7: RFC 3490
Support for Email Address Internationalisation
Support for Dual-Stack Socket
  Single socket that works for IPv4 or IPv6
Websockets
  System.Net.Websockets
  As William
MEF
Support for generics
“Convention” based
  Setup conventions in constructor

Support for ASP.NET MVC
  Proper convention – use the Parts folder
WPF
The ribbon
INotifyDataErrorInfo
  Async & Sync data validation

Partial units in virtualised panels
Delay option for updating sources
WPF
WCF
Generate service & data contracts from WSDL
Support for Portable Class Libraries
Better configs (especially for clients)
Streaming changes
   Async support
   On IIS, buffering is removed – also means maxRequestLength is ignored 
Default values updated
   Most pushed to max
Visual Studio can validate config files
Binary encoding now can be compressed
UDP support 
Multiple authentication support 
Paste XML as classes
Workflow
VERSIONING 
Minor improvements to activities
  NoPersist
  Flow chart display & unconnected validattion
Minor improvements to designer
  Search
  Automatic containers
  Multi-select
  Outline view
  Annotations
  Build time validation of workflow
C# Support
ASP.NET
Core
  Unvalidated fields
      Scenario: Input of HTML
  Bundling & Minification of client scripts
      JavaScript & CSS
  Anti-XSS built in

Web Forms
  Binding
  Fallback support for CDNs
  HTML 5 types

Más contenido relacionado

La actualidad más candente

Wcf Transaction Handling
Wcf Transaction HandlingWcf Transaction Handling
Wcf Transaction HandlingGaurav Arora
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]vaishalisahare123
 
ASP.NET 01 - Introduction
ASP.NET 01 - IntroductionASP.NET 01 - Introduction
ASP.NET 01 - IntroductionRandy Connolly
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Netvidyamittal
 
An isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra dasAn isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra dasVikash Chandra Das
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishSvetlin Nakov
 
dot net final year project in jalandhar
dot net final year project in jalandhardot net final year project in jalandhar
dot net final year project in jalandhardeepikakaler1
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487Bat Programmer
 
CNIT 127: L9: Web Templates and .NET
CNIT 127: L9: Web Templates and .NETCNIT 127: L9: Web Templates and .NET
CNIT 127: L9: Web Templates and .NETSam Bowne
 
What is dotnet (.NET) ?
What is dotnet (.NET) ?What is dotnet (.NET) ?
What is dotnet (.NET) ?Talha Shahzad
 
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...Flink Forward
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To DotnetSAMIR BHOGAYTA
 

La actualidad más candente (20)

Wcf Transaction Handling
Wcf Transaction HandlingWcf Transaction Handling
Wcf Transaction Handling
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]
 
ASP.NET 01 - Introduction
ASP.NET 01 - IntroductionASP.NET 01 - Introduction
ASP.NET 01 - Introduction
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
An isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra dasAn isas presentation on .net framework 2.0 by vikash chandra das
An isas presentation on .net framework 2.0 by vikash chandra das
 
Asp Architecture
Asp ArchitectureAsp Architecture
Asp Architecture
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
dot NET Framework
dot NET Frameworkdot NET Framework
dot NET Framework
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
dot net final year project in jalandhar
dot net final year project in jalandhardot net final year project in jalandhar
dot net final year project in jalandhar
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487
 
Working in Visual Studio.Net
Working in Visual Studio.NetWorking in Visual Studio.Net
Working in Visual Studio.Net
 
Wwf
WwfWwf
Wwf
 
CNIT 127: L9: Web Templates and .NET
CNIT 127: L9: Web Templates and .NETCNIT 127: L9: Web Templates and .NET
CNIT 127: L9: Web Templates and .NET
 
What is dotnet (.NET) ?
What is dotnet (.NET) ?What is dotnet (.NET) ?
What is dotnet (.NET) ?
 
4. features of .net
4. features of .net4. features of .net
4. features of .net
 
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...
Flink Forward Berlin 2017: Boris Lublinsky, Stavros Kontopoulos - Introducing...
 
Introduction to Visual Studio.NET
Introduction to Visual Studio.NETIntroduction to Visual Studio.NET
Introduction to Visual Studio.NET
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 

Destacado

New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012Subodh Pushpak
 
WPF 06 - personalizando los controles de interfaz de usuario
WPF 06 -  personalizando los controles de interfaz de usuarioWPF 06 -  personalizando los controles de interfaz de usuario
WPF 06 - personalizando los controles de interfaz de usuarioDanae Aguilar Guzmán
 
How I Accidentally Discovered MVVM
How I Accidentally Discovered MVVMHow I Accidentally Discovered MVVM
How I Accidentally Discovered MVVMBradford Dillon
 
Wpf Validation
Wpf ValidationWpf Validation
Wpf ValidationRookieOne
 

Destacado (9)

Dev411
Dev411Dev411
Dev411
 
Dev308
Dev308Dev308
Dev308
 
New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012
 
Vim week
Vim weekVim week
Vim week
 
WPF 06 - personalizando los controles de interfaz de usuario
WPF 06 -  personalizando los controles de interfaz de usuarioWPF 06 -  personalizando los controles de interfaz de usuario
WPF 06 - personalizando los controles de interfaz de usuario
 
How I Accidentally Discovered MVVM
How I Accidentally Discovered MVVMHow I Accidentally Discovered MVVM
How I Accidentally Discovered MVVM
 
Simple Data Binding
Simple Data BindingSimple Data Binding
Simple Data Binding
 
WPF 03 - controles WPF
WPF 03 - controles WPF WPF 03 - controles WPF
WPF 03 - controles WPF
 
Wpf Validation
Wpf ValidationWpf Validation
Wpf Validation
 

Similar a What is new in .NET 4.5

Net Fundamentals
Net FundamentalsNet Fundamentals
Net FundamentalsAli Taki
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp EnGregory Renard
 
086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010GeneXus
 
Net Framework Overview
Net Framework OverviewNet Framework Overview
Net Framework OverviewLuis Goldster
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework OverviewDoncho Minkov
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarPriyankaPinglikar
 
Net framework
Net frameworkNet framework
Net frameworksumit1503
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)Shoaib Ghachi
 
Module 1 : Overview of the Microsoft .NET Platform
Module 1 : Overview of the Microsoft .NET PlatformModule 1 : Overview of the Microsoft .NET Platform
Module 1 : Overview of the Microsoft .NET PlatformPrem Kumar Badri
 
.NET Overview
.NET Overview.NET Overview
.NET OverviewGreg Sohl
 
J2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net WorkshopJ2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net Workshopdanglvh
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overviewllangit
 

Similar a What is new in .NET 4.5 (20)

Net Fundamentals
Net FundamentalsNet Fundamentals
Net Fundamentals
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
 
086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010
 
Net Framework Overview
Net Framework OverviewNet Framework Overview
Net Framework Overview
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
As Pdotnet
As PdotnetAs Pdotnet
As Pdotnet
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka Pinglikar
 
Net framework
Net frameworkNet framework
Net framework
 
.Net Session Overview
.Net Session Overview.Net Session Overview
.Net Session Overview
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
 
Vb
VbVb
Vb
 
Module 1 : Overview of the Microsoft .NET Platform
Module 1 : Overview of the Microsoft .NET PlatformModule 1 : Overview of the Microsoft .NET Platform
Module 1 : Overview of the Microsoft .NET Platform
 
Programming
Programming Programming
Programming
 
.NET Overview
.NET Overview.NET Overview
.NET Overview
 
J2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net WorkshopJ2 Ee Vs. .Net Workshop
J2 Ee Vs. .Net Workshop
 
.Net overview
.Net overview.Net overview
.Net overview
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overview
 
.Net
.Net.Net
.Net
 

Más de Robert MacLean

14 things you need to be a successful software developer (v3)
14 things you need to be a successful software developer (v3)14 things you need to be a successful software developer (v3)
14 things you need to be a successful software developer (v3)Robert MacLean
 
Building a µservice with Kotlin, Micronaut & GCP
Building a µservice with Kotlin, Micronaut & GCPBuilding a µservice with Kotlin, Micronaut & GCP
Building a µservice with Kotlin, Micronaut & GCPRobert MacLean
 
Features of Kotlin I find exciting
Features of Kotlin I find excitingFeatures of Kotlin I find exciting
Features of Kotlin I find excitingRobert MacLean
 
DevConf Survival Guide
DevConf Survival GuideDevConf Survival Guide
DevConf Survival GuideRobert MacLean
 
The state of testing @ Microsoft
The state of testing @ MicrosoftThe state of testing @ Microsoft
The state of testing @ MicrosoftRobert MacLean
 
Visual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptVisual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptRobert MacLean
 
Putting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/TestPutting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/TestRobert MacLean
 
A Developer Day 2014 - Durban
A Developer Day 2014 - Durban A Developer Day 2014 - Durban
A Developer Day 2014 - Durban Robert MacLean
 
Agile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersAgile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersRobert MacLean
 
Hour of code - Train the trainer
Hour of code - Train the trainerHour of code - Train the trainer
Hour of code - Train the trainerRobert MacLean
 
Building services for apps on a shoestring budget
Building services for apps on a shoestring budgetBuilding services for apps on a shoestring budget
Building services for apps on a shoestring budgetRobert MacLean
 
3 things your app API is doing WRONG
3 things your app API is doing WRONG3 things your app API is doing WRONG
3 things your app API is doing WRONGRobert MacLean
 

Más de Robert MacLean (20)

14 things you need to be a successful software developer (v3)
14 things you need to be a successful software developer (v3)14 things you need to be a successful software developer (v3)
14 things you need to be a successful software developer (v3)
 
Git
GitGit
Git
 
OWASP TOP 10
OWASP TOP 10OWASP TOP 10
OWASP TOP 10
 
Building a µservice with Kotlin, Micronaut & GCP
Building a µservice with Kotlin, Micronaut & GCPBuilding a µservice with Kotlin, Micronaut & GCP
Building a µservice with Kotlin, Micronaut & GCP
 
Looking at the Vue
Looking at the VueLooking at the Vue
Looking at the Vue
 
Kotlin 101
Kotlin 101Kotlin 101
Kotlin 101
 
Features of Kotlin I find exciting
Features of Kotlin I find excitingFeatures of Kotlin I find exciting
Features of Kotlin I find exciting
 
JavaScript Gotchas
JavaScript GotchasJavaScript Gotchas
JavaScript Gotchas
 
DevConf Survival Guide
DevConf Survival GuideDevConf Survival Guide
DevConf Survival Guide
 
The state of testing @ Microsoft
The state of testing @ MicrosoftThe state of testing @ Microsoft
The state of testing @ Microsoft
 
Visual Studio ❤ JavaScript
Visual Studio ❤ JavaScriptVisual Studio ❤ JavaScript
Visual Studio ❤ JavaScript
 
What is new in C# 6?
What is new in C# 6?What is new in C# 6?
What is new in C# 6?
 
Putting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/TestPutting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/Test
 
A Developer Day 2014 - Durban
A Developer Day 2014 - Durban A Developer Day 2014 - Durban
A Developer Day 2014 - Durban
 
Agile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersAgile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM Rangers
 
Hour of code - Train the trainer
Hour of code - Train the trainerHour of code - Train the trainer
Hour of code - Train the trainer
 
Building services for apps on a shoestring budget
Building services for apps on a shoestring budgetBuilding services for apps on a shoestring budget
Building services for apps on a shoestring budget
 
3 things your app API is doing WRONG
3 things your app API is doing WRONG3 things your app API is doing WRONG
3 things your app API is doing WRONG
 
ASP.NET
ASP.NETASP.NET
ASP.NET
 
LightSwitch
LightSwitchLightSwitch
LightSwitch
 

Último

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Último (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

What is new in .NET 4.5

  • 1. What is new in .NET 4.5 Robert MacLean 10th May 2012
  • 2. Agenda Focus on the framework Not tooling - mostly Visual Studio, TFS, Unit Testing Nothing language specific C# async Nothing for Windows 8 development - mostly .NET APIs for Metro Style Apps
  • 3. Requirements Client OS Windows 7 and 8 Vista & XP NOT SUPPORTED! Server OS Windows Server 2008 SP 1 onwards Windows Server 2008 SP 2 required for core profile support Itanium not supported
  • 4. .NET 4 and how it sits in the ecosystem
  • 5. Portable Class Libraries Was out of band in 4.0 Allows single assembly to be used for .NET 4.0 (WinForms, WPF, ASP.NET) .NET 4.5 (WinForms, WPF, ASP.NET) Silverlight 4 Silverlight 5 Windows Phone 7 Windows Phone 7.1 .NET for Metro Style Apps Xbox 360
  • 6. Portable Class Libraries Support Feature Assemblies .NET Framework Metro style Silverligh Windows Xbox 360 t Phone mscorlib.dll, System.dll, System.Core.dll, Core System.Xml.dll, System.Xml.Serialization.dll System.ComponentModel.Composition.dll Managed Extensibility Framework (MEF) System.Net.dll Network Class Library (NCL) System.Runtime.Serialization.dll Serialization System.ServiceModel.dll, Windows Communication System.ServiceModel.Web.dll Foundation (WCF) System.Windows.dll Model-View-View Model (MVVM) System.ComponentModel.DataAnnotations. Data annotations dll System.Xml.Linq.dll LINQ to XML Fully Some Not Supported restrictions Supported
  • 7. The Performance List Arrays can be larger than 2Gb Opt-in config setting & 64bit only http://bit.ly/JaQXn8 GAC on servers is faster ZIP is smaller System.IO.Compression ProfileOptimization Improve JIT on n runs based on recorded data n>1
  • 8. Async TPL massively improved Up to 400% with a recompile PLINQ gets more support for parallel Example: OrderBy -> Take Concurrent classes improve ~ 15% with recompiles Parallel.Foreach can disable buffering ThreadLocal<T>.Values Timer based cancellations TPL Dataflow
  • 9. Improvements Regex.MatchTimeout Global (app domain) Culture settings  Consoles support UTF-16 String compare on Windows 8 uses the OS compare Sort versioning .NET contains internal tables to do sorting, updated each release .NET 2.0 SP 1 to .NET 4: Unicode 5 .NET 4.5 on Win7: Unicode 5 .NET 4.5 on Win8: Unicode 6
  • 10. International Internet & Networking Support for International Domain Names Rules different depends on OS Windows 8: RFC 5891 Windows 7: RFC 3490 Support for Email Address Internationalisation Support for Dual-Stack Socket Single socket that works for IPv4 or IPv6 Websockets System.Net.Websockets As William
  • 11. MEF Support for generics “Convention” based Setup conventions in constructor Support for ASP.NET MVC Proper convention – use the Parts folder
  • 12. WPF The ribbon INotifyDataErrorInfo Async & Sync data validation Partial units in virtualised panels Delay option for updating sources
  • 13. WPF
  • 14. WCF Generate service & data contracts from WSDL Support for Portable Class Libraries Better configs (especially for clients) Streaming changes Async support On IIS, buffering is removed – also means maxRequestLength is ignored  Default values updated Most pushed to max Visual Studio can validate config files Binary encoding now can be compressed UDP support  Multiple authentication support  Paste XML as classes
  • 15. Workflow VERSIONING  Minor improvements to activities NoPersist Flow chart display & unconnected validattion Minor improvements to designer Search Automatic containers Multi-select Outline view Annotations Build time validation of workflow C# Support
  • 16. ASP.NET Core Unvalidated fields Scenario: Input of HTML Bundling & Minification of client scripts JavaScript & CSS Anti-XSS built in Web Forms Binding Fallback support for CDNs HTML 5 types