WindowsCommunicationFoundation<br />Andriy Buday<br />http://andriybuday.com/<br />
Outline<br />A bit of democracy<br />Basics overview<br />Sessions and Instances<br />Transactional Services<br />Concurre...
Windows Communication Foundation<br />Unified framework for <br />rapidly building<br />service-oriented applications<br />
Endpoint<br />A<br />B<br />C<br />A<br />B<br />C<br />A<br />B<br />C<br />Client<br />Service<br />Endpoints<br />Messa...
Standard Bindings<br />
DEMO 1: Basics reminder…<br />Service Contract<br />Simplest Ever Service<br />Self-hosting<br />wcftestclient<br />Consol...
http://andriybuday.blogspot.com/<br />To be continued…<br />
Links<br />Book:<br />MCTS_Self_Paced_Training_Kit_70_503 .pdf<br />Great screencasts on WCF: http://msdn.microsoft.com/en...
Ask your questions!<br />
Visit Lviv .NET UG! Read blog! Follow me!<br />http://andriybuday.com/<br />@andriybuday<br />abuday@softserveinc.com<br /...
Upcoming SlideShare
Loading in …5
×

Windows Communication Foundation

833 views

Published on

by Andriy Buday

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
833
On SlideShare
0
From Embeds
0
Number of Embeds
35
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 1980s - Object Oriented1990s – Component Based (dynamic loading)2000s – Service Oriented (doing messages.. That is when we think about distributed envirountemnt)WCF – is unified framework for building service oriented applications.Windows Communication Framework – what the HECK does that mean? WCF, WPF, WF, Microsoft’s merry-go-round of acronyms seems to have experienced exponential growth with the releases of 3.0 and 3.5. Is it all just marketing hype? Fortunately, no!WCF was first released in 3.0, and lives in its most current form in 3.5. WCF puts a wide swath of .NET service technologies all under the same roof. Windows Communication Framework utilizes declarative and configuration-driven programming to enable you to define multiple endpoints against the same code. In a lot of ways, it is very much a hybrid of legacy ASMX, WSE, Web Service Enhancements and remoting all in one.Juval Lowy very rightly describes WCF as “plumbing,” and as “an SDK for developing and deploying services on Windows.”Replaces ASMX services.Web Services Enhancements (WSE) is an add-on to the Microsoft.NET Framework which includes a set of classes that implement additional WS-*Web servicespecifications chiefly in areas such as security, reliable messaging, and sending attachments. [1] Web Services are business logic components which provide functionality via the Internet using standard protocols such as HTTP. Web services communicate via either SOAP or REST messages. WSE provides extensions to the SOAP protocol and allows the definition of custom security, reliable messaging, policy, etc.All the COM+ services that are available today are available to .NET and COM objects. Some of these services include, transactions, object pooling and construction strings, JIT, synchronization, role-based security, CRM and BYOT.
  • TodoItemContentPriorityIsDoneDateTimeSentITodoServiceVoid SubmitTodo(TodoItem)List&lt;TodoItem&gt; GetTodoItems();Void RemoveTodo(string id);[ServiceBehaviour(… InstanceContextMode]TodoServiceEndpointChange first endpointTalk on Metadata endpointTalk on testing tool wcftestclientTime for me [13]
  • Windows Communication Foundation

    1. 1. WindowsCommunicationFoundation<br />Andriy Buday<br />http://andriybuday.com/<br />
    2. 2. Outline<br />A bit of democracy<br />Basics overview<br />Sessions and Instances<br />Transactional Services<br />Concurrency<br />Security<br />Instrumentation<br />What’s new in WCF 4.0<br />Most often troubles you might face using WCF<br />
    3. 3. Windows Communication Foundation<br />Unified framework for <br />rapidly building<br />service-oriented applications<br />
    4. 4. Endpoint<br />A<br />B<br />C<br />A<br />B<br />C<br />A<br />B<br />C<br />Client<br />Service<br />Endpoints<br />Message<br />Address<br />Binding<br />Contract<br />(Where)<br />(How)<br />(What)<br />
    5. 5. Standard Bindings<br />
    6. 6. DEMO 1: Basics reminder…<br />Service Contract<br />Simplest Ever Service<br />Self-hosting<br />wcftestclient<br />Console client<br />bonus “whatever you want”<br />Damn it! Let’s write some code!<br />
    7. 7. http://andriybuday.blogspot.com/<br />To be continued…<br />
    8. 8. Links<br />Book:<br />MCTS_Self_Paced_Training_Kit_70_503 .pdf<br />Great screencasts on WCF: http://msdn.microsoft.com/en-us/netframework/wcf-screencasts.aspx<br />Instancing: http://msdn.microsoft.com/en-us/magazine/cc163590.aspx<br />Transactions: http://msdn.microsoft.com/en-us/magazine/cc163432.aspx<br />Download WCF Examples:http://go.microsoft.com/fwlink/?LinkId=87352<br />
    9. 9. Ask your questions!<br />
    10. 10. Visit Lviv .NET UG! Read blog! Follow me!<br />http://andriybuday.com/<br />@andriybuday<br />abuday@softserveinc.com<br />http://dotnetug-lviv.blogspot.com/<br />

    ×