net 3.0, 3.5, 4.0 wcf, wpf, wf, cardspace, linq, task parallel
DESCRIPTION
.NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel. Windows Communication Foundation ( WCF ). WCF : Windows Communication Foundation. For distributed applications . Using service oriented architecture (SOA). - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/1.jpg)
.NET 3.0, 3.5, 4.0
WCF, WPF, WF, CardSpace, LINQ,
Task Parallel
![Page 2: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/2.jpg)
![Page 3: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/3.jpg)
Windows Communication Foundation
(WCF)
![Page 4: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/4.jpg)
WCF: Windows Communication Foundation
• For distributed applications.• Using service oriented architecture (SOA).• Clients can consume multiple services; Services can be consumed by
multiple clients. (M:M)• Services have WSDL interface.• WCF examples: WSS (Web Services Security, extension to SOAP to
apply security to web services), WS-Discovery (Web Services Dynamic Discovery, a multicast discovery protocol to locate services),
![Page 5: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/5.jpg)
WCF: Windows Communication Foundation
• Endpoints: client connects to a WCF service at an Endpoint, each service exposes its contract via endpoints.
• End point ABC: address, binding, contract• WCF endpoints use SOAP envelope to communicate with clients
(for platform independence).• Behaviors allow the developer to customize how the
messages are handled.
![Page 6: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/6.jpg)
Windows Presentation Foundation (WPF)
![Page 7: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/7.jpg)
WPF: Windows Presentation Foundation
• Graphical subsystem.• Based on DirectX• 2D and 3D graphics, vector graphics and animation• Remote or standalone• Safe remote view with IE.• Uses XAML to define UI elements.• XAML: eXtensible Application Markup Language
![Page 8: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/8.jpg)
Windows Workflow Foundation (WF)
![Page 9: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/9.jpg)
WF: Windows Workflow Foundation
• Workflow: a series of distinct programming steps.• An activity at each step.• Workflow Designer in Visual Studio.• Workflow engine: scheduling, managing, tracking workflows.• To create applications that execute an ordered business
process (UA curriculum proposal approval system).
![Page 10: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/10.jpg)
Windows CardSpace
![Page 11: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/11.jpg)
Windows CardSpace
• Identification metasystem.• Resistance to phishing attacks• Follow the “7 laws of identity” (User Control and Consent,
Minimal Disclosure for a Constrained Use, Justifiable Parties, Directed Identity, Pluralism of Operators and Technologies, Human Integration, Consistent Experience Across Contexts)
• To be replaced by U-Prove.
![Page 12: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/12.jpg)
LINQLanguage Integrated Query
![Page 13: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/13.jpg)
Embedded SQL in C# as strings
StringBuilder builder = new StringBuilder (); builder.Append ("select count(*) from users " + "where username = \'"); builder.Append (username); builder.Append ("\' and pwd = \'"); builder.Append (password); builder.Append ("\';"); MySqlCommand command = new MySqlCommand (builder.ToString (), connection);
Int64 count = (Int64) command.ExecuteScalar ();
![Page 14: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/14.jpg)
LINQ: Language Integrated Query
var results = from c in SomeCollection where c.SomeProperty < 10 select new {c.SomeProperty};
foreach (var result in results) Console.WriteLine(result);
![Page 15: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/15.jpg)
Task Parallel
![Page 16: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/16.jpg)
Parallel Extensions
• Managed concurrency library• TPL: Task Parallel Library• PLINQ: Parallel LINQ• Multithreading based.• Take advantages of muti-core (Intel) and many core (Nvidia GPU)
![Page 17: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/17.jpg)
That’s all. Folks.
![Page 18: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/18.jpg)
Edward Heyne
![Page 19: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/19.jpg)
Tim Reynolds
![Page 20: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel](https://reader035.vdocuments.us/reader035/viewer/2022062501/56815db7550346895dcbe618/html5/thumbnails/20.jpg)
Project Presentation