Introducing wcf-slides
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Introducing wcf-slides

on

  • 525 views

 

Statistics

Views

Total Views
525
Views on SlideShare
525
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Introducing wcf-slides Presentation Transcript

  • 1.      
  • 2.
  • 3.
  • 4.
  • 5. 
  • 6.      
  • 7.    
  • 8. 
  • 9. 
  • 10. [DataContract] public class Invoice { [DataMember] public string CustomerId; [DataMember] public string InvoiceDate; [DataMember] public double Amount; ... } [ServiceContract] public interface IInvoiceService { [OperationContract] void SubmitInvoice(Invoice invoice); } public class InvoiceService : IInvoiceService { public void SubmitInvoice(Invoice invoice) { ... // implementation omitted } }
  • 11.  <configuration> <system.serviceModel> <services> <service name="InvoiceService"> <endpoint address="http://server/invoiceservice" binding="webHttpBinding" contract="IInvoiceService"/> <endpoint address="net.msmq://server/invoicequeue" binding="netMsmqBinding" contract="IInvoiceService"/> <endpoint address="net.tcp://server:8081/invoiceservice" binding="netTcpBinding" contract="IInvoiceService"/> </service> </services> </system.serviceModel> </configuration>
  • 12.    
  • 13. 
  • 14. 
  • 15.    
  • 16.  
  • 17.    
  • 18. 
  • 19.      
  • 20.      