Hosting WCF on IIS

G

GaryDean

(this is also posted in the iis forum)
Is there any good instruction anywhere on how to (1) host WCF services in
IIS 6 on server 2003 and (2) how to host WCF services un IIS7 on Vista
Ultimate? I have three WCF books which all touch on the topic but none
really tell how. I found what looked like a good article by Sauk Malik on
hosting in Server 2008 and he says that WCF and IIS7 don't work together
OOTB.

I have googled everywhere and it seems nobody is really using WCF. There is
a forum on XML Web Services at http://forums.asp.net/28.aspx but nobody
seems to answer anything there. I understand that there is no WCF forum
anywhere. Is WCF smelling like another DCOM?
regards,
Gary
 
S

Steven Cheng

Hi Gary,

As for hosting WCF in IIS, generally, the WCF side configuration hasn't
much difference, the main difference (from self host) is that you do not
need to manually create and start the host instance as IIS process help do
it based on client request and the endpoint address is also coupled with
the svc file address. For IIS side, basic setting only require you to
configure the IIS virtual directory's .NET framework version and (the
corresponding WCF endpoint file extension mapping ) correctly, that's
enough.

Here are some web articles introducing hosting WCF in IIS:

#Deploying an Internet Information Services-Hosted WCF Service
http://msdn.microsoft.com/en-us/library/aa751792.aspx

#Configuring WCF and IIS 7 With HTTP Bindings and Multiple Host Headers
http://keithelder.net/blog/archive/2008/04/28/Configuring-WCF-and-IIS-7-With
-HTTP-Bindings-and-Multiple.aspx

#Host a WCF Service in IIS 7 & Windows 2008 - The right way
http://blah.winsmarts.com/2008-4-Host_a_WCF_Service_in_IIS_7_-and-amp;_Windo
ws_2008_-_The_right_way.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top