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

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

  • Upload
    delora

  • View
    52

  • Download
    0

Embed Size (px)

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 Presentation

Citation preview

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

.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
Page 3: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

Windows Communication Foundation

(WCF)

Page 4: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

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

Windows Presentation Foundation (WPF)

Page 7: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

Windows Workflow Foundation (WF)

Page 9: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

Windows CardSpace

Page 11: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

LINQLanguage Integrated Query

Page 13: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

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

Task Parallel

Page 16: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

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

That’s all. Folks.

Page 18: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

Edward Heyne

Page 19: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

Tim Reynolds

Page 20: NET 3.0, 3.5, 4.0 WCF, WPF, WF, CardSpace,  LINQ, Task Parallel

Project Presentation