Download presentation
Presentation is loading. Please wait.
1
Wely (wely_live@live.com) Microsoft MVP, Visual C# http://geeks.netindonesia.net/blogs/wely/
2
3
3
5
.NET 1.0.NET 1.1.NET 2.0 3.0 3.5.NET 4.0 2002200320102005-08 CLR 1.0 CLR 1.1 CLR 2.0 CLR 4 SP1
6
Core Services Base Class Library Common Language Runtime Windows Workflow Foundation Managed Extensibility Framework Data Services Windows Communicatio n Foundation “Velocity” User Interface Windows Presentation Foundation ASP.NET (WebForms, MVC, Dynamic Data) Data Access Entity Framework LINQADO.NET Parallel Extensions WinForms LINQ to SQL Languages Dynamic Language Runtime
7
Network support and managed services
12
−Parallel Loop −Parallel LINQ (PLINQ) var q = from p in people where p.Name == queryInfo.Name && p.State == queryInfo.State orderby p.Year ascending select p; var q = from p in people where p.Name == queryInfo.Name && p.State == queryInfo.State orderby p.Year ascending select p; for(int a = 0; a < 16; a++) { Console.WriteLine("TID={0}, i={1}", Thread.CurrentThread.ManagedThreadId, a); SimulateProcessing(); } Parallel.For(0, 16, i => { Console.WriteLine("TID={0}, i={1}", Thread.CurrentThread.ManagedThreadId, a); SimulateProcessing(); ); });
13
Wely (wely_live@live.com) Microsoft MVP, Visual C# http://geeks.netindonesia.net/blogs/wely/
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.