Your SlideShare is downloading. ×
0
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
實戰Wcf
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

202

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
202
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
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. 流浪小風2012.5.24
  • 2. 什麼是WCF? Window Communication Foundation A solution for developers to work in distributing environment. make communication between applications. a framework for developing, configuring, exposing, and hosting services. a combination of SOAP and web service.
  • 3. Why WCF? Integration Security Reliable Transaction Extensible Strong Type Flexible
  • 4. Cross Platform -4-
  • 5. WCF三要素 A C B -5-
  • 6. A stands for Address Address tells us where to find the services  http://servicehost/service  net.tcp:// servicehost/service
  • 7. B stands for Binding Bindings tells us how to find the services or using which protocols finds the services  HTTP  TCP  NamedPipe  Peer2Peer  MSMQ
  • 8. C stands for Contract Contracts are an agreement between the consumer and the service providers that explains what parameters the service expects and what return values it gives.
  • 9.  A stands for Address B stands for Binding C stands for Contract -9-
  • 10. Demo Create a simple wcf service  Class Library with Service Contract Attribute  Hosting
  • 11. Hosting Options Self-hosting in any managed .NET application Hosting in a Windows service Hosting in different versions of IIS - 11 -
  • 12. Demo Web Hosting (svc) Self-hosting
  • 13. What can WCF do? Not only a Web Service Communication between applications Website and APs
  • 14. Demo A website monitor portal to see process percentage in console.
  • 15. Instance Mode PerCall PerSession Single
  • 16. Duplex Service Not long polling Push from server to client
  • 17. Demo One way request Server push data when process finish
  • 18. More Map Service (picture download) Server-Client Ap Use website to control AP
  • 19. Q&A

×