A *.svc file on the WCF host server has following declaration:
《 %@ ServiceHost Service="SilverService" Debug="true" % 》
Service "SilverService" is also defined in the web.config file "system.serviceModel"-"services" section. Usually it's a name extracted from a DLL class.
"SilverService" is the name of the service, and the service needs to define an EndPoint which has ABC(Address, Binding,Contract)
Contract points to the Interface of a service.
Subscribe to:
Post Comments (Atom)
Blog Archive
- June (1)
- April (2)
- April (1)
- August (1)
- April (1)
- March (1)
- February (1)
- March (1)
- February (2)
- August (1)
- April (1)
- March (1)
- February (2)
- November (3)
- September (1)
- August (1)
- June (1)
- April (1)
- March (1)
- February (5)
- January (1)
- August (1)
- July (1)
- January (2)
- August (1)
- June (1)
- March (4)
- February (3)
- January (3)
No comments:
Post a Comment