This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


■ I N T R O D U C I N G  W I N D O W S   C O M M U N I C AT I O N   F O U N D AT I O N 879



Download 21,46 Mb.
Pdf ko'rish
bet1687/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1683   1684   1685   1686   1687   1688   1689   1690   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

I N T R O D U C I N G  W I N D O W S   C O M M U N I C AT I O N   F O U N D AT I O N



879

8849CH25.qxd  10/16/07  10:51 AM  Page 879




plumbing (endpoints, binding, addresses, etc.). The obvious problem with this approach is that if

you need to change the plumbing details, you will be required to recode, recompile, and redeploy a

number of assemblies. Using a *.config file keeps your code base much more flexible, as changing

the plumbing is as simple as updating the file’s content and restarting the application.



The ABCs of WCF

Hosts and clients communicate with each other by agreeing on the ABCs, a friendly mnemonic for

remembering the core building blocks of a WCF application, specifically 

addressbinding, and

contract.



Address: The location of the service. In code, this is represented with a System.Uri type;

however, the value is typically stored in *.config files.



Binding: WCF ships with a number of different bindings that specify network protocols,

encoding mechanisms, and the transport layer.

• Contract: A description of each method exposed from the WCF service.

Do understand that the ABC abbreviation does not imply that a developer must define the

address first, followed by binding, and ending with the contract. In many cases, a WCF developer

begins by defining a contract for the service, followed by establishing an address and bindings (but

any order will do, so long as each aspect is accounted for). Before we build our first WCF applica-

tion, here is a more detailed walk-through of the ABCs.


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1683   1684   1685   1686   1687   1688   1689   1690   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish