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


The Basic Composition of a WCF Application



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

The Basic Composition of a WCF Application

When you are building a WCF distributed system, you will typically do so by creating three interre-

lated assemblies:



The WCF Service assembly: This *.dll contains the classes and interfaces that represent the

overall functionality you are exposing to external callers.



The WCF Service host: This software module is the entity that hosts your WCF service assembly. 



The WCF client: This is the application that accesses the service’s functionality through an

intervening proxy.

As mentioned, the WCF service assembly is a .NET class library that contains a number of WCF

contracts and their implementations. The one key difference is that the interface contracts are

adorned with various attributes that control data type representation, how the WCF runtime inter-

acts with the exposed types, and so forth. 

The second assembly, the WCF host, can literally be any .NET executable. As you will see in this

chapter, WCF was set up in such a way that services can be easily exposed from any type of applica-

tion (Windows Forms, a Windows service, WPF applications, etc.). When you are building a custom

host, you will make use of the ServiceHost type and a related *.config file, which contains details

regarding the server-side plumbing you wish to make use of. However, if you are using IIS as the

host for your WCF service, there is no need to programmatically build a custom host, as IIS will

make use of the ServiceHost type behind the scenes. 


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1681   1682   1683   1684   1685   1686   1687   1688   ...   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