473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

WCF acting as Web Service without IIS

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
3 15273
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Don | last post by:
I have MSSQL2k SP3a on WIN2k SP4. moved a Date/log files to this server about a week ago from a SQL7 server and attached it to this new Sql2k server. everything works fine for about 24hrs and...
2
by: Lee Schipper | last post by:
Is it possible to create a single .EXE that can be launched either as a service or as a standard application (with configuration screens, status windows, etc...)? I have an existing program that...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
6
by: Kenneth Moss | last post by:
I have a web service I am calling which I made. I am consuming this service from another domain (and I've tried from a windows app also). I added a certificate to the web service so it will use...
3
by: lk | last post by:
I need some help regarding the mechanism to put in place to be able to dynamically update a remote object when the assembly where it is defined is modified, and this whitout having service...
2
by: Rahul | last post by:
Hey Guys Just go easy on me . I have an abstract class which is pure is a kind of asmx. I know the answer that I am asking but still need somebody's advice. Since it's an abstract class, the...
15
by: Joseph Geretz | last post by:
I'm a bit puzzled by the current recommendation not to send Datasets or Datatables between application tiers. http://support.microsoft.com/kb/306134 ...
1
by: Dave Evans | last post by:
I have a number of remotable DLLs, which are hosted by a Windows Service. The Windows Service simply registers the remotable DLLs using RemotingConfiguration.Configure. The configuration file is as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.