Your SlideShare is downloading. ×
WCF Training
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

WCF Training

1,774
views

Published on

http://www.intertech.com/Courses/Course.aspx?CourseID=99331 …

http://www.intertech.com/Courses/Course.aspx?CourseID=99331

This slide deck is on WCF and was part of Intertech's DevBlitz event.

Published in: Technology

0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,774
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Denny Boynton Architect Development & Platform Evangelism Microsoft Corporation • Overview of WCF – “ What is it for?” • How does WCF work? • The Three Pillars of WCF: • Productivity • Interoperability • Service-Orientation • The Bigger Picture Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 2
  • 2. • Interoperability and Integration • Secure, reliable, transacted messaging • Decoupled , dynamic applications Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 3 “How do I build service-oriented systems?” “How do I build “How can I send dynamic, decoupled messages securely & applications?” reliably?” “What API should I use?” Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 4
  • 3. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 5 Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 6
  • 4. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 7 [DataContract(Name=“ProspectiveDeal”,Namespace=“WoodgroveBank”)] public class Deal { [DataMember(Name=“StockSymbols”)] public string[] Symbols; [DataMember(Name=“Date”)] private DateTime When{ get{return this.when;}} } [DataContract(Name=“DealAnalysis”,Namespace=“WoodgroveBank”)] public class Analysis { [DataMember] public decimal Value; [DataMember] public decimal RiskFactor; } [ServiceContract(Name=“DealService”,Namespace=“WoodgroveBank”)] public interface IDeal { [OperationContract(Name=“Analyze”)] Analysis AnalyzeDeal(Deal dealToAnalyze); [OperationContract(Name=“Execute”,IsOneWay=true)] void ExecuteDeal(Deal dealToExecute) } Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 8
  • 5. public class DealAnalyzer: IDeal { Analysis IDeal.AnalyzeDeal(Deal dealToAnalyze) { … return Analysis; } void IDeal.ExecuteDeal(Deal dealToExecute) { … return; } } Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 9 public class Program { static void Main(string[] args) { using (ServiceHost host = ServiceHost(typeof(DealAnalyzer))) { host.Open(); Console.WriteLine(“The service is running.quot;); Console.ReadLine(); } finally { host.Close(); } } } Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 10
  • 6. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 11 INTEROPERABILITY PRODUCTIVITY SERVICE-ORIENTED DEVELOPMENT • Broad Support for • Unifies today’s • Enables development WS-* specifications distributed technologies of loosely-coupled services • Compatible with • Attribute-based existing MS distributed development • Config-based application communication • Visual Studio 2005 technologies integration Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 12
  • 7. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 13 .NET ASMX Remoting Interop Extensibility with other Location platforms transparency Attribute- Message- Based Oriented Programming WS-* Programming Protocol Enterprise Support System.Messaging Services WSE Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 14
  • 8. • WCF extends the .NET Framework • Services are built in Visual Studio 2005 using any .NET programming language Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 15 VB C# C++ J# … Visual Studio 2005 Windows Compact Console & ASP.NET SQL Server Forms Framework NT Service Presentation Data Communication WCF Base App Deployment & Services Security Configuration Management Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 16
  • 9. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 17 Reliable Transactions Metadata Security Messaging Messaging XML Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 18
  • 10. SIDE-BY-SIDE UPGRADE Interop Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 19 Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 20
  • 11. 1980s 1990s 2000s Object-Oriented Component-Oriented Service-Oriented Polymorphism Location Transparent Message-based Encapsulation Tight Coupling Schema+Contract+Policy Subclassing Runtime Metadata Broad Interop Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 21 Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 22
  • 12. Function-oriented Business Drivers Process-oriented Built to last Agility Built for change Prolonged Incrementally built & development cycles Adaptability deployed Tightly coupled Loosely coupled Application silos TCO Connected Systems Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 23 Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 24
  • 13. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 25 Windows CardSpace Windows Presentation Foundation • Streamlines user registration and one-click login • Vector-based • Mitigates common attack vectors (Phishing) • Seamless integration with WCF • Resolution independent • Rich media • 3D user interfaces Windows Workflow Foundation Windows Communication Foundation • Secure Web services • Engine built into platform • Reliable transacted distributed apps • System and human workflow • Interoperability with WS-* protocols • Composite apps • Any transport and any host Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 26
  • 14. Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 27 Windows Vista introduces breakthroughs in user experience, security and reliability, enabling you to build applications that bring clarity to the user's complex world of information. • Down-level support on Windows XP and Windows Server 2003 • Consistent development experience • Optimizations for Vista Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 28
  • 15. WCF WF API for building Tools and engine secure, reliable for building interoperable services workflow-enable apps Application to application and B2B integration Connects multiple services built with WCF Adapters to multiple products like SAP and MQSeries Business activity monitoring Vertical solutions and industry accelerators Message transformation services Enterprise single sign-on End-to-end health and activity tracking And more… Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 29 • Start writing applications with Visual Studio 2005 • Download and evaluate the .NET Framework 2.0 • Give us your feedback! Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 30
  • 16. • WCF @ WinFX.com http://wcf.netfx3.com/ • WCF Forums on MSDN • WCF Reference http://msdn2.microsoft.com/en- us/library/ms735119.aspx Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 31 Copyright © Intertech, Inc. 2007 • www.Intertech.com • 800-866-9884 • Slide 32