By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,738 Members | 1,730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,738 IT Pros & Developers. It's quick & easy.

WCF acting as Web Service without IIS

P: n/a
Reg
Hello,

Is it possible to create WCF Web Service that runs without IIS?
Any tips how to do it?

Cheers,

Reg
Aug 8 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Aug 8, 1:33 pm, "Reg" <r...@re.dot.netwrote:
Hello,

Is it possible to create WCF Web Service that runs without IIS?
Any tips how to do it?

Cheers,

Reg
Yes, WCF provides other options to host the web service under
something other than IIS. You could host it in a simple Console app,
windows app, windows service, etc. Here is an example on how to
create using a windows service.

http://msdn2.microsoft.com/en-us/library/ms733069.aspx

WCF also provides more flexibility in the transport and format, you
are not restricted to HTTP and SOAP XML. You can use TCP, binary,
etc.

I recommend the "Microsoft Windows Communication Foundation Step by
Step" book by John Sharp for good examples on all these items.

Ron

Aug 9 '07 #2

P: n/a
Reg
Thanks, for your reply. I managed to publish service hosted by Windows
Service.

One question is still in mind: How can I be sure that WCF component that
publish service method
uses SOAP?

Is it default or should it be declared somewhere?

Cheers,

Reg

<ro*************@yahoo.comwrote in message
news:11*********************@z24g2000prh.googlegro ups.com...
On Aug 8, 1:33 pm, "Reg" <r...@re.dot.netwrote:
>Hello,

Is it possible to create WCF Web Service that runs without IIS?
Any tips how to do it?

Cheers,

Reg

Yes, WCF provides other options to host the web service under
something other than IIS. You could host it in a simple Console app,
windows app, windows service, etc. Here is an example on how to
create using a windows service.

http://msdn2.microsoft.com/en-us/library/ms733069.aspx

WCF also provides more flexibility in the transport and format, you
are not restricted to HTTP and SOAP XML. You can use TCP, binary,
etc.

I recommend the "Microsoft Windows Communication Foundation Step by
Step" book by John Sharp for good examples on all these items.

Ron

Aug 9 '07 #3

P: n/a
On Aug 9, 11:18 am, "Reg" <r...@re.dot.netwrote:
Thanks, for your reply. I managed to publish service hosted by Windows
Service.

One question is still in mind: How can I be sure that WCF component that
publish service method
uses SOAP?

Is it default or should it be declared somewhere?

Cheers,

Reg

<ronscottlang...@yahoo.comwrote in message

news:11*********************@z24g2000prh.googlegro ups.com...
On Aug 8, 1:33 pm, "Reg" <r...@re.dot.netwrote:
Hello,
Is it possible to create WCF Web Service that runs without IIS?
Any tips how to do it?
Cheers,
Reg
Yes, WCF provides other options to host the web service under
something other than IIS. You could host it in a simple Console app,
windows app, windows service, etc. Here is an example on how to
create using a windows service.
http://msdn2.microsoft.com/en-us/library/ms733069.aspx
WCF also provides more flexibility in the transport and format, you
are not restricted to HTTP and SOAP XML. You can use TCP, binary,
etc.
I recommend the "Microsoft Windows Communication Foundation Step by
Step" book by John Sharp for good examples on all these items.
Ron
It depends on the binding that you are using. Are you using
basicHttp, basicWsHttp, netTcp, etc? The HTTP bindings default SOAP
XML, while the tcp and others I believe will all default to binary
encoding. If needing something other than the default, the
web.config file can be edited to fine tune and modify, but the client
will also need the same changes to be compatible.

Ron

Aug 10 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.