Presentation is loading. Please wait.

Presentation is loading. Please wait.

.NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel.

Similar presentations


Presentation on theme: ".NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel."— Presentation transcript:

1 .NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel

2

3 Windows Communication Foundation (WCF)

4 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),

5 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.

6 Windows Presentation Foundation (WPF)

7 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

8 Windows Workflow Foundation (WF)

9 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).

10 Windows CardSpace

11 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.

12 LINQ Language Integrated Query

13 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 ();

14 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);

15 Task Parallel

16 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)

17 That’s all. Folks.

18 Edward Heyne

19 Tim Reynolds

20 Project Presentation


Download ppt ".NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace, LINQ, Task Parallel."

Similar presentations


Ads by Google