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



Download 21,46 Mb.
Pdf ko'rish
bet1709/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1705   1706   1707   1708   1709   1710   1711   1712   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition



Note

In a later example, I’ll introduce you to a graphical configuration tool that allows you to author configura-

tion files in a less tedious manner.

In any case, before we build a client application to communicate with our service, let’s dig a bit

deeper into the role of the ServiceHost class type and  element as well as

the role of metadata exchange (MEX) services.



Details of the ServiceHost Type

The ServiceHost class type is used to configure and expose a WCF service from the hosting exe-

cutable. However, be aware that you will only make direct use of this type when building a custom

*.exe to host your services. If you are using IIS (or the Vista-specific WAS) to expose a service, the

ServiceHost object is created automatically on your behalf.

As you have seen, this type requires a complete service description, which is obtained dynami-

cally through the configuration settings of the host’s *.config file. While this happens automatically

upon object creation, it is possible to manually configure the state of your ServiceHost object using

a number of members. In addition to Open() and Close() (which communicate with your service in

a synchronous manner), Table 25-8 illustrates some further members of interest.

C H A P T E R   2 5  

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



891

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




Table 25-8.

Select Members of the ServiceHost Type


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1705   1706   1707   1708   1709   1710   1711   1712   ...   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